rpcrdma_buffer_destroy(9)
π rpcrdma_buffer_destroy(9) π
okay so this is a page from the Kernel API Manual bestie, and it's all about rpcrdma_buffer_destroy β the lil cleanup queen that releases all your hw resources. she's giving janitor energy and honestly? iconic. π§Ήβ¨
β¨ NAME β¨
rpcrdma_buffer_destroy β release all hw resources π«Ά
πΈ SYNOPSIS πΈ
void rpcrdma_buffer_destroy (struct rpcrdma_buffer *buf );
π ARGUMENTS π
bufβ the root control block for resources. yeah she's the main character here, everything hangs off her π
π¦ DESCRIPTION π¦
ok so ORDERING is the whole vibe here β this function literally relies on a prior rpcrdma_xprt_drain and will not function without it, no cap. π
Here's what that prior drain guarantees:
- No more Send or Receive completions can occur π
- All MRs, reps, and reqs are returned to their free lists π₯
like, everybody's home and the door is locked before she starts tidying. periodt.
π SEE ALSO π
Kernel file ./net/sunrpc/xprtrdma/verbs.c, plus the whole friend group:
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_unget_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_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)
and that's the whole page bestie!! sourced from ./net/sunrpc/xprtrdma, dated October 2026, one version, one vibe ππ go forth and free your hw resources responsibly π§ββοΈβ
π¦ 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