vma_last_anon_pgoff(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Okay so this is vma_last_anon_pgoff(9) from the Kernel API Manual, and it is literally the function that gets you the anonymous page offset of the last page in @vma. That’s the whole assignment, bestie πŸ’…


✨ SYNOPSIS ✨

pgoff_t vma_last_anon_pgoff (const struct vm_area_struct *vma );

πŸ’… ARGUMENTS πŸ’…

  • vma β€” the VMA whose last anonymous page offset is required. Yes, that VMA right there 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

For the full rundown on VMA anonymous page offsets, go read the description of vma_start_anon_pgoff β€” that’s where the lore lives, iykyk ✨


🌸 RETURN 🌸

It returns the last anonymous page offset of vma. That’s it, that’s the tea πŸ’–


🌈 SEE ALSO 🌈

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


Okay bye bestie β€” source/version ./include/linux, dated October 2026. Stay slaying those page offsets πŸ’‹βœ¨

πŸ“¦ where this page comes from