rpcrdma_send...unget_locked(9)
π rpcrdma_sendctx_unget_locked(9) β like, the kernel API manual, bestie β¨
okay so you found your way into the Kernel API Manual and the page you want is rpcrdma_send...unget_locked(9) β yes the header truncates it with dots, that's just how it vibes. anyway. sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
rpcrdma_sendctx_unget_locked β Release an unposted send context. that's it. that's the whole job. give it back, no sending happened π
β¨ SYNOPSIS β¨
void rpcrdma_sendctx_unget_locked (struct rpcrdma_xprt *r_xprt , struct
rpcrdma_sendctx *sc );
it returns void β noθΏεεΌ, no receipts, it just does the thing and dips π
π ARGUMENTS π
r_xprtβ the controlling transport instance, aka the main character of this whole xprt situation πscβ the send context to release, aka the thing you're handing back. bye bestie π¦
π DESCRIPTION π
Usage: this one gets called when no Send is posted for the sendctx that was most recently returned by rpcrdma_sendctx_get_locked. like, you grabbed it, you didn't use it, you're putting it back. no cap. that's the whole plot π
the caller serializes calls to this function and to rpcrdma_sendctx_get_locked (per transport). so like, one at a time, per transport, in an orderly little line β it's giving polite queue energy β¨
π₯ SEE ALSO π₯
kernel file ./net/sunrpc/xprtrdma/verbs.c β that's where the lore lives π
rpcrdma_flush_disconnect(9)rpcrdma_wc_send(9)rpcrdma_wc_receive(9)rpcrdma_cm_event_handler(9)rpcrdma_xprt_connect(9)rpcrdma_xprt_disconnect(9)rpcrdma_sendctx_get_locked(9)rpcrdma_sendctx_put_locked(9)rpcrdma_mrs_refresh(9)rpcrdma_req_create(9)rpcrdma_req_setup(9)rpcrdma_rep_put(9)rpcrdma_buffer_create(9)rpcrdma_req_destroy(9)rpcrdma_mrs_destroy(9)rpcrdma_buffer_destroy(9)rpcrdma_mr_get(9)rpcrdma_reply_put(9)rpcrdma_buffer_get(9)rpcrdma_buffer_put(9)rpcrdma_regbuf_realloc(9)__rpcrdma_regbuf_dma_map(9)rpcrdma_post_recvs(9)
like, the whole friend group fr fr β go read them too, iykyk π
lowkey a glow-up note: if you're calling this without having gotten the sendctx from rpcrdma_sendctx_get_locked first, that's not it. read the usage line again bestie π
and that's the page!! this little icon comes from ./net/sunrpc/xprtrdma, stamped October 2026, and it's still answering to the name rpcrdma_send...unget_locked(9) π slay, go post some sends (or don't, apparently) π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms