Searched refs:nr_ops (Results 1 – 5 of 5) sorted by relevance
164 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, pages_per_mr); in rdma_rw_init_mr_wrs()165 ctx->reg = kzalloc_objs(*ctx->reg, ctx->nr_ops); in rdma_rw_init_mr_wrs()171 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_mr_wrs()250 ctx->nr_ops = DIV_ROUND_UP(ctx->reg[0].sgt.nents, pages_per_mr); in rdma_rw_init_mr_wrs_bvec()254 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_mr_wrs_bvec()296 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, max_sge); in rdma_rw_init_map_wrs()302 ctx->map.wrs = kzalloc_objs(*ctx->map.wrs, ctx->nr_ops); in rdma_rw_init_map_wrs()306 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_map_wrs()330 rdma_wr->wr.next = i + 1 < ctx->nr_ops ? in rdma_rw_init_map_wrs()335 return ctx->nr_ops; in rdma_rw_init_map_wrs()[all …]
1115 if (cur->bc_refc.nr_ops > 2 && in xfs_refcount_still_have_space()1119 if (cur->bc_refc.nr_ops == 0) in xfs_refcount_still_have_space()1124 cur->bc_refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space()1198 cur->bc_refc.nr_ops++; in xfs_refcount_adjust_extents()1253 cur->bc_refc.nr_ops++; in xfs_refcount_adjust_extents()1393 unsigned long nr_ops = 0; in xfs_refcount_finish_one() local1408 nr_ops = rcur->bc_refc.nr_ops; in xfs_refcount_finish_one()1423 rcur->bc_refc.nr_ops = nr_ops; in xfs_refcount_finish_one()1506 unsigned long nr_ops = 0; in xfs_rtrefcount_finish_one() local1521 nr_ops = rcur->bc_refc.nr_ops; in xfs_rtrefcount_finish_one()[all …]
301 unsigned int nr_ops; /* # record updates */ member
65 unsigned int nr_ops; member834 gnttab_batch_copy(batch->ops, batch->nr_ops); in gntdev_copy()841 for (i = 0; i < batch->nr_ops; i++) { in gntdev_copy()858 batch->nr_ops = 0; in gntdev_copy()896 if (batch->nr_ops >= GNTDEV_COPY_BATCH) { in gntdev_grant_copy_seg()904 op = &batch->ops[batch->nr_ops]; in gntdev_grant_copy_seg()950 batch->status[batch->nr_ops] = status; in gntdev_grant_copy_seg()951 batch->nr_ops++; in gntdev_grant_copy_seg()978 batch->nr_ops = 0; in gntdev_ioctl_grant_copy()998 if (batch->nr_ops) in gntdev_ioctl_grant_copy()
1409 if (!cmd->rw.nr_ops) in isert_rdma_rw_ctx_destroy()1422 cmd->rw.nr_ops = 0; in isert_rdma_rw_ctx_destroy()