rpcrdma_buffer_get(9)
π rpcrdma_buffer_get(9) β from the Kernel API Manual, bestie β¨
okay so picture this: it's a 9-section kernel API manual page, it lives in ./net/sunrpc/xprtrdma/verbs.c, and it's about getting yourself a request buffer. tiny page, huge main character energy. let's get into it π
πΈ NAME πΈ
rpcrdma_buffer_get β Get a request buffer π«Ά
β¨ SYNOPSIS β¨
struct rpcrdma_req * rpcrdma_buffer_get (struct rpcrdma_buffer *buffers
);
like, yes, that's the whole signature, she's not complicated and honestly? iconic for that π
π¦ ARGUMENTS π¦
buffersβ the buffer pool you're pulling a buffer out of. this is the source, the vibe supplier, the place the buffers live π
π₯ DESCRIPTION π₯
Returns a fresh rpcrdma_req, or NULL if none are available.
and that's literally it β no cap. you call it, you either get a nice new request back or you get NULL and you have to Deal With That. the way this function is short and knows exactly what it is?? obsessed πβ¨
ngl bestie, NULL is a real answer here, not an error message. handle it. don't be weird about it π
π SEE ALSO π
Kernel file ./net/sunrpc/xprtrdma/verbs.c
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_buffer_destroy(9)rpcrdma_mr_get(9)rpcrdma_reply_put(9)rpcrdma_buffer_put(9)rpcrdma_regbuf_realloc(9)__rpcrdma_regbuf_dma_map(9)rpcrdma_post_recvs(9)
like, go read the whole friend group, they all hang out together π§π
okay that's the whole page!! this cutie lives under ./net/sunrpc/xprtrdma and the version vibes are dated October 2026 β so yeah, future-kernel energy βπ bye bestie, go get your buffers ππ
π¦ 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