Searched refs:rw_ctxs (Results 1 – 2 of 2) sorted by relevance
906 ioctx->rw_ctxs = &ioctx->s_rw_ctx; in srpt_alloc_rw_ctxs()908 ioctx->rw_ctxs = kmalloc_array(nbufs, sizeof(*ioctx->rw_ctxs), in srpt_alloc_rw_ctxs()910 if (!ioctx->rw_ctxs) in srpt_alloc_rw_ctxs()915 struct srpt_rw_ctx *ctx = &ioctx->rw_ctxs[i]; in srpt_alloc_rw_ctxs()952 struct srpt_rw_ctx *ctx = &ioctx->rw_ctxs[i]; in srpt_alloc_rw_ctxs()958 if (ioctx->rw_ctxs != &ioctx->s_rw_ctx) in srpt_alloc_rw_ctxs()959 kfree(ioctx->rw_ctxs); in srpt_alloc_rw_ctxs()970 struct srpt_rw_ctx *ctx = &ioctx->rw_ctxs[i]; in srpt_free_rw_ctxs()977 if (ioctx->rw_ctxs != &ioctx->s_rw_ctx) in srpt_free_rw_ctxs()978 kfree(ioctx->rw_ctxs); in srpt_free_rw_ctxs()[all …]
219 struct srpt_rw_ctx *rw_ctxs; member