nfs_page_create_from_folio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 NAME 🌈

nfs_page_create_from_folio(9) β€” create an NFS read/write request. Bestie, it's giving request-creation energy. ✨

Okay so this is the nfs_page_create_from_folio(9) page from the Kernel API Manual. Let's get into it, iykyk. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

struct nfs_page * nfs_page_create_from_folio (struct nfs_open_context
       *ctx , struct folio *folio , unsigned int offset , unsigned int count );

πŸŽ€ ARGUMENTS πŸŽ€

  • ctx β€” open context to use. Your context, your vibe.
  • folio β€” folio to write. Yes, that folio.
  • offset β€” starting offset within the folio for the write. Precision, periodt.
  • count β€” number of bytes to read/write. How many bytes we're moving.

πŸ’… DESCRIPTION πŸ’…

The page must be locked by the caller. This makes sure we never create two different requests for the same page. No duplicates, no chaos, we love to see it. πŸ’…

User should ensure it is safe to sleep in this function. Like, check that before you snooze, bestie. 😭

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./fs/nfs/pagelist.c β€” plus the whole crew:


That's the whole page, bestie. Source/version: ./fs/nfs; date: October 2026; and yes, this icon is nfs_page_create_from_folio(9). πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from