xprt_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xprt_get(9) β€” the Kernel API Manual, but make it make sense

okay so bestie, welcome to the <pink>Kernel API Manual</pink> ✨ this one's called xprt_get(9) and it's short, sweet, and honestly kind of a baddie for it. No cap, we're in and out. πŸŽ€


🌸 NAME 🌸

xprt_get β€” return a reference to an RPC transport.

literally that's the whole job. she shows up, hands you a reference to an RPC transport, leaves. iconic behavior honestly πŸ’…


✨ SYNOPSIS ✨

struct rpc_xprt * xprt_get (struct rpc_xprt *xprt );

look at that return type. struct rpc_xprt * on the left, function named xprt_get, and one single argument in the parentheses. tidy. clean. the way that it's formatted EXACTLY like this and you should copy it exactly like this 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • xprt β€” pointer to the transport πŸ’« yeah that's it. one (1) argument. she's low maintenance, she's struct rpc_xprt *, she's the whole personality of this function.
reminder bestie: the funny formatting β€” the space before that closing paren in xprt_get (struct rpc_xprt *xprt ); β€” that's on purpose. keep it. don't "fix" it, i'm begging 😭

🌈 SEE ALSO 🌈

so this is the part where the page absolutely goes OFF and lists basically the entire sunrpc friend group 😀 all of these live in the kernel file ./net/sunrpc/xprt.c:

that's 46 whole references babes. i listed every single one. iykyk 🧚


and that's the page!! short manpage, big energy. go read the source file, it's all in there πŸ¦‹

β€” signed off with love from the <lavender>./net/sunrpc</lavender> source tree, <mint>October 2026</mint> edition, <pink>xprt_get(9)</pink> era πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from