/linux/fs/xfs/libxfs/ |
H A D | xfs_trans_resv.c | 71 uint num_ops) in xfs_allocfree_block_count() argument 75 blocks = num_ops * 2 * (2 * mp->m_alloc_maxlevels - 1); in xfs_allocfree_block_count() 77 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_block_count() 90 unsigned int num_ops) in xfs_refcountbt_block_count() argument 92 return num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_refcountbt_block_count() 221 unsigned int num_ops) in xfs_rtalloc_block_count() argument 228 return (rtbmp_blocks + 1) * num_ops; in xfs_rtalloc_block_count()
|
H A D | xfs_trans_resv.h | 99 uint xfs_allocfree_block_count(struct xfs_mount *mp, uint num_ops);
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_pt_types.h | 104 u32 num_ops; member
|
H A D | xe_vm.c | 730 if (!vops->pt_update_ops[i].num_ops) in xe_vma_ops_alloc() 734 kmalloc_array(vops->pt_update_ops[i].num_ops, in xe_vma_ops_alloc() 758 ++vops->pt_update_ops[i].num_ops; in xe_vma_ops_incr_pt_update_ops() 2508 if (vops->pt_update_ops[id].num_ops) in vm_ops_setup_tile_args() 2550 if (!vops->pt_update_ops[id].num_ops) in ops_execute() 2563 if (!vops->pt_update_ops[id].num_ops) in ops_execute() 2588 if (!vops->pt_update_ops[id].num_ops) in ops_execute() 2598 if (!vops->pt_update_ops[id].num_ops) in ops_execute()
|
/linux/drivers/acpi/acpica/ |
H A D | dbdisply.c | 358 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()
|
/linux/fs/ceph/ |
H A D | addr.c | 1040 int num_ops = 0, op_idx; in ceph_writepages_start() local 1138 num_ops = 1; in ceph_writepages_start() 1156 if (num_ops >= (from_pool ? CEPH_OSD_SLAB_OPS : in ceph_writepages_start() 1163 num_ops++; in ceph_writepages_start() 1232 offset, &len, 0, num_ops, in ceph_writepages_start() 1240 min(num_ops, in ceph_writepages_start() 1331 BUG_ON(num_ops <= req->r_num_ops); in ceph_writepages_start() 1332 num_ops -= req->r_num_ops; in ceph_writepages_start() 1349 BUG_ON(num_ops != req->r_num_ops); in ceph_writepages_start()
|
/linux/net/ipv4/netfilter/ |
H A D | arp_tables.c | 1514 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_array(template_ops, num_ops, sizeof(*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 D | ip_tables.c | 1728 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_array(template_ops, num_ops, sizeof(*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()
|
/linux/sound/soc/ |
H A D | soc-topology.c | 471 int num_ops, i; in soc_tplg_kcontrol_bind_io() local 502 num_ops = tplg->bytes_ext_ops_count; in soc_tplg_kcontrol_bind_io() 503 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io() 521 num_ops = tplg->io_ops_count; in soc_tplg_kcontrol_bind_io() 522 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io() 538 num_ops = ARRAY_SIZE(io_ops); in soc_tplg_kcontrol_bind_io() 539 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
|
/linux/net/ceph/ |
H A D | osd_client.c | 569 unsigned int num_ops, in ceph_osdc_alloc_request() argument 576 BUG_ON(num_ops > CEPH_OSD_SLAB_OPS); in ceph_osdc_alloc_request() 578 } else if (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() 582 req = kmalloc(struct_size(req, r_ops, num_ops), gfp_flags); in ceph_osdc_alloc_request() 590 req->r_num_ops = num_ops; in ceph_osdc_alloc_request() 1082 unsigned int which, int num_ops, in ceph_osdc_new_request() argument 1100 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, use_mempool, in ceph_osdc_new_request() 1139 if (num_ops > 1) { in ceph_osdc_new_request() 1148 num_req_ops = num_ops; in ceph_osdc_new_request() [all …]
|
/linux/net/ipv6/netfilter/ |
H A D | ip6_tables.c | 1737 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_array(template_ops, num_ops, sizeof(*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()
|
/linux/include/linux/ceph/ |
H A D | osd_client.h | 550 unsigned int num_ops, 559 unsigned int which, int num_ops,
|
/linux/net/bridge/netfilter/ |
H A D | ebtables.c | 1188 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_array(template_ops, num_ops, sizeof(*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()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 13268 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()
|