folio_file_pfn(9)
β¨ folio_file_pfn β Kernel API Manual, bestie edition β¨
okay so welcome to the Kernel API Manual, page folio_file_pfn(9). This one is short, sweet, and fully main-character β letβs get into it π
πΈ NAME πΈ
folio_file_pfn β like folio_file_page, but return a pfn. no cap, thatβs the whole name vibe π
π¦ SYNOPSIS π¦
kvm_pfn_t folio_file_pfn (struct folio *folio , pgoff_t index );
the way this signature just sits there being all kvm_pfn_t and iconic β we love to see it π
π ARGUMENTS π
folioβ the folio which contains this index. literally the folio holding the index youβre asking about, bestie.indexβ the index we want to look up. the specific one youβre hunting for π
π₯ RETURN π₯
The pfn for this index. thatβs the return value, periodt β it gives you back the pfn for this index and thatβs it π
π SEE ALSO π
- Kernel file
./virt/kvm/guest_memfd.cβ go peek if you want the neighborhood lore, iykyk π«Ά
kisses and sparkles from the ./virt/kvm source corner, October 2026 edition, page folio_file_pfn(9) β bye bestie π«Άπ
π¦ 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