Searched refs:nr_ops (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/infiniband/core/ |
| H A D | rw.c | 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 …]
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gem_vma.c | 123 /** @nr_ops: the number of userspace requested ops */ 124 unsigned int nr_ops; member 150 for (unsigned i = 0; i < (_job)->nr_ops; i++) \ 961 struct msm_gpu_submitqueue *queue, uint32_t nr_ops) in vm_bind_job_create() argument 966 job = kzalloc_flex(*job, ops, nr_ops, GFP_KERNEL | __GFP_NOWARN); in vm_bind_job_create() 999 int i = job->nr_ops++; in lookup_op() 1065 if (args->nr_ops == 1) { in vm_bind_job_lookup_ops() 1069 for (unsigned i = 0; i < args->nr_ops; i++) { in vm_bind_job_lookup_ops() 1096 for (i = 0; i < args->nr_ops; i++) { in vm_bind_job_lookup_ops() 1146 job->nr_ops in vm_bind_job_lookup_ops() [all...] |
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_refcount.c | 1114 if (cur->bc_refc.nr_ops > 2 && in xfs_refcount_still_have_space() 1118 if (cur->bc_refc.nr_ops == 0) in xfs_refcount_still_have_space() 1123 cur->bc_refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space() 1197 cur->bc_refc.nr_ops++; in xfs_refcount_adjust_extents() 1252 cur->bc_refc.nr_ops++; in xfs_refcount_adjust_extents() 1392 unsigned long nr_ops = 0; in xfs_refcount_finish_one() 1407 nr_ops = rcur->bc_refc.nr_ops; in xfs_refcount_finish_one() 1421 rcur->bc_refc.nr_ops = nr_ops; in xfs_refcount_finish_one() 1393 unsigned long nr_ops = 0; xfs_refcount_finish_one() local 1505 unsigned long nr_ops = 0; xfs_rtrefcount_finish_one() local [all...] |
| H A D | xfs_btree.h | 301 unsigned int nr_ops; /* # record updates */ member
|
| H A D | xfs_rtrefcount_btree.c | 321 cur->bc_refc.nr_ops = 0; in xfs_rtrefcountbt_broot_realloc()
|
| /linux/drivers/xen/ |
| H A D | gntdev.c | 65 unsigned int nr_ops; member 842 gnttab_batch_copy(batch->ops, batch->nr_ops); in gntdev_copy() 849 for (i = 0; i < batch->nr_ops; i++) { in gntdev_copy() 866 batch->nr_ops = 0; in gntdev_grant_copy_seg() 904 if (batch->nr_ops >= GNTDEV_COPY_BATCH) { in gntdev_grant_copy_seg() 912 op = &batch->ops[batch->nr_ops]; in gntdev_grant_copy_seg() 958 batch->status[batch->nr_ops] = status; in gntdev_grant_copy_seg() 959 batch->nr_ops++; in gntdev_grant_copy_seg() 986 batch->nr_ops = 0; in gntdev_ioctl_grant_copy() 1006 if (batch->nr_ops) in gntdev_ioctl_grant_copy() [all...] |
| /linux/include/uapi/drm/ |
| H A D | msm_drm.h | 391 __u32 nr_ops; member
|
| /linux/drivers/infiniband/ulp/isert/ |
| H A D | ib_isert.c | 1443 if (!cmd->rw.nr_ops) in isert_rdma_rw_ctx_destroy() 1456 cmd->rw.nr_ops = 0; in isert_rdma_rw_ctx_destroy()
|