Home
last modified time | relevance | path

Searched refs:rb_sc_ctxs (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/net/sunrpc/xprtrdma/
Dverbs.c606 if (!buf->rb_sc_ctxs) in rpcrdma_sendctxs_destroy()
609 kfree(buf->rb_sc_ctxs[i]); in rpcrdma_sendctxs_destroy()
610 kfree(buf->rb_sc_ctxs); in rpcrdma_sendctxs_destroy()
611 buf->rb_sc_ctxs = NULL; in rpcrdma_sendctxs_destroy()
642 buf->rb_sc_ctxs = kcalloc(i, sizeof(sc), XPRTRDMA_GFP_FLAGS); in rpcrdma_sendctxs_create()
643 if (!buf->rb_sc_ctxs) in rpcrdma_sendctxs_create()
652 buf->rb_sc_ctxs[i] = sc; in rpcrdma_sendctxs_create()
695 sc = buf->rb_sc_ctxs[next_head]; in rpcrdma_sendctx_get_locked()
738 rpcrdma_sendctx_unmap(buf->rb_sc_ctxs[next_tail]); in rpcrdma_sendctx_put_locked()
740 } while (buf->rb_sc_ctxs[next_tail] != sc); in rpcrdma_sendctx_put_locked()
Dxprt_rdma.h373 struct rpcrdma_sendctx **rb_sc_ctxs; member