Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/fs/ceph/
Daddr.c871 int num_ops = 0, op_idx; in ceph_writepages_start() local
968 num_ops = 1; in ceph_writepages_start()
986 if (num_ops >= (from_pool ? CEPH_OSD_SLAB_OPS : in ceph_writepages_start()
993 num_ops++; in ceph_writepages_start()
1042 offset, &len, 0, num_ops, in ceph_writepages_start()
1050 min(num_ops, in ceph_writepages_start()
1126 BUG_ON(num_ops <= req->r_num_ops); in ceph_writepages_start()
1127 num_ops -= req->r_num_ops; in ceph_writepages_start()
1144 BUG_ON(num_ops != req->r_num_ops); in ceph_writepages_start()
/linux-6.1.9/net/ipv4/netfilter/
Darp_tables.c1506 unsigned int num_ops; in arpt_register_table() local
1532 num_ops = hweight32(table->valid_hooks); in arpt_register_table()
1533 if (num_ops == 0) { in arpt_register_table()
1538 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in arpt_register_table()
1544 for (i = 0; i < num_ops; i++) in arpt_register_table()
1549 ret = nf_register_net_hooks(net, ops, num_ops); in arpt_register_table()
Dip_tables.c1723 unsigned int num_ops; in ipt_register_table() local
1755 num_ops = hweight32(table->valid_hooks); in ipt_register_table()
1756 if (num_ops == 0) { in ipt_register_table()
1761 ops = kmemdup(template_ops, sizeof(*ops) * num_ops, GFP_KERNEL); in ipt_register_table()
1767 for (i = 0; i < num_ops; i++) in ipt_register_table()
1772 ret = nf_register_net_hooks(net, ops, num_ops); in ipt_register_table()
/linux-6.1.9/include/linux/ceph/
Dosd_client.h492 unsigned int num_ops,
501 unsigned int which, int num_ops,
/linux-6.1.9/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-6.1.9/net/ceph/
Dosd_client.c542 unsigned int num_ops, in ceph_osdc_alloc_request() argument
549 BUG_ON(num_ops > CEPH_OSD_SLAB_OPS); in ceph_osdc_alloc_request()
551 } else if (num_ops <= CEPH_OSD_SLAB_OPS) { in ceph_osdc_alloc_request()
554 BUG_ON(num_ops > CEPH_OSD_MAX_OPS); in ceph_osdc_alloc_request()
555 req = kmalloc(struct_size(req, r_ops, num_ops), gfp_flags); in ceph_osdc_alloc_request()
563 req->r_num_ops = num_ops; in ceph_osdc_alloc_request()
1047 unsigned int which, int num_ops, in ceph_osdc_new_request() argument
1064 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, use_mempool, in ceph_osdc_new_request()
1103 if (num_ops > 1) in ceph_osdc_new_request()
1109 r = __ceph_osdc_alloc_messages(req, GFP_NOFS, num_ops, 0); in ceph_osdc_new_request()
[all …]
/linux-6.1.9/sound/soc/
Dsoc-topology.c511 int num_ops, i; in soc_tplg_kcontrol_bind_io() local
542 num_ops = tplg->bytes_ext_ops_count; in soc_tplg_kcontrol_bind_io()
543 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
561 num_ops = tplg->io_ops_count; in soc_tplg_kcontrol_bind_io()
562 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
578 num_ops = ARRAY_SIZE(io_ops); in soc_tplg_kcontrol_bind_io()
579 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
/linux-6.1.9/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-6.1.9/drivers/block/
Drbd.c1409 struct ceph_snap_context *snapc, int num_ops) in __rbd_obj_add_osd_request() argument
1418 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, false, GFP_NOIO); in __rbd_obj_add_osd_request()
1443 rbd_obj_add_osd_request(struct rbd_obj_request *obj_req, int num_ops) in rbd_obj_add_osd_request() argument
1446 num_ops); in rbd_obj_add_osd_request()
2040 int num_ops = 1; in rbd_object_map_update() local
2048 num_ops++; /* assert_locked */ in rbd_object_map_update()
2051 req = ceph_osdc_alloc_request(osdc, NULL, num_ops, false, GFP_NOIO); in rbd_object_map_update()
2949 int num_ops = count_write_ops(obj_req); in rbd_obj_write_object() local
2954 num_ops++; /* stat */ in rbd_obj_write_object()
2956 osd_req = rbd_obj_add_osd_request(obj_req, num_ops); in rbd_obj_write_object()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13281 u32 offset, len, num_ops; in bnx2x_check_firmware() local
13308 num_ops = be32_to_cpu(fw_hdr->init_ops.len) / sizeof(struct raw_op); in bnx2x_check_firmware()
13311 if (be16_to_cpu(ops_offsets[i]) > num_ops) { in bnx2x_check_firmware()