find_vma_intersection(9)
π find_vma_intersection(9) π
okay bestie, welcome to the Kernel API Manual page for find_vma_intersection β it's giving βlook up the first VMA which intersects the intervalβ energy, and honestly? iconic. π¦
πΈ NAME πΈ
find_vma_intersection β look up the first VMA which intersects the interval. periodt. π
β¨ SYNOPSIS β¨
struct vm_area_struct * find_vma_intersection (struct mm_struct *mm , unsigned long start_addr , unsigned long end_addr );
π ARGUMENTS π
mmβ the process address space. that's the whole vibe. π«Άstart_addrβ the inclusive start user address. it's included, bestie. πend_addrβ the exclusive end user address. not included, no cap. π
π₯ RETURN π₯
the first VMA within the provided range, and NULL otherwise. literally that simple. β¨
heads up: this assumes start_addr < end_addr. keep that in mind, okay? π
π¦ SEE ALSO π¦
Kernel file ./mm/mmap.c β plus the squad: do_mmap(9), find_vma(9), and find_vma_prev(9). go read those too, iykyk. π
mwah π this little page comes from ./mm, dated October 2026, and it's literally the find_vma_intersection(9) era. bye bestie, slay your VMA lookup ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms