xdr_finish_decode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xdr_finish_decode(9) β€” from the Kernel API Manual, bestie πŸŽ€

Okay so like, welcome to the <pink>Kernel API Manual</pink> ✨ and today's main character is xdr_finish_decode β€” yes it's a <purple>(9)</purple> page, that's the kernel section, iykyk 🧚


🌸 NAME 🌸

xdr_finish_decode β€” the little cleanup crew that tidies up your xdr_stream after you've decoded your data 🫧✨

Literal vibe: you decoded stuff, now you're done, and somebody's gotta put the furniture back. That somebody is this function. <mint>obsessed.</mint>


πŸ¦‹ SYNOPSIS πŸ¦‹

void xdr_finish_decode (struct xdr_stream *xdr );

That's it. That's the whole signature. <cyan>void</cyan> return, one arg, no drama πŸ’…


πŸ“ ARGUMENTS πŸ“

  • xdr β€” pointer to <lavender>xdr_stream</lavender> struct πŸ”₯ Yes bestie, just a pointer. That's the whole ask. Hand me the stream and I'll handle the rest ✨

πŸ‘‘ SEE ALSO πŸ‘‘

Okay so this is the part where the page absolutely <hotpink>ATE</hotpink> β€” the kernel file <yellow>./net/sunrpc/xdr.c</yellow> is like the group chat headquarters and literally every sibling function is tagged in here πŸ˜­πŸ’€ Behold, the full friend list, no cap, every single one:

Note bestie: those leading-underscore ones (_shift_data_left_pages, _shift_data_right_pages, _copy_to_pages, _copy_from_pages) and the double-underscore __xdr_commit_encode are written <red>exactly</red> like that β€” copy them character for character, don't "clean them up" πŸ™ˆ

<rainbow>and that's the whole page, periodt πŸ’–</rainbow>

Signed off with love from <purple>./net/sunrpc</purple> 🌈, dated <peach>October 2026</peach> πŸŽ€ β€” xoxo, your resident kernel-fluent bestie, slay πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from