xdr_inline_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xdr_inline_pages(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's main character is xdr_inline_pages, and honestly? she's the one who sets up the vibe before the big reply even shows up πŸ‘‘


🌸 NAME 🌸

xdr_inline_pages β€” prep the receive buffer so a large reply has somewhere cute to land πŸŽ€


✨ SYNOPSIS ✨

void xdr_inline_pages (struct xdr_buf *xdr , unsigned int offset ,
       struct page **pages , unsigned int base , unsigned int len );

no cap, that's the whole signature β€” she takes it and she returns void (iconic, unbothered, gives nothing back πŸ’…).


πŸ¦‹ ARGUMENTS πŸ¦‹

  • xdr β€” the xdr_buf that's gonna get the reply dropped into it. the vessel. the destination. the moment. πŸ’–
  • offset β€” the expected offset (in bytes, always bytes) where the data payload kicks off. like, where the actual content starts. lowkey important 🫢
  • pages β€” a vector of struct page pointers. yes, the whole squad, all lined up 🌈
  • base β€” offset inside the first page where the receive should begin, measured in bytes. yes, in bytes. bestie the manpage says it twice for a reason 😭
  • len β€” the expected size of the upper layer data payload, in bytes. that's how much room we're reserving for the queen's entrance πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

the manpage literally points at the kernel file ./net/sunrpc/xdr.c β€” go read it, iykyk 🧚 and then there's the whole extended friend group, fr fr:

like, that's the whole group chat and every single one of them has their own manpage. go say hi πŸ’œ


ok that's the whole page bestie, no filler, no skipped sections, we ate and left zero crumbs πŸ“

this cutie lives under ./net/sunrpc, dated October 2026, and she answers to xdr_inline_pages(9) β€” mwah, periodt πŸ’…πŸ’–

πŸ“¦ where this page comes from