Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c965 ioctx->rw_ctxs = &ioctx->s_rw_ctx; in srpt_alloc_rw_ctxs()
967 ioctx->rw_ctxs = kmalloc_array(nbufs, sizeof(*ioctx->rw_ctxs), in srpt_alloc_rw_ctxs()
969 if (!ioctx->rw_ctxs) in srpt_alloc_rw_ctxs()
974 struct srpt_rw_ctx *ctx = &ioctx->rw_ctxs[i]; in srpt_alloc_rw_ctxs()
1011 struct srpt_rw_ctx *ctx = &ioctx->rw_ctxs[i]; in srpt_alloc_rw_ctxs()
1017 if (ioctx->rw_ctxs != &ioctx->s_rw_ctx) in srpt_alloc_rw_ctxs()
1018 kfree(ioctx->rw_ctxs); in srpt_alloc_rw_ctxs()
1029 struct srpt_rw_ctx *ctx = &ioctx->rw_ctxs[i]; in srpt_free_rw_ctxs()
1036 if (ioctx->rw_ctxs != &ioctx->s_rw_ctx) in srpt_free_rw_ctxs()
1037 kfree(ioctx->rw_ctxs); in srpt_free_rw_ctxs()
[all …]
H A Dib_srpt.h219 struct srpt_rw_ctx *rw_ctxs; member