Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/xen/
Dgntdev.c784 unsigned int nr_ops; member
820 gnttab_batch_copy(batch->ops, batch->nr_ops); in gntdev_copy()
827 for (i = 0; i < batch->nr_ops; i++) { in gntdev_copy()
844 batch->nr_ops = 0; in gntdev_copy()
882 if (batch->nr_ops >= GNTDEV_COPY_BATCH) { in gntdev_grant_copy_seg()
890 op = &batch->ops[batch->nr_ops]; in gntdev_grant_copy_seg()
936 batch->status[batch->nr_ops] = status; in gntdev_grant_copy_seg()
937 batch->nr_ops++; in gntdev_grant_copy_seg()
953 batch.nr_ops = 0; in gntdev_ioctl_grant_copy()
970 if (batch.nr_ops) in gntdev_ioctl_grant_copy()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_refcount.c894 if (cur->bc_ag.refc.nr_ops > 2 && in xfs_refcount_still_have_space()
899 if (cur->bc_ag.refc.nr_ops == 0) in xfs_refcount_still_have_space()
904 cur->bc_ag.refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space()
971 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents()
1006 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents()
1015 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents()
1148 unsigned long nr_ops = 0; in xfs_refcount_finish_one() local
1169 nr_ops = rcur->bc_ag.refc.nr_ops; in xfs_refcount_finish_one()
1186 rcur->bc_ag.refc.nr_ops = nr_ops; in xfs_refcount_finish_one()
Dxfs_btree.h190 unsigned long nr_ops; /* # record updates */ member
Dxfs_refcount_btree.c336 cur->bc_ag.refc.nr_ops = 0; in xfs_refcountbt_init_common()
/kernel/linux/linux-5.10/include/rdma/
Drw.h16 u32 nr_ops; member
/kernel/linux/linux-5.10/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()