Home
last modified time | relevance | path

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

/linux/drivers/infiniband/core/
H A Drw.c133 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, pages_per_mr); in rdma_rw_init_mr_wrs()
134 ctx->reg = kcalloc(ctx->nr_ops, sizeof(*ctx->reg), GFP_KERNEL); in rdma_rw_init_mr_wrs()
140 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_mr_wrs()
204 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, max_sge); in rdma_rw_init_map_wrs()
210 ctx->map.wrs = kcalloc(ctx->nr_ops, sizeof(*ctx->map.wrs), GFP_KERNEL); in rdma_rw_init_map_wrs()
214 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_map_wrs()
238 rdma_wr->wr.next = i + 1 < ctx->nr_ops ? in rdma_rw_init_map_wrs()
243 return ctx->nr_ops; in rdma_rw_init_map_wrs()
257 ctx->nr_ops = 1; in rdma_rw_init_single_wr()
401 ctx->nr_ops = 1; in rdma_rw_ctx_signature_init()
[all …]
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_vma.c124 unsigned int nr_ops; member
150 for (unsigned i = 0; i < (_job)->nr_ops; i++) \
947 struct msm_gpu_submitqueue *queue, uint32_t nr_ops) in vm_bind_job_create() argument
953 sz = struct_size(job, ops, nr_ops); in vm_bind_job_create()
991 int i = job->nr_ops++; in lookup_op()
1057 if (args->nr_ops == 1) { in vm_bind_job_lookup_ops()
1061 for (unsigned i = 0; i < args->nr_ops; i++) { in vm_bind_job_lookup_ops()
1083 job->nr_ops = 0; in vm_bind_job_lookup_ops()
1089 for (i = 0; i < args->nr_ops; i++) { in vm_bind_job_lookup_ops()
1183 for (int i = 0; i < job->nr_ops; i++) { in vm_bind_prealloc_count()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_refcount.c1115 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() local
1408 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() local
1521 nr_ops = rcur->bc_refc.nr_ops; in xfs_rtrefcount_finish_one()
[all …]
H A Dxfs_refcount_btree.c369 cur->bc_refc.nr_ops = 0; in xfs_refcountbt_init_cursor()
H A Dxfs_btree.h301 unsigned int nr_ops; /* # record updates */ member
H A Dxfs_rtrefcount_btree.c415 cur->bc_refc.nr_ops = 0; in xfs_rtrefcountbt_init_cursor()
/linux/drivers/xen/
H A Dgntdev.c65 unsigned int nr_ops; member
840 gnttab_batch_copy(batch->ops, batch->nr_ops); in gntdev_copy()
847 for (i = 0; i < batch->nr_ops; i++) { in gntdev_copy()
864 batch->nr_ops = 0; in gntdev_copy()
902 if (batch->nr_ops >= GNTDEV_COPY_BATCH) { in gntdev_grant_copy_seg()
910 op = &batch->ops[batch->nr_ops]; in gntdev_grant_copy_seg()
956 batch->status[batch->nr_ops] = status; in gntdev_grant_copy_seg()
957 batch->nr_ops++; in gntdev_grant_copy_seg()
984 batch->nr_ops = 0; in gntdev_ioctl_grant_copy()
1004 if (batch->nr_ops) in gntdev_ioctl_grant_copy()
/linux/include/rdma/
H A Drw.h16 u32 nr_ops; member
/linux/drivers/infiniband/ulp/isert/
H A Dib_isert.c1411 if (!cmd->rw.nr_ops) in isert_rdma_rw_ctx_destroy()
1424 cmd->rw.nr_ops = 0; in isert_rdma_rw_ctx_destroy()