softleaf_to_pfn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ softleaf_to_pfn(9) β€” the Kernel API Manual, bestie edition ✨

okay so picture this: you're deep in ./include/linux/leafops.h land (that's the Kernel file, πŸ’…) and you've got yourself a leaf entry. this little function right here is the one that pulls the PFN out of it. literally that simple. no cap.


🌸 SYNOPSIS 🌸

unsigned long softleaf_to_pfn (softleaf_t entry );

πŸŽ€ ARGUMENTS πŸŽ€

  • entry β€” the leaf entry you're decoding, queen. ⚠️ but heads up: softleaf_has_pfn(entry) must return true. like, that's non-negotiable. check it first, bestie, fr fr.

πŸ‘‘ RETURN πŸ‘‘

the PFN associated with the leaf entry. that's it, that's the whole vibe. ✨


πŸ”₯ SEE ALSO πŸ”₯

the whole squad, gathered in ./include/linux/leafops.h β€” go say hi to all of them:


mwah πŸ’œ that's the whole page, my love β€” this one lives over in ./include/linux and it's dated October 2026, so mark your calendar bestie, and go get that PFN. 🫢

πŸ“¦ where this page comes from