vmap_pfn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ vmap_pfn(9) πŸ¦‹

okay bestie, this page is straight out of the Kernel API Manual, and it’s giving β€œmap an array of PFNs into virtually contiguous space” energy ✨

🌸 NAME 🌸

vmap_pfn β€” map an array of PFNs into virtually contiguous space πŸ’…

✨ SYNOPSIS ✨

void * vmap_pfn (unsigned long *pfns , unsigned int count , pgprot_t
       prot );

πŸŽ€ ARGUMENTS πŸŽ€

  • pfns β€” array of PFNs
  • count β€” number of pages to map
  • prot β€” page protection for the mapping

πŸ’– DESCRIPTION πŸ’–

okay so here’s the tea: vmap_pfn() maps count PFNs from pfns into contiguous kernel virtual space, and returns the start address of the mapping. slay. 🫢

🌈 SEE ALSO 🌈

Kernel file ./mm/vmalloc.c β€” and the whole SEE ALSO friend group is literally right here:


and that’s the page, bestie! πŸ’… source/version ./mm, dated October 2026, serving vmap_pfn(9) energy β€” periodt. πŸ¦‹

πŸ“¦ where this page comes from