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

/linux-master/drivers/infiniband/core/
H A Drw.c133 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, pages_per_mr);
134 ctx->reg = kcalloc(ctx->nr_ops, sizeof(*ctx->reg), GFP_KERNEL);
140 for (i = 0; i < ctx->nr_ops; i++) {
204 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, max_sge);
210 ctx->map.wrs = kcalloc(ctx->nr_ops, sizeof(*ctx->map.wrs), GFP_KERNEL);
214 for (i = 0; i < ctx->nr_ops; i++) {
238 rdma_wr->wr.next = i + 1 < ctx->nr_ops ?
243 return ctx->nr_ops;
257 ctx->nr_ops = 1;
401 ctx->nr_ops
[all...]
/linux-master/include/rdma/
H A Drw.h16 u32 nr_ops; member in struct:rdma_rw_ctx
/linux-master/drivers/xen/
H A Dgntdev.c794 unsigned int nr_ops; member in struct:gntdev_copy_batch
830 gnttab_batch_copy(batch->ops, batch->nr_ops);
837 for (i = 0; i < batch->nr_ops; i++) {
854 batch->nr_ops = 0;
892 if (batch->nr_ops >= GNTDEV_COPY_BATCH) {
900 op = &batch->ops[batch->nr_ops];
946 batch->status[batch->nr_ops] = status;
947 batch->nr_ops++;
963 batch.nr_ops = 0;
980 if (batch.nr_ops)
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_refcount.c1088 if (cur->bc_refc.nr_ops > 2 &&
1093 if (cur->bc_refc.nr_ops == 0)
1098 cur->bc_refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD;
1158 cur->bc_refc.nr_ops++;
1219 cur->bc_refc.nr_ops++;
1385 unsigned long nr_ops = 0; local
1403 nr_ops = rcur->bc_refc.nr_ops;
1416 rcur->bc_refc.nr_ops = nr_ops;
[all...]
H A Dxfs_trans_resv.c254 * the agfs of the ags containing the blocks: nr_ops * sector size
255 * the refcount btrees: nr_ops * 1 trees * (2 * max depth - 1) * block size
260 unsigned int nr_ops)
267 return xfs_calc_buf_res(nr_ops, mp->m_sb.sb_sectsize) +
268 xfs_calc_buf_res(xfs_refcountbt_block_count(mp, nr_ops), blksz);
258 xfs_calc_refcountbt_reservation( struct xfs_mount *mp, unsigned int nr_ops) argument
H A Dxfs_refcount_btree.c370 cur->bc_refc.nr_ops = 0;
H A Dxfs_btree.h297 unsigned int nr_ops; /* # record updates */ member in struct:xfs_btree_cur::__anon1032::__anon1034
/linux-master/drivers/infiniband/ulp/isert/
H A Dib_isert.c1414 if (!cmd->rw.nr_ops)
1427 cmd->rw.nr_ops = 0;

Completed in 404 milliseconds