xprt_rdma_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xprt_rdma_free πŸ’…

okay so bestie, welcome to the Kernel API Manual entry for xprt_rdma_free β€” yes it's a (9) page, yes it's the kernel section, no we're not scared 🫢


🌸 NAME 🌸

xprt_rdma_free β€” release resources allocated by xprt_rdma_allocate πŸŽ€

like, it's the cleanup girlie. xprt_rdma_allocate did the shopping, and this one takes the bags back. iconic division of labor, fr fr.


⭐ SYNOPSIS ⭐

void xprt_rdma_free (struct rpc_task *task );

that's it. that's the whole signature. void return β€” no receipts, no notes back, she just does the thing and dips πŸ’¨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • task β€” the RPC task. that's the one and only parameter, your main character of the call 🌈

πŸ’– DESCRIPTION πŸ’–

so here's the whole vibe: the caller guarantees that rqst->rq_buffer is non-NULL. that's the deal. that's the entire contract. no buffer, no service πŸ’€

not me emphasizing this β€” it's the literal entire description in the original, so it's staying. the caller promises the buffer is real before this function ever gets called. periodt. πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

the kernel file for all this lives at:

  • Kernel file ./net/sunrpc/xprtrdma/transport.c

and the whole friend group of related pages, all of them, in this exact order, no cap:


and that's the page, bestie πŸ“ big slay to ./net/sunrpc/xprtrdma, dated October 2026, home of xprt_rdma_free(9) β€” catch you on the next man page, mwah πŸ’œπŸ§š

πŸ“¦ where this page comes from