Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Drw.c132 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, pages_per_mr); in rdma_rw_init_mr_wrs()
133 ctx->reg = kcalloc(ctx->nr_ops, sizeof(*ctx->reg), GFP_KERNEL); in rdma_rw_init_mr_wrs()
139 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_mr_wrs()
203 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, max_sge); in rdma_rw_init_map_wrs()
209 ctx->map.wrs = kcalloc(ctx->nr_ops, sizeof(*ctx->map.wrs), GFP_KERNEL); in rdma_rw_init_map_wrs()
213 for (i = 0; i < ctx->nr_ops; i++) { in rdma_rw_init_map_wrs()
237 rdma_wr->wr.next = i + 1 < ctx->nr_ops ? in rdma_rw_init_map_wrs()
242 return ctx->nr_ops; in rdma_rw_init_map_wrs()
256 ctx->nr_ops = 1; in rdma_rw_init_single_wr()
412 ctx->nr_ops = 1; in rdma_rw_ctx_signature_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/xen/
H A Dgntdev.c784 unsigned int nr_ops; member
820 gnttab_batch_copy(batch->ops, batch->nr_ops); in gntdev_copy()
827 for (i = 0; i < batch->nr_ops; i++) { in gntdev_copy()
844 batch->nr_ops = 0; in gntdev_copy()
882 if (batch->nr_ops >= GNTDEV_COPY_BATCH) { in gntdev_grant_copy_seg()
890 op = &batch->ops[batch->nr_ops]; in gntdev_grant_copy_seg()
936 batch->status[batch->nr_ops] = status; in gntdev_grant_copy_seg()
937 batch->nr_ops++; in gntdev_grant_copy_seg()
953 batch.nr_ops = 0; in gntdev_ioctl_grant_copy()
970 if (batch.nr_ops) in gntdev_ioctl_grant_copy()
/OK3568_Linux_fs/kernel/fs/xfs/libxfs/
H A Dxfs_refcount.c894 if (cur->bc_ag.refc.nr_ops > 2 && in xfs_refcount_still_have_space()
899 if (cur->bc_ag.refc.nr_ops == 0) in xfs_refcount_still_have_space()
904 cur->bc_ag.refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space()
971 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents()
1006 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents()
1015 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents()
1148 unsigned long nr_ops = 0; in xfs_refcount_finish_one() local
1169 nr_ops = rcur->bc_ag.refc.nr_ops; in xfs_refcount_finish_one()
1186 rcur->bc_ag.refc.nr_ops = nr_ops; in xfs_refcount_finish_one()
H A Dxfs_btree.h190 unsigned long nr_ops; /* # record updates */ member
H A Dxfs_refcount_btree.c336 cur->bc_ag.refc.nr_ops = 0; in xfs_refcountbt_init_common()
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/mali/sources/itm/
H A Dcoresight_mali_source_itm_core.c208 drvdata->base.enable_seq.nr_ops = NELEMS(dwt_itm_enable_ops); in coresight_mali_sources_init_drvdata()
211 drvdata->base.disable_seq.nr_ops = NELEMS(dwt_itm_disable_ops); in coresight_mali_sources_init_drvdata()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/debug/backend/
H A Dmali_kbase_debug_coresight_csf.c148 int nr_ops = seq->nr_ops; in validate_seq() local
151 for (i = 0; i < nr_ops; i++) { in validate_seq()
231 for (i = 0; config->enable_seq && !ret && i < config->enable_seq->nr_ops; i++) in coresight_config_enable()
261 for (i = 0; config->disable_seq && !ret && i < config->disable_seq->nr_ops; i++) in coresight_config_disable()
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/mali/sources/etm/
H A Dcoresight_mali_source_etm_core.c159 drvdata->base.enable_seq.nr_ops = NELEMS(etm_enable_ops); in coresight_mali_sources_init_drvdata()
162 drvdata->base.disable_seq.nr_ops = NELEMS(etm_disable_ops); in coresight_mali_sources_init_drvdata()
/OK3568_Linux_fs/kernel/include/linux/
H A Dmali_kbase_debug_coresight_csf.h148 int nr_ops; member
/OK3568_Linux_fs/kernel/include/rdma/
H A Drw.h16 u32 nr_ops; member
/OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/mali/sources/ela/
H A Dcoresight_mali_source_ela_core.c606 drvdata->base.enable_seq.nr_ops = NELEMS(ela_enable_ops); in coresight_mali_sources_init_drvdata()
609 drvdata->base.disable_seq.nr_ops = NELEMS(ela_disable_ops); in coresight_mali_sources_init_drvdata()
/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/isert/
H A Dib_isert.c1410 if (!cmd->rw.nr_ops) in isert_rdma_rw_ctx_destroy()
1423 cmd->rw.nr_ops = 0; in isert_rdma_rw_ctx_destroy()