Home
last modified time | relevance | path

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

/linux/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/fs/ceph/
H A Daddr.c605 int num_ops; member
1052 ceph_wbc->num_ops = 0; in ceph_init_writeback_ctl()
1214 ceph_wbc->num_ops = 1; in ceph_allocate_page_array()
1234 return ceph_wbc->num_ops >= in is_num_ops_too_big()
1355 ceph_wbc->num_ops++; in ceph_process_folio_batch()
1424 offset, &len, 0, ceph_wbc->num_ops, in ceph_submit_write()
1432 min(ceph_wbc->num_ops, in ceph_submit_write()
1560 BUG_ON(ceph_wbc->num_ops <= req->r_num_ops); in ceph_submit_write()
1561 ceph_wbc->num_ops -= req->r_num_ops; in ceph_submit_write()
1572 BUG_ON(ceph_wbc->num_ops != req->r_num_ops); in ceph_submit_write()
/linux/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/sound/soc/
H A Dsoc-topology.c465 int num_ops, i; in soc_tplg_kcontrol_bind_io() local
496 num_ops = tplg->bytes_ext_ops_count; in soc_tplg_kcontrol_bind_io()
497 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
515 num_ops = tplg->io_ops_count; in soc_tplg_kcontrol_bind_io()
516 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
532 num_ops = ARRAY_SIZE(io_ops); in soc_tplg_kcontrol_bind_io()
533 for (i = 0; i < num_ops; i++) { in soc_tplg_kcontrol_bind_io()
/linux/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()
555 } else if (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()
559 req = kmalloc_flex(*req, r_ops, num_ops, gfp_flags); in ceph_osdc_alloc_request()
567 req->r_num_ops = num_ops; in ceph_osdc_alloc_request()
1059 unsigned int which, int num_ops, in ceph_osdc_new_request() argument
1077 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, use_mempool, in ceph_osdc_new_request()
1116 if (num_ops > 1) { in ceph_osdc_new_request()
1125 num_req_ops = num_ops; in ceph_osdc_new_request()
[all …]
/linux/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/include/linux/ceph/
H A Dosd_client.h544 unsigned int num_ops,
553 unsigned int which, int num_ops,
/linux/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/drivers/block/
H A 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/drivers/gpu/drm/xe/
H A Dxe_migrate.c1732 for (i = 0; i < pt_update_ops->num_ops; ++i) { in xe_migrate_update_pgtables_cpu()
1778 for (i = 0; i < pt_update_ops->num_ops; ++i) { in __xe_migrate_update_pgtables()
1846 for (; i < pt_update_ops->num_ops; ++i) { in __xe_migrate_update_pgtables()
1883 for (i = 0; i < pt_update_ops->num_ops; ++i) { in __xe_migrate_update_pgtables()
1901 for (i = 0; i < pt_update_ops->num_ops; ++i) { in __xe_migrate_update_pgtables()
H A Dxe_vm.c585 if (!vops->pt_update_ops[i].num_ops) in xe_vma_ops_alloc()
590 vops->pt_update_ops[i].num_ops, in xe_vma_ops_alloc()
640 vops->pt_update_ops[i].num_ops += inc_val; in xe_vma_ops_incr_pt_update_ops()
3124 if (vops->pt_update_ops[id].num_ops) in vm_ops_setup_tile_args()
3177 if (!vops->pt_update_ops[id].num_ops) in ops_execute()
3193 if (!vops->pt_update_ops[id].num_ops) in ops_execute()
3218 if (!vops->pt_update_ops[id].num_ops) in ops_execute()
3228 if (!vops->pt_update_ops[id].num_ops) in ops_execute()
H A Dxe_pt.c2288 pt_update_ops->num_ops); in xe_pt_update_ops_prepare()
2711 for (i = pt_update_ops->num_ops - 1; i >= 0; --i) { in xe_pt_update_ops_abort()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c13266 u32 offset, len, num_ops; in bnx2x_check_firmware() local
13293 num_ops = be32_to_cpu(fw_hdr->init_ops.len) / sizeof(struct raw_op); in bnx2x_check_firmware()
13296 if (be16_to_cpu(ops_offsets[i]) > num_ops) { in bnx2x_check_firmware()