Home
last modified time | relevance | path

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

/linux-5.19.10/net/sunrpc/xprtrdma/
Dverbs.c596 if (!buf->rb_sc_ctxs) in rpcrdma_sendctxs_destroy()
599 kfree(buf->rb_sc_ctxs[i]); in rpcrdma_sendctxs_destroy()
600 kfree(buf->rb_sc_ctxs); in rpcrdma_sendctxs_destroy()
601 buf->rb_sc_ctxs = NULL; in rpcrdma_sendctxs_destroy()
632 buf->rb_sc_ctxs = kcalloc(i, sizeof(sc), GFP_KERNEL); in rpcrdma_sendctxs_create()
633 if (!buf->rb_sc_ctxs) in rpcrdma_sendctxs_create()
642 buf->rb_sc_ctxs[i] = sc; in rpcrdma_sendctxs_create()
685 sc = buf->rb_sc_ctxs[next_head]; in rpcrdma_sendctx_get_locked()
728 rpcrdma_sendctx_unmap(buf->rb_sc_ctxs[next_tail]); in rpcrdma_sendctx_put_locked()
730 } while (buf->rb_sc_ctxs[next_tail] != sc); in rpcrdma_sendctx_put_locked()
Dxprt_rdma.h368 struct rpcrdma_sendctx **rb_sc_ctxs; member