xdr_shrink_bufhead(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

This is xdr_shrink_bufhead from the Kernel API Manual, section (9), bestie. The name line is literally xdr_shrink_bufhead - with nothing after the dash β€” that’s it, that’s the whole name entry, and honestly? iconic minimalism. πŸ’…


✨ SYNOPSIS ✨

Here’s the exact signature, no edits, no vibes-only paraphrase:

unsigned int xdr_shrink_bufhead (struct xdr_buf *buf , unsigned int len
       );

πŸŽ€ ARGUMENTS πŸŽ€

  • buf β€” an xdr_buf, aka the buffer we’re working with.
  • len β€” the new length of buf->head[0]. That’s the assignment, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this function shrinks the XDR buffer’s header kvec, buf->head[0]. It sets it to moved into the inlined pages and/or the tail. That β€œsetting it to moved into” phrasing is literally what the page says β€” don’t come for me, I’m just delivering the facts with better lighting. 😭✨


πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./net/sunrpc/xdr.c β€” yes, that exact path, no cap.

The whole squad of (9) references, all present and accounted for:


and that’s the page, bestie πŸ«ΆπŸ’– β€” source/version ./net/sunrpc, dated October 2026, from the Kernel API Manual.

πŸ“¦ where this page comes from