Searched refs:nr_ops (Results 1 – 7 of 7) sorted by relevance
127 ctx->nr_ops = (sg_cnt + pages_per_mr - 1) / pages_per_mr; in rdma_rw_init_mr_wrs()128 ctx->reg = kcalloc(ctx->nr_ops, sizeof(*ctx->reg), GFP_KERNEL); in rdma_rw_init_mr_wrs()134 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_mr_wrs()198 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, max_sge); in rdma_rw_init_map_wrs()204 ctx->map.wrs = kcalloc(ctx->nr_ops, sizeof(*ctx->map.wrs), GFP_KERNEL); in rdma_rw_init_map_wrs()208 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_map_wrs()232 rdma_wr->wr.next = i + 1 < ctx->nr_ops ? in rdma_rw_init_map_wrs()237 return ctx->nr_ops; in rdma_rw_init_map_wrs()251 ctx->nr_ops = 1; in rdma_rw_init_single_wr()391 ctx->nr_ops = 1; in rdma_rw_ctx_signature_init()[all …]
832 unsigned int nr_ops; member869 gnttab_batch_copy(batch->ops, batch->nr_ops); in gntdev_copy()876 for (i = 0; i < batch->nr_ops; i++) { in gntdev_copy()893 batch->nr_ops = 0; in gntdev_copy()931 if (batch->nr_ops >= GNTDEV_COPY_BATCH) { in gntdev_grant_copy_seg()939 op = &batch->ops[batch->nr_ops]; in gntdev_grant_copy_seg()983 batch->status[batch->nr_ops] = status; in gntdev_grant_copy_seg()984 batch->nr_ops++; in gntdev_grant_copy_seg()1000 batch.nr_ops = 0; in gntdev_ioctl_grant_copy()1017 if (batch.nr_ops) in gntdev_ioctl_grant_copy()
844 if (cur->bc_private.a.priv.refc.nr_ops > 2 && in xfs_refcount_still_have_space()849 if (cur->bc_private.a.priv.refc.nr_ops == 0) in xfs_refcount_still_have_space()854 cur->bc_private.a.priv.refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space()918 cur->bc_private.a.priv.refc.nr_ops++; in xfs_refcount_adjust_extents()953 cur->bc_private.a.priv.refc.nr_ops++; in xfs_refcount_adjust_extents()960 cur->bc_private.a.priv.refc.nr_ops++; in xfs_refcount_adjust_extents()1093 unsigned long nr_ops = 0; in xfs_refcount_finish_one() local1114 nr_ops = rcur->bc_private.a.priv.refc.nr_ops; in xfs_refcount_finish_one()1133 rcur->bc_private.a.priv.refc.nr_ops = nr_ops; in xfs_refcount_finish_one()
183 unsigned long nr_ops; /* # record updates */ member
343 cur->bc_private.a.priv.refc.nr_ops = 0; in xfs_refcountbt_init_cursor()
16 u32 nr_ops; member
1491 if (!cmd->rw.nr_ops) in isert_rdma_rw_ctx_destroy()1504 cmd->rw.nr_ops = 0; in isert_rdma_rw_ctx_destroy()