Home
last modified time | relevance | path

Searched refs:nr_ids (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/mm/damon/
Ddbgfs.c153 ssize_t *nr_ids) in str_to_target_ids() argument
160 *nr_ids = 0; in str_to_target_ids()
164 while (*nr_ids < max_nr_ids && pos < len) { in str_to_target_ids()
169 ids[*nr_ids] = id; in str_to_target_ids()
170 *nr_ids += 1; in str_to_target_ids()
176 static void dbgfs_put_pids(unsigned long *ids, int nr_ids) in dbgfs_put_pids() argument
180 for (i = 0; i < nr_ids; i++) in dbgfs_put_pids()
Dcore.c190 unsigned long *ids, ssize_t nr_ids) in damon_set_targets() argument
197 for (i = 0; i < nr_ids; i++) { in damon_set_targets()
/Linux-v5.15/include/linux/
Ddamon.h244 unsigned long *ids, ssize_t nr_ids);
Dnetdevice.h787 unsigned int nr_ids; member
/Linux-v5.15/net/core/
Dnet-sysfs.c1369 unsigned int nr_ids; in xps_queue_show() local
1378 nr_ids = dev_maps ? dev_maps->nr_ids : in xps_queue_show()
1381 mask = bitmap_zalloc(nr_ids, GFP_NOWAIT); in xps_queue_show()
1390 for (j = 0; j < nr_ids; j++) { in xps_queue_show()
1408 len = bitmap_print_to_pagebuf(false, buf, mask, nr_ids); in xps_queue_show()
Ddev.c2469 for (j = 0; j < dev_maps->nr_ids; j++) in clean_xps_maps()
2573 unsigned int nr_ids; in __netif_set_xps_queue() local
2594 nr_ids = dev->num_rx_queues; in __netif_set_xps_queue()
2599 nr_ids = nr_cpu_ids; in __netif_set_xps_queue()
2611 dev_maps->num_tc == num_tc && dev_maps->nr_ids == nr_ids) in __netif_set_xps_queue()
2615 for (j = -1; j = netif_attrmask_next_and(j, online_mask, mask, nr_ids), in __netif_set_xps_queue()
2616 j < nr_ids;) { in __netif_set_xps_queue()
2624 new_dev_maps->nr_ids = nr_ids; in __netif_set_xps_queue()
2648 for (j = 0; j < nr_ids; j++) { in __netif_set_xps_queue()
2652 if (netif_attr_test_mask(j, mask, nr_ids) && in __netif_set_xps_queue()
[all …]
/Linux-v5.15/drivers/irqchip/
Dirq-gic-v3-its.c2124 static unsigned long *its_lpi_alloc(int nr_irqs, u32 *base, int *nr_ids) in its_lpi_alloc() argument
2147 *nr_ids = nr_irqs; in its_lpi_alloc()
2151 *base = *nr_ids = 0; in its_lpi_alloc()
2156 static void its_lpi_free(unsigned long *bitmap, u32 base, u32 nr_ids) in its_lpi_free() argument
2158 WARN_ON(free_lpi_range(base, nr_ids)); in its_lpi_free()
4461 int base, nr_ids, i, err = 0; in its_vpe_irq_domain_alloc() local
4465 bitmap = its_lpi_alloc(roundup_pow_of_two(nr_irqs), &base, &nr_ids); in its_vpe_irq_domain_alloc()
4469 if (nr_ids < nr_irqs) { in its_vpe_irq_domain_alloc()
4470 its_lpi_free(bitmap, base, nr_ids); in its_vpe_irq_domain_alloc()
4476 its_lpi_free(bitmap, base, nr_ids); in its_vpe_irq_domain_alloc()
[all …]
/Linux-v5.15/tools/perf/Documentation/
Dperf.data-file-format.txt146 uint32_t nr_ids;
148 uint64_t ids[nr_ids];
/Linux-v5.15/tools/perf/util/
Dheader.c4005 int nr_attrs, nr_ids, i, j, err; in perf_session__read_header() local
4081 nr_ids = f_attr.ids.size / sizeof(u64); in perf_session__read_header()
4087 if (perf_evsel__alloc_id(&evsel->core, 1, nr_ids)) in perf_session__read_header()
4092 for (j = 0; j < nr_ids; j++) { in perf_session__read_header()