nfs_page_to_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ nfs_page_to_page(9) πŸ¦‹

okay so welcome to this Kernel API Manual page for nfs_page_to_page(9), bestie β€” it’s giving β€œtiny helper, very specific job,” and we’re gonna get into it πŸ’…


🌸 NAME 🌸

nfs_page_to_page β€” Retrieve a struct page for the request


✨ SYNOPSIS ✨

struct page * nfs_page_to_page (const struct nfs_page *req , size_t
       pgbase );

πŸŽ€ ARGUMENTS πŸŽ€

  • req β€” pointer to a struct nfs_page. yep, it’s a pointer, not the whole struct, we love that for us 🫢
  • pgbase β€” folio byte offset. literally the byte offset inside the folio, iykyk ✨

πŸ’– DESCRIPTION πŸ’–

Return the page containing the byte that is at offset pgbase relative to the start of the folio. that’s the whole vibe: you give it the offset, it hands you back the page that has that byte πŸ”₯


πŸ¦‹ NOTE πŸ¦‹

The request starts at offset req->wb_pgbase. tiny detail, but bestie, do not forget it 😭

🌈 SEE ALSO 🌈

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


and that’s the page, periodt πŸ’– this lil entry comes from ./include/linux, dated October 2026, and nfs_page_to_page(9) is signing off β€” slay, bye bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from