Home
last modified time | relevance | path

Searched refs:num_ops (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_trans_resv.c68 uint num_ops) in xfs_allocfree_block_count() argument
72 blocks = num_ops * 2 * (2 * mp->m_alloc_maxlevels - 1); in xfs_allocfree_block_count()
74 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_block_count()
87 unsigned int num_ops) in xfs_refcountbt_block_count() argument
89 return num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_refcountbt_block_count()
218 unsigned int num_ops) in xfs_rtalloc_block_count() argument
224 return (howmany(rtbmp_bytes, blksz) + 1) * num_ops; in xfs_rtalloc_block_count()
H A Dxfs_trans_resv.h99 uint xfs_allocfree_block_count(struct xfs_mount *mp, uint num_ops);
/openbmc/linux/drivers/acpi/acpica/
H A Ddbdisply.c358 u32 num_ops = 0; in acpi_db_display_method_info() local
393 num_ops++; in acpi_db_display_method_info()
432 num_ops, num_operators, num_operands); in acpi_db_display_method_info()
/openbmc/linux/fs/ceph/
H A Daddr.c1020 int num_ops = 0, op_idx; in ceph_writepages_start() local
1117 num_ops = 1; in ceph_writepages_start()
1135 if (num_ops >= (from_pool ? CEPH_OSD_SLAB_OPS : in ceph_writepages_start()
1142 num_ops++; in ceph_writepages_start()
1210 offset, &len, 0, num_ops, in ceph_writepages_start()
1218 min(num_ops, in ceph_writepages_start()
1308 BUG_ON(num_ops <= req->r_num_ops); in ceph_writepages_start()
1309 num_ops -= req->r_num_ops; in ceph_writepages_start()
1326 BUG_ON(num_ops != req->r_num_ops); in ceph_writepages_start()
/openbmc/linux/net/ipv4/netfilter/
H A Darp_tables.c1514 unsigned int num_ops; in arpt_register_table() local
1544 num_ops = hweight32(table->valid_hooks); in arpt_register_table()
1545 if (num_ops == 0) { in arpt_register_table()
1550 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in arpt_register_table()
1556 for (i = 0; i < num_ops; i++) in arpt_register_table()
1561 ret = nf_register_net_hooks(net, ops, num_ops); in arpt_register_table()
H A Dip_tables.c1728 unsigned int num_ops; in ipt_register_table() local
1764 num_ops = hweight32(table->valid_hooks); in ipt_register_table()
1765 if (num_ops == 0) { in ipt_register_table()
1770 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ipt_register_table()
1776 for (i = 0; i < num_ops; i++) in ipt_register_table()
1781 ret = nf_register_net_hooks(net, ops, num_ops); in ipt_register_table()
/openbmc/linux/net/ipv6/netfilter/
H A Dip6_tables.c1737 unsigned int num_ops; in ip6t_register_table() local
1770 num_ops = hweight32(table->valid_hooks); in ip6t_register_table()
1771 if (num_ops == 0) { in ip6t_register_table()
1776 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ip6t_register_table()
1782 for (i = 0; i < num_ops; i++) in ip6t_register_table()
1787 ret = nf_register_net_hooks(net, ops, num_ops); in ip6t_register_table()
/openbmc/linux/net/ceph/
H A Dosd_client.c569 unsigned int num_ops, in ceph_osdc_alloc_request() argument
576 BUG_ON(num_ops > CEPH_OSD_SLAB_OPS); in ceph_osdc_alloc_request()
581 BUG_ON(num_ops > CEPH_OSD_MAX_OPS); in ceph_osdc_alloc_request()
590 req->r_num_ops = num_ops; in ceph_osdc_alloc_request()
1139 if (num_ops > 1) { in ceph_osdc_new_request()
1148 num_req_ops = num_ops; in ceph_osdc_new_request()
1152 num_rep_ops = num_ops; in ceph_osdc_new_request()
3677 int num_ops; member
3718 for (i = 0; i < m->num_ops; i++) { in decode_MOSDOpReply()
3726 for (i = 0; i < m->num_ops; i++) in decode_MOSDOpReply()
[all …]
/openbmc/linux/include/linux/ceph/
H A Dosd_client.h552 unsigned int num_ops,
561 unsigned int which, int num_ops,
/openbmc/linux/sound/soc/
H A Dsoc-topology.c475 int num_ops, i; in soc_tplg_kcontrol_bind_io() local
506 num_ops = tplg->bytes_ext_ops_count; in soc_tplg_kcontrol_bind_io()
507 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
525 num_ops = tplg->io_ops_count; in soc_tplg_kcontrol_bind_io()
526 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
542 num_ops = ARRAY_SIZE(io_ops); in soc_tplg_kcontrol_bind_io()
543 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
/openbmc/qemu/tests/qemu-iotests/
H A D030188 num_ops = 4 # Number of parallel block-stream operations variable in TestParallelOps
189 num_imgs = num_ops * 2 + 1
190 image_len = num_ops * 4 * 1024 * 1024
/openbmc/linux/net/bridge/netfilter/
H A Debtables.c1188 unsigned int num_ops; in ebt_register_table() local
1253 num_ops = hweight32(table->valid_hooks); in ebt_register_table()
1254 if (num_ops == 0) { in ebt_register_table()
1259 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ebt_register_table()
1267 for (i = 0; i < num_ops; i++) in ebt_register_table()
1274 ret = nf_register_net_hooks(net, ops, num_ops); in ebt_register_table()
/openbmc/linux/drivers/block/
H A Drbd.c1428 struct ceph_snap_context *snapc, int num_ops) in __rbd_obj_add_osd_request() argument
1462 rbd_obj_add_osd_request(struct rbd_obj_request *obj_req, int num_ops) in rbd_obj_add_osd_request() argument
1466 num_ops); in rbd_obj_add_osd_request()
2063 int num_ops = 1; in rbd_object_map_update() local
2071 num_ops++; /* assert_locked */ in rbd_object_map_update()
2967 int num_ops = count_write_ops(obj_req); in rbd_obj_write_object() local
2972 num_ops++; /* stat */ in rbd_obj_write_object()
2974 osd_req = rbd_obj_add_osd_request(obj_req, num_ops); in rbd_obj_write_object()
3045 int num_ops = count_write_ops(obj_req); in rbd_obj_copyup_current_snapc() local
3052 num_ops++; /* copyup */ in rbd_obj_copyup_current_snapc()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c13268 u32 offset, len, num_ops; in bnx2x_check_firmware() local
13295 num_ops = be32_to_cpu(fw_hdr->init_ops.len) / sizeof(struct raw_op); in bnx2x_check_firmware()
13298 if (be16_to_cpu(ops_offsets[i]) > num_ops) { in bnx2x_check_firmware()