range_in_vma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… range_in_vma(9) β€” the β€œis this range even in this VMA?” vibe check ✨

okay so bestie, we’re in the Kernel API Manual (section 9), and this one is range_in_vma(9). The whole mood? β€œis the specified [@start, @end) range a subset of the VMA?” It’s giving tiny but mighty. No cap. 🫢


🌸 NAME 🌸

range_in_vma β€” is the specified [@start, @end) range a subset of the VMA? πŸ’–

✨ SYNOPSIS ✨

okay, here’s the exact signature, bestie β€” copy it, don’t fumble it:

       bool range_in_vma (const struct vm_area_struct *vma , unsigned long
       start , unsigned long end );

πŸŽ€ ARGUMENTS πŸŽ€

  • vma β€” the VMA against which we want to check [start, end). she’s the main character here. πŸ‘‘
  • start β€” the start of the range we wish to check. like, where the range begins. 🌸
  • end β€” the exclusive end of the range we wish to check. yes, exclusive β€” she does not include herself. πŸ’…

πŸ’– RETURN πŸ’–

true if [start, end) is a subset of [vma->vm_start, vma->vm_end), false otherwise. that’s the tea. β˜•βœ¨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./include/linux/mm.h

lowkey the whole group chat:

mwah πŸ’‹ β€” this page is from the Kernel API Manual, source ./include/linux, dated October 2026. periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from