Home
last modified time | relevance | path

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

/Linux-v5.15/fs/xfs/libxfs/
Dxfs_trans_resv.c69 uint num_ops) in xfs_allocfree_log_count() argument
73 blocks = num_ops * 2 * (2 * mp->m_ag_maxlevels - 1); in xfs_allocfree_log_count()
75 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_log_count()
77 blocks += num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_allocfree_log_count()
208 unsigned int num_ops) in xfs_rtalloc_log_count() argument
214 return (howmany(rtbmp_bytes, blksz) + 1) * num_ops; in xfs_rtalloc_log_count()
Dxfs_trans_resv.h93 uint xfs_allocfree_log_count(struct xfs_mount *mp, uint num_ops);
/Linux-v5.15/drivers/acpi/acpica/
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()
/Linux-v5.15/fs/ceph/
Daddr.c786 int num_ops = 0, op_idx; in ceph_writepages_start() local
880 num_ops = 1; in ceph_writepages_start()
898 if (num_ops >= (from_pool ? CEPH_OSD_SLAB_OPS : in ceph_writepages_start()
905 num_ops++; in ceph_writepages_start()
957 offset, &len, 0, num_ops, in ceph_writepages_start()
965 min(num_ops, in ceph_writepages_start()
1028 BUG_ON(num_ops <= req->r_num_ops); in ceph_writepages_start()
1029 num_ops -= req->r_num_ops; in ceph_writepages_start()
1046 BUG_ON(num_ops != req->r_num_ops); in ceph_writepages_start()
/Linux-v5.15/net/ipv4/netfilter/
Darp_tables.c1505 unsigned int num_ops; in arpt_register_table() local
1531 num_ops = hweight32(table->valid_hooks); in arpt_register_table()
1532 if (num_ops == 0) { in arpt_register_table()
1537 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in arpt_register_table()
1543 for (i = 0; i < num_ops; i++) in arpt_register_table()
1548 ret = nf_register_net_hooks(net, ops, num_ops); in arpt_register_table()
Dip_tables.c1722 unsigned int num_ops; in ipt_register_table() local
1754 num_ops = hweight32(table->valid_hooks); in ipt_register_table()
1755 if (num_ops == 0) { in ipt_register_table()
1760 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ipt_register_table()
1766 for (i = 0; i < num_ops; i++) in ipt_register_table()
1771 ret = nf_register_net_hooks(net, ops, num_ops); in ipt_register_table()
/Linux-v5.15/include/linux/ceph/
Dosd_client.h481 unsigned int num_ops,
490 unsigned int which, int num_ops,
/Linux-v5.15/net/ceph/
Dosd_client.c551 unsigned int num_ops = req->r_num_ops; in request_reinit() local
569 req->r_num_ops = num_ops; in request_reinit()
579 unsigned int num_ops, in ceph_osdc_alloc_request() argument
586 BUG_ON(num_ops > CEPH_OSD_SLAB_OPS); in ceph_osdc_alloc_request()
588 } else if (num_ops <= CEPH_OSD_SLAB_OPS) { in ceph_osdc_alloc_request()
591 BUG_ON(num_ops > CEPH_OSD_MAX_OPS); in ceph_osdc_alloc_request()
592 req = kmalloc(struct_size(req, r_ops, num_ops), gfp_flags); in ceph_osdc_alloc_request()
600 req->r_num_ops = num_ops; in ceph_osdc_alloc_request()
1068 unsigned int which, int num_ops, in ceph_osdc_new_request() argument
1085 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, use_mempool, in ceph_osdc_new_request()
[all …]
/Linux-v5.15/net/ipv6/netfilter/
Dip6_tables.c1732 unsigned int num_ops; in ip6t_register_table() local
1761 num_ops = hweight32(table->valid_hooks); in ip6t_register_table()
1762 if (num_ops == 0) { in ip6t_register_table()
1767 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ip6t_register_table()
1773 for (i = 0; i < num_ops; i++) in ip6t_register_table()
1778 ret = nf_register_net_hooks(net, ops, num_ops); in ip6t_register_table()
/Linux-v5.15/sound/soc/
Dsoc-topology.c509 int num_ops, i; in soc_tplg_kcontrol_bind_io() local
539 num_ops = tplg->bytes_ext_ops_count; in soc_tplg_kcontrol_bind_io()
540 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
558 num_ops = tplg->io_ops_count; in soc_tplg_kcontrol_bind_io()
559 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
575 num_ops = ARRAY_SIZE(io_ops); in soc_tplg_kcontrol_bind_io()
576 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
/Linux-v5.15/net/bridge/netfilter/
Debtables.c1185 unsigned int num_ops; in ebt_register_table() local
1255 num_ops = hweight32(table->valid_hooks); in ebt_register_table()
1256 if (num_ops == 0) { in ebt_register_table()
1261 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ebt_register_table()
1269 for (i = 0; i < num_ops; i++) in ebt_register_table()
1276 ret = nf_register_net_hooks(net, ops, num_ops); in ebt_register_table()
/Linux-v5.15/drivers/block/
Drbd.c1410 struct ceph_snap_context *snapc, int num_ops) in __rbd_obj_add_osd_request() argument
1419 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, false, GFP_NOIO); in __rbd_obj_add_osd_request()
1444 rbd_obj_add_osd_request(struct rbd_obj_request *obj_req, int num_ops) in rbd_obj_add_osd_request() argument
1447 num_ops); in rbd_obj_add_osd_request()
2041 int num_ops = 1; in rbd_object_map_update() local
2049 num_ops++; /* assert_locked */ in rbd_object_map_update()
2052 req = ceph_osdc_alloc_request(osdc, NULL, num_ops, false, GFP_NOIO); in rbd_object_map_update()
2950 int num_ops = count_write_ops(obj_req); in rbd_obj_write_object() local
2955 num_ops++; /* stat */ in rbd_obj_write_object()
2957 osd_req = rbd_obj_add_osd_request(obj_req, num_ops); in rbd_obj_write_object()
[all …]
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13275 u32 offset, len, num_ops; in bnx2x_check_firmware() local
13302 num_ops = be32_to_cpu(fw_hdr->init_ops.len) / sizeof(struct raw_op); in bnx2x_check_firmware()
13305 if (be16_to_cpu(ops_offsets[i]) > num_ops) { in bnx2x_check_firmware()