Home
last modified time | relevance | path

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

/linux-6.15/fs/xfs/libxfs/
H A Dxfs_trans_resv.c71 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()
98 unsigned int num_ops) in xfs_rtrefcountbt_block_count() argument
100 return num_ops * (2 * mp->m_rtrefc_maxlevels - 1); in xfs_rtrefcountbt_block_count()
231 unsigned int num_ops) in xfs_rtalloc_block_count() argument
239 t1 = (rtbmp_blocks + 1) * num_ops; in xfs_rtalloc_block_count()
242 t2 = num_ops * (2 * mp->m_rtrmap_maxlevels - 1); in xfs_rtalloc_block_count()
H A Dxfs_trans_resv.h99 uint xfs_allocfree_block_count(struct xfs_mount *mp, uint num_ops);
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_pt_types.h104 u32 num_ops; member
H A Dxe_migrate.c1281 for (i = 0; i < pt_update_ops->num_ops; ++i) { in xe_migrate_update_pgtables_cpu()
1327 for (i = 0; i < pt_update_ops->num_ops; ++i) { in __xe_migrate_update_pgtables()
1395 for (; i < pt_update_ops->num_ops; ++i) { in __xe_migrate_update_pgtables()
1432 for (i = 0; i < pt_update_ops->num_ops; ++i) { in __xe_migrate_update_pgtables()
1450 for (i = 0; i < pt_update_ops->num_ops; ++i) { in __xe_migrate_update_pgtables()
H A Dxe_vm.c786 if (!vops->pt_update_ops[i].num_ops) in xe_vma_ops_alloc()
790 kmalloc_array(vops->pt_update_ops[i].num_ops, in xe_vma_ops_alloc()
815 ++vops->pt_update_ops[i].num_ops; in xe_vma_ops_incr_pt_update_ops()
2845 if (vops->pt_update_ops[id].num_ops) in vm_ops_setup_tile_args()
2887 if (!vops->pt_update_ops[id].num_ops) in ops_execute()
2900 if (!vops->pt_update_ops[id].num_ops) in ops_execute()
2925 if (!vops->pt_update_ops[id].num_ops) in ops_execute()
2935 if (!vops->pt_update_ops[id].num_ops) in ops_execute()
H A Dxe_pt.c2103 pt_update_ops->num_ops); in xe_pt_update_ops_prepare()
2484 for (i = pt_update_ops->num_ops - 1; i >= 0; --i) { in xe_pt_update_ops_abort()
/linux-6.15/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()
/linux-6.15/fs/ceph/
H A Daddr.c594 int num_ops; member
1044 ceph_wbc->num_ops = 0; in ceph_init_writeback_ctl()
1208 ceph_wbc->num_ops = 1; in ceph_allocate_page_array()
1228 return ceph_wbc->num_ops >= in is_num_ops_too_big()
1349 ceph_wbc->num_ops++; in ceph_process_folio_batch()
1420 offset, &len, 0, ceph_wbc->num_ops, in ceph_submit_write()
1428 min(ceph_wbc->num_ops, in ceph_submit_write()
1556 BUG_ON(ceph_wbc->num_ops <= req->r_num_ops); in ceph_submit_write()
1557 ceph_wbc->num_ops -= req->r_num_ops; in ceph_submit_write()
1568 BUG_ON(ceph_wbc->num_ops != req->r_num_ops); in ceph_submit_write()
/linux-6.15/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_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 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_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-6.15/include/linux/ceph/
H A Dosd_client.h544 unsigned int num_ops,
553 unsigned int which, int num_ops,
/linux-6.15/sound/soc/
H A Dsoc-topology.c462 int num_ops, i; in soc_tplg_kcontrol_bind_io() local
493 num_ops = tplg->bytes_ext_ops_count; in soc_tplg_kcontrol_bind_io()
494 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
512 num_ops = tplg->io_ops_count; in soc_tplg_kcontrol_bind_io()
513 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
529 num_ops = ARRAY_SIZE(io_ops); in soc_tplg_kcontrol_bind_io()
530 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
/linux-6.15/net/ceph/
H A Dosd_client.c546 unsigned int num_ops, in ceph_osdc_alloc_request() argument
553 BUG_ON(num_ops > CEPH_OSD_SLAB_OPS); in ceph_osdc_alloc_request()
558 BUG_ON(num_ops > CEPH_OSD_MAX_OPS); in ceph_osdc_alloc_request()
567 req->r_num_ops = num_ops; in ceph_osdc_alloc_request()
1116 if (num_ops > 1) { in ceph_osdc_new_request()
1125 num_req_ops = num_ops; in ceph_osdc_new_request()
1129 num_rep_ops = num_ops; in ceph_osdc_new_request()
3656 int num_ops; member
3697 for (i = 0; i < m->num_ops; i++) { in decode_MOSDOpReply()
3705 for (i = 0; i < m->num_ops; i++) in decode_MOSDOpReply()
[all …]
/linux-6.15/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_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-6.15/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_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-6.15/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 …]
/linux-6.15/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()