Home
last modified time | relevance | path

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

/openbmc/linux/net/sunrpc/xprtrdma/
H A Dverbs.c599 if (!buf->rb_sc_ctxs) in rpcrdma_sendctxs_destroy()
602 kfree(buf->rb_sc_ctxs[i]); in rpcrdma_sendctxs_destroy()
603 kfree(buf->rb_sc_ctxs); in rpcrdma_sendctxs_destroy()
604 buf->rb_sc_ctxs = NULL; in rpcrdma_sendctxs_destroy()
635 buf->rb_sc_ctxs = kcalloc(i, sizeof(sc), XPRTRDMA_GFP_FLAGS); in rpcrdma_sendctxs_create()
636 if (!buf->rb_sc_ctxs) in rpcrdma_sendctxs_create()
645 buf->rb_sc_ctxs[i] = sc; in rpcrdma_sendctxs_create()
688 sc = buf->rb_sc_ctxs[next_head]; in rpcrdma_sendctx_get_locked()
731 rpcrdma_sendctx_unmap(buf->rb_sc_ctxs[next_tail]); in rpcrdma_sendctx_put_locked()
733 } while (buf->rb_sc_ctxs[next_tail] != sc); in rpcrdma_sendctx_put_locked()
H A Dxprt_rdma.h372 struct rpcrdma_sendctx **rb_sc_ctxs; member