rpc_prepare_reply_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 rpc_prepare_reply_pages(9) 🌸

okay bestie, welcome to the Kernel API Manual page for rpc_prepare_reply_pages(9) πŸ’– this one is short and sweet, and it's literally all about getting ready to receive a reply data payload into pages. slay.


πŸŽ€ NAME πŸŽ€

rpc_prepare_reply_pages β€” Prepare to receive a reply data payload into pages


✨ SYNOPSIS ✨

void rpc_prepare_reply_pages (struct rpc_rqst *req , struct page **pages
       , unsigned int base , unsigned int len , unsigned int hdrsize );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • req β€” RPC request to prepare. this is the request bestie is setting up πŸ’…
  • pages β€” vector of struct page pointers. the page squad that the reply payload is headed into 🫢
  • base β€” offset in first page where receive should start, in bytes. yes, bytes, keep that in mind ✨
  • len β€” expected size of the upper layer data payload, in bytes. the payload's expected size, periodt πŸ“
  • hdrsize β€” expected size of upper layer reply header, in XDR words. note the unit: XDR words, not bytes, iykyk πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./net/sunrpc/clnt.c is where this lives, and here are all the related besties:


xoxo, this page's source/version is ./net/sunrpc, dated October 2026, signing off from rpc_prepare_reply_pages(9) πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from