rpc_prepare_reply_pages(9)
πΈ 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 ofstruct pagepointers. 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:
rpc_create(9)rpc_clone_client(9)rpc_clone_client_set_auth(9)rpc_switch_client_transport(9)rpc_clnt_iterate_for_each_xprt(9)rpc_cancel_tasks(9)rpc_hold_client(9)rpc_release_client(9)rpc_bind_new_program(9)rpc_run_task(9)rpc_call_sync(9)rpc_call_async(9)rpc_run_bc_task(9)rpc_peeraddr(9)rpc_peeraddr2str(9)rpc_localaddr(9)rpc_net_ns(9)rpc_max_payload(9)rpc_max_bc_payload(9)rpc_force_rebind(9)rpc_clnt_test_and_add_xprt(9)rpc_clnt_setup_test_and_add_xprt(9)rpc_clnt_add_xprt(9)
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
- 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