Searched refs:nr_ops (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/infiniband/core/ |
H A D | rw.c | 133 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 …]
|
/openbmc/linux/drivers/xen/ |
H A D | gntdev.c | 794 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()
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_refcount.c | 1069 if (cur->bc_ag.refc.nr_ops > 2 && in xfs_refcount_still_have_space() 1074 if (cur->bc_ag.refc.nr_ops == 0) in xfs_refcount_still_have_space() 1079 cur->bc_ag.refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space() 1139 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents() 1198 cur->bc_ag.refc.nr_ops++; in xfs_refcount_adjust_extents() 1361 unsigned long nr_ops = 0; in xfs_refcount_finish_one() local 1379 nr_ops = rcur->bc_ag.refc.nr_ops; in xfs_refcount_finish_one() 1392 rcur->bc_ag.refc.nr_ops = nr_ops; in xfs_refcount_finish_one()
|
H A D | xfs_trans_resv.c | 258 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()
|
H A D | xfs_refcount_btree.c | 355 cur->bc_ag.refc.nr_ops = 0; in xfs_refcountbt_init_common()
|
H A D | xfs_btree.h | 227 unsigned int nr_ops; /* # record updates */ member
|
/openbmc/linux/include/rdma/ |
H A D | rw.h | 16 u32 nr_ops; member
|
/openbmc/qemu/include/block/ |
H A D | accounting.h | 85 uint64_t nr_ops[BLOCK_MAX_IOTYPE]; member
|
/openbmc/qemu/block/ |
H A D | qapi.c | 504 ds->rd_operations = stats->nr_ops[BLOCK_ACCT_READ]; in bdrv_query_blk_stats() 505 ds->wr_operations = stats->nr_ops[BLOCK_ACCT_WRITE]; in bdrv_query_blk_stats() 506 ds->zone_append_operations = stats->nr_ops[BLOCK_ACCT_ZONE_APPEND]; in bdrv_query_blk_stats() 507 ds->unmap_operations = stats->nr_ops[BLOCK_ACCT_UNMAP]; in bdrv_query_blk_stats() 528 ds->flush_operations = stats->nr_ops[BLOCK_ACCT_FLUSH]; in bdrv_query_blk_stats()
|
H A D | accounting.c | 225 stats->nr_ops[cookie->type]++; in block_account_one_io()
|
/openbmc/linux/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.c | 1414 if (!cmd->rw.nr_ops) in isert_rdma_rw_ctx_destroy() 1427 cmd->rw.nr_ops = 0; in isert_rdma_rw_ctx_destroy()
|
/openbmc/qemu/hw/nvme/ |
H A D | ctrl.c | 4916 stats->read_commands += s->nr_ops[BLOCK_ACCT_READ]; in nvme_set_blk_stats() 4917 stats->write_commands += s->nr_ops[BLOCK_ACCT_WRITE]; in nvme_set_blk_stats()
|