rpcrdma_regbuf_realloc(9)
π
rpcrdma_regbuf_realloc(9) π
okay so bestie, welcome to the Kernel API Manual β this page is literally about rpcrdma_regbuf_realloc(9), and itβs giving βre-allocate a SEND/RECV bufferβ energy. itβs a bool-returning icon and weβre obsessed π«Άβ¨
πΈ NAME πΈ
rpcrdma_regbuf_reallocβ re-allocate a SEND/RECV buffer.
π¦ SYNOPSIS π¦
the whole signature, served fresh:
bool rpcrdma_regbuf_realloc (struct rpcrdma_regbuf *rb , size_t size ,
gfp_t flags );
π ARGUMENTS π
rbβ the regbuf to reallocate. like, the main character of this operation πsizeβ size of buffer to be allocated, in bytes. yes, bytes, bestie π§flagsβ GFP flags. keep them exactly as they are, iykyk β
β¨ DESCRIPTION β¨
returns true if reallocation was successful β slay, it worked π
if false is returned, rb is left untouched. no sneaky changes, no chaos β just untouched. periodt π
π₯ SEE ALSO π₯
check the kernel file ./net/sunrpc/xprtrdma/verbs.c β plus these related function besties:
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_get(9)rpcrdma_buffer_put(9)__rpcrdma_regbuf_dma_map(9)rpcrdma_post_recvs(9)
made with love in source/version ./net/sunrpc/xprtrdma, dated October 2026, for rpcrdma_regbuf_realloc(9) β mwah ππ
π¦ 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