/linux/drivers/irqchip/ |
H A D | irq-riscv-imsic-state.c | 135 for_each_set_bit(i, lpriv->dirty_bitmap, imsic->global.nr_ids + 1) { in __imsic_local_sync() 173 bitmap_fill(lpriv->dirty_bitmap, imsic->global.nr_ids + 1); in imsic_local_sync_all() 365 if (!lpriv || imsic->global.nr_ids < local_id) in imsic_vector_from_local_id() 438 lpriv->dirty_bitmap = bitmap_zalloc(global->nr_ids + 1, GFP_KERNEL); in imsic_local_init() 448 lpriv->vectors = kcalloc(global->nr_ids + 1, sizeof(*lpriv->vectors), in imsic_local_init() 454 for (i = 0; i <= global->nr_ids; i++) { in imsic_local_init() 500 imsic->matrix = irq_alloc_matrix(global->nr_ids + 1, in imsic_matrix_init() 501 0, global->nr_ids + 1); in imsic_matrix_init() 553 &global->nr_ids); in imsic_populate_global_dt() 563 global->nr_guest_ids = global->nr_ids; in imsic_populate_global_dt() [all …]
|
H A D | irq-riscv-imsic-platform.c | 345 imsic->fwnode, global->nr_ids, &global->base_addr); in imsic_irqdomain_init() 347 imsic->fwnode, num_possible_cpus() * (global->nr_ids - 1)); in imsic_irqdomain_init()
|
H A D | irq-gic-v3-its.c | 2219 static unsigned long *its_lpi_alloc(int nr_irqs, u32 *base, int *nr_ids) in its_lpi_alloc() argument 2242 *nr_ids = nr_irqs; in its_lpi_alloc() 2246 *base = *nr_ids = 0; in its_lpi_alloc() 2251 static void its_lpi_free(unsigned long *bitmap, u32 base, u32 nr_ids) in its_lpi_free() argument 2253 WARN_ON(free_lpi_range(base, nr_ids)); in its_lpi_free() 4629 int base, nr_ids, i, err = 0; in its_vpe_irq_domain_alloc() local 4631 bitmap = its_lpi_alloc(roundup_pow_of_two(nr_irqs), &base, &nr_ids); in its_vpe_irq_domain_alloc() 4635 if (nr_ids < nr_irqs) { in its_vpe_irq_domain_alloc() 4636 its_lpi_free(bitmap, base, nr_ids); in its_vpe_irq_domain_alloc() 4642 its_lpi_free(bitmap, base, nr_ids); in its_vpe_irq_domain_alloc() [all …]
|
/linux/arch/riscv/kvm/ |
H A D | aia_device.c | 118 aia->nr_ids = *nr; in aia_config() 120 *nr = aia->nr_ids; in aia_config() 270 if (aia->nr_ids < aia->nr_sources) in aia_init() 657 aia->nr_ids = kvm_riscv_aia_max_ids - 1; in kvm_riscv_aia_init_vm()
|
/linux/include/linux/irqchip/ |
H A D | riscv-imsic.h | 67 u32 nr_ids; member
|
/linux/arch/riscv/include/asm/ |
H A D | kvm_aia.h | 28 u32 nr_ids; member
|
/linux/net/core/ |
H A D | net-sysfs.c | 1540 unsigned int nr_ids; in xps_queue_show() local 1549 nr_ids = dev_maps ? dev_maps->nr_ids : in xps_queue_show() 1552 mask = bitmap_zalloc(nr_ids, GFP_NOWAIT); in xps_queue_show() 1561 for (j = 0; j < nr_ids; j++) { in xps_queue_show() 1579 len = bitmap_print_to_pagebuf(false, buf, mask, nr_ids); in xps_queue_show()
|
H A D | dev.c | 2525 for (j = 0; j < dev_maps->nr_ids; j++) in clean_xps_maps() 2629 unsigned int nr_ids; in __netif_set_xps_queue() local 2652 nr_ids = dev->num_rx_queues; in __netif_set_xps_queue() 2657 nr_ids = nr_cpu_ids; in __netif_set_xps_queue() 2669 dev_maps->num_tc == num_tc && dev_maps->nr_ids == nr_ids) in __netif_set_xps_queue() 2673 for (j = -1; j = netif_attrmask_next_and(j, online_mask, mask, nr_ids), in __netif_set_xps_queue() 2674 j < nr_ids;) { in __netif_set_xps_queue() 2682 new_dev_maps->nr_ids = nr_ids; in __netif_set_xps_queue() 2706 for (j = 0; j < nr_ids; j++) { in __netif_set_xps_queue() 2710 if (netif_attr_test_mask(j, mask, nr_ids) && in __netif_set_xps_queue() [all …]
|
/linux/tools/perf/Documentation/ |
H A D | perf.data-file-format.txt | 146 uint32_t nr_ids; 148 uint64_t ids[nr_ids];
|
/linux/tools/perf/util/ |
H A D | header.c | 4217 int nr_attrs, nr_ids, i, j, err; in evsel__prepare_tracepoint_event() 4293 nr_ids = f_attr.ids.size / sizeof(u64); in perf_session__read_header() 4299 if (perf_evsel__alloc_id(&evsel->core, 1, nr_ids)) in perf_session__read_header() 4304 for (j = 0; j < nr_ids; j++) { in perf_session__read_header() 4247 int nr_attrs, nr_ids, i, j, err; perf_session__read_header() local
|
/linux/include/linux/ |
H A D | netdevice.h | 790 unsigned int nr_ids; member
|