Searched refs:nr_ops (Results 1 – 7 of 7) sorted by relevance
115 ctx->nr_ops = (sg_cnt + pages_per_mr - 1) / pages_per_mr; in rdma_rw_init_mr_wrs()116 ctx->reg = kcalloc(ctx->nr_ops, sizeof(*ctx->reg), GFP_KERNEL); in rdma_rw_init_mr_wrs()122 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_mr_wrs()187 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, max_sge); in rdma_rw_init_map_wrs()193 ctx->map.wrs = kcalloc(ctx->nr_ops, sizeof(*ctx->map.wrs), GFP_KERNEL); in rdma_rw_init_map_wrs()197 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_map_wrs()221 rdma_wr->wr.next = i + 1 < ctx->nr_ops ? in rdma_rw_init_map_wrs()226 return ctx->nr_ops; in rdma_rw_init_map_wrs()241 ctx->nr_ops = 1; in rdma_rw_init_single_wr()374 ctx->nr_ops = 1; in rdma_rw_ctx_signature_init()[all …]
843 unsigned int nr_ops; member880 gnttab_batch_copy(batch->ops, batch->nr_ops); in gntdev_copy()887 for (i = 0; i < batch->nr_ops; i++) { in gntdev_copy()904 batch->nr_ops = 0; in gntdev_copy()942 if (batch->nr_ops >= GNTDEV_COPY_BATCH) { in gntdev_grant_copy_seg()950 op = &batch->ops[batch->nr_ops]; in gntdev_grant_copy_seg()994 batch->status[batch->nr_ops] = status; in gntdev_grant_copy_seg()995 batch->nr_ops++; in gntdev_grant_copy_seg()1011 batch.nr_ops = 0; in gntdev_ioctl_grant_copy()1028 if (batch.nr_ops) in gntdev_ioctl_grant_copy()
846 if (cur->bc_private.a.priv.refc.nr_ops > 2 && in xfs_refcount_still_have_space()851 if (cur->bc_private.a.priv.refc.nr_ops == 0) in xfs_refcount_still_have_space()856 cur->bc_private.a.priv.refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space()920 cur->bc_private.a.priv.refc.nr_ops++; in xfs_refcount_adjust_extents()955 cur->bc_private.a.priv.refc.nr_ops++; in xfs_refcount_adjust_extents()962 cur->bc_private.a.priv.refc.nr_ops++; in xfs_refcount_adjust_extents()1095 unsigned long nr_ops = 0; in xfs_refcount_finish_one() local1116 nr_ops = rcur->bc_private.a.priv.refc.nr_ops; in xfs_refcount_finish_one()1135 rcur->bc_private.a.priv.refc.nr_ops = nr_ops; in xfs_refcount_finish_one()
183 unsigned long nr_ops; /* # record updates */ member
346 cur->bc_private.a.priv.refc.nr_ops = 0; in xfs_refcountbt_init_cursor()
24 u32 nr_ops; member
1499 if (!cmd->rw.nr_ops) in isert_rdma_rw_ctx_destroy()1512 cmd->rw.nr_ops = 0; in isert_rdma_rw_ctx_destroy()