Home
last modified time | relevance | path

Searched refs:nr_ops (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/drivers/infiniband/core/
Drw.c132 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, pages_per_mr); in rdma_rw_init_mr_wrs()
133 ctx->reg = kcalloc(ctx->nr_ops, sizeof(*ctx->reg), GFP_KERNEL); in rdma_rw_init_mr_wrs()
139 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_mr_wrs()
203 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, max_sge); in rdma_rw_init_map_wrs()
209 ctx->map.wrs = kcalloc(ctx->nr_ops, sizeof(*ctx->map.wrs), GFP_KERNEL); in rdma_rw_init_map_wrs()
213 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_map_wrs()
237 rdma_wr->wr.next = i + 1 < ctx->nr_ops ? in rdma_rw_init_map_wrs()
242 return ctx->nr_ops; in rdma_rw_init_map_wrs()
256 ctx->nr_ops = 1; in rdma_rw_init_single_wr()
412 ctx->nr_ops = 1; in rdma_rw_ctx_signature_init()
[all …]
/Linux-v5.15/drivers/xen/
Dgntdev.c729 unsigned int nr_ops; member
765 gnttab_batch_copy(batch->ops, batch->nr_ops); in gntdev_copy()
772 for (i = 0; i < batch->nr_ops; i++) { in gntdev_copy()
789 batch->nr_ops = 0; in gntdev_copy()
827 if (batch->nr_ops >= GNTDEV_COPY_BATCH) { in gntdev_grant_copy_seg()
835 op = &batch->ops[batch->nr_ops]; in gntdev_grant_copy_seg()
881 batch->status[batch->nr_ops] = status; in gntdev_grant_copy_seg()
882 batch->nr_ops++; in gntdev_grant_copy_seg()
898 batch.nr_ops = 0; in gntdev_ioctl_grant_copy()
915 if (batch.nr_ops) in gntdev_ioctl_grant_copy()
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_refcount.c895 if (cur->bc_ag.refc.nr_ops > 2 && in xfs_refcount_still_have_space()
900 if (cur->bc_ag.refc.nr_ops == 0) in xfs_refcount_still_have_space()
905 cur->bc_ag.refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space()
972 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents()
1007 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents()
1016 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents()
1148 unsigned long nr_ops = 0; in xfs_refcount_finish_one() local
1170 nr_ops = rcur->bc_ag.refc.nr_ops; in xfs_refcount_finish_one()
1183 rcur->bc_ag.refc.nr_ops = nr_ops; in xfs_refcount_finish_one()
Dxfs_btree.h191 unsigned long nr_ops; /* # record updates */ member
Dxfs_refcount_btree.c338 cur->bc_ag.refc.nr_ops = 0; in xfs_refcountbt_init_common()
/Linux-v5.15/include/rdma/
Drw.h16 u32 nr_ops; member
/Linux-v5.15/drivers/infiniband/ulp/isert/
Dib_isert.c1410 if (!cmd->rw.nr_ops) in isert_rdma_rw_ctx_destroy()
1423 cmd->rw.nr_ops = 0; in isert_rdma_rw_ctx_destroy()