Home
last modified time | relevance | path

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

/Linux-v6.6/fs/xfs/libxfs/
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()
Dxfs_trans_resv.h99 uint xfs_allocfree_block_count(struct xfs_mount *mp, uint num_ops);
/Linux-v6.6/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-v6.6/fs/ceph/
Daddr.c1018 int num_ops = 0, op_idx; in ceph_writepages_start() local
1115 num_ops = 1; in ceph_writepages_start()
1133 if (num_ops >= (from_pool ? CEPH_OSD_SLAB_OPS : in ceph_writepages_start()
1140 num_ops++; in ceph_writepages_start()
1208 offset, &len, 0, num_ops, in ceph_writepages_start()
1216 min(num_ops, in ceph_writepages_start()
1306 BUG_ON(num_ops <= req->r_num_ops); in ceph_writepages_start()
1307 num_ops -= req->r_num_ops; in ceph_writepages_start()
1324 BUG_ON(num_ops != req->r_num_ops); in ceph_writepages_start()
/Linux-v6.6/net/ipv4/netfilter/
Darp_tables.c1506 unsigned int num_ops; in arpt_register_table() local
1536 num_ops = hweight32(table->valid_hooks); in arpt_register_table()
1537 if (num_ops == 0) { in arpt_register_table()
1542 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in arpt_register_table()
1548 for (i = 0; i < num_ops; i++) in arpt_register_table()
1553 ret = nf_register_net_hooks(net, ops, num_ops); in arpt_register_table()
Dip_tables.c1720 unsigned int num_ops; in ipt_register_table() local
1756 num_ops = hweight32(table->valid_hooks); in ipt_register_table()
1757 if (num_ops == 0) { in ipt_register_table()
1762 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ipt_register_table()
1768 for (i = 0; i < num_ops; i++) in ipt_register_table()
1773 ret = nf_register_net_hooks(net, ops, num_ops); in ipt_register_table()
/Linux-v6.6/net/ceph/
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()
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-v6.6/net/ipv6/netfilter/
Dip6_tables.c1729 unsigned int num_ops; in ip6t_register_table() local
1762 num_ops = hweight32(table->valid_hooks); in ip6t_register_table()
1763 if (num_ops == 0) { in ip6t_register_table()
1768 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ip6t_register_table()
1774 for (i = 0; i < num_ops; i++) in ip6t_register_table()
1779 ret = nf_register_net_hooks(net, ops, num_ops); in ip6t_register_table()
/Linux-v6.6/include/linux/ceph/
Dosd_client.h551 unsigned int num_ops,
560 unsigned int which, int num_ops,
/Linux-v6.6/sound/soc/
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()
/Linux-v6.6/net/bridge/netfilter/
Debtables.c1186 unsigned int num_ops; in ebt_register_table() local
1251 num_ops = hweight32(table->valid_hooks); in ebt_register_table()
1252 if (num_ops == 0) { in ebt_register_table()
1257 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ebt_register_table()
1265 for (i = 0; i < num_ops; i++) in ebt_register_table()
1272 ret = nf_register_net_hooks(net, ops, num_ops); in ebt_register_table()
/Linux-v6.6/drivers/block/
Drbd.c1428 struct ceph_snap_context *snapc, int num_ops) in __rbd_obj_add_osd_request() argument
1437 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, false, GFP_NOIO); in __rbd_obj_add_osd_request()
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()
2074 req = ceph_osdc_alloc_request(osdc, NULL, num_ops, false, GFP_NOIO); 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()
[all …]
/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/
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()