Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/core/
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-6.1.9/drivers/xen/
Dgntdev.c794 unsigned int nr_ops; member
830 gnttab_batch_copy(batch->ops, batch->nr_ops); in gntdev_copy()
837 for (i = 0; i < batch->nr_ops; i++) { in gntdev_copy()
854 batch->nr_ops = 0; in gntdev_copy()
892 if (batch->nr_ops >= GNTDEV_COPY_BATCH) { in gntdev_grant_copy_seg()
900 op = &batch->ops[batch->nr_ops]; in gntdev_grant_copy_seg()
946 batch->status[batch->nr_ops] = status; in gntdev_grant_copy_seg()
947 batch->nr_ops++; in gntdev_grant_copy_seg()
963 batch.nr_ops = 0; in gntdev_ioctl_grant_copy()
980 if (batch.nr_ops) in gntdev_ioctl_grant_copy()
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_refcount.c933 if (cur->bc_ag.refc.nr_ops > 2 && in xfs_refcount_still_have_space()
938 if (cur->bc_ag.refc.nr_ops == 0) in xfs_refcount_still_have_space()
943 cur->bc_ag.refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space()
1003 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents()
1059 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents()
1229 unsigned long nr_ops = 0; in xfs_refcount_finish_one() local
1251 nr_ops = rcur->bc_ag.refc.nr_ops; in xfs_refcount_finish_one()
1264 rcur->bc_ag.refc.nr_ops = nr_ops; in xfs_refcount_finish_one()
Dxfs_trans_resv.c258 unsigned int nr_ops) in xfs_calc_refcountbt_reservation() argument
265 return xfs_calc_buf_res(nr_ops, mp->m_sb.sb_sectsize) + in xfs_calc_refcountbt_reservation()
266 xfs_calc_buf_res(xfs_refcountbt_block_count(mp, nr_ops), blksz); in xfs_calc_refcountbt_reservation()
Dxfs_btree.h187 unsigned int nr_ops; /* # record updates */ member
Dxfs_refcount_btree.c346 cur->bc_ag.refc.nr_ops = 0; in xfs_refcountbt_init_common()
/linux-6.1.9/include/rdma/
Drw.h16 u32 nr_ops; member
/linux-6.1.9/drivers/infiniband/ulp/isert/
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()