Home
last modified time | relevance | path

Searched defs:nr_cpus (Results 1 – 25 of 72) sorted by relevance

123

/linux-6.3-rc2/tools/lib/perf/
A Dcpumap.c13 static struct perf_cpu_map *perf_cpu_map__alloc(int nr_cpus) in perf_cpu_map__alloc()
60 int nr_cpus; in cpu_map__default_new() local
90 static struct perf_cpu_map *cpu_map__trim_new(int nr_cpus, const struct perf_cpu *tmp_cpus) in cpu_map__trim_new()
114 int nr_cpus = 0; in perf_cpu_map__read() local
188 int i, nr_cpus = 0; in perf_cpu_map__new() local
A Devlist.c306 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in perf_evlist__alloc_pollfd() local
532 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in mmap_per_thread() local
574 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in mmap_per_cpu() local
/linux-6.3-rc2/samples/bpf/
A Dxdp_sample_user.c317 unsigned int nr_cpus = libbpf_num_possible_cpus(); in alloc_record_per_cpu() local
382 unsigned int nr_cpus = bpf_num_possible_cpus(); in map_collect_percpu_devmap() local
693 unsigned int nr_cpus) in stats_get_cpumap_enqueue()
747 unsigned int nr_cpus) in stats_get_cpumap_remote()
786 unsigned int nr_cpus) in stats_get_cpumap_kthread()
824 unsigned int nr_cpus, in stats_get_redirect_cnt()
856 unsigned int nr_cpus, in stats_get_redirect_err_cnt()
905 unsigned int nr_cpus, in stats_get_exception_cnt()
950 unsigned int nr_cpus, in stats_get_devmap_xmit()
1002 unsigned int nr_cpus, in stats_get_devmap_xmit_multi()
[all …]
A Dtracex3_user.c19 unsigned int nr_cpus = bpf_num_possible_cpus(); in clear_stats() local
76 unsigned int nr_cpus = bpf_num_possible_cpus(); in print_hist() local
A Dxdp_rxq_info_user.c208 unsigned int nr_cpus = bpf_num_possible_cpus(); in alloc_record_per_cpu() local
267 unsigned int nr_cpus = bpf_num_possible_cpus(); in map_collect_percpu() local
348 unsigned int nr_cpus = bpf_num_possible_cpus(); in stats_print() local
A Dlwt_len_hist_user.c31 unsigned int nr_cpus = bpf_num_possible_cpus(); in main() local
A Dxdp1_user.c45 unsigned int nr_cpus = bpf_num_possible_cpus(); in poll_stats() local
A Dtracex6_user.c76 int i, status, nr_cpus = sysconf(_SC_NPROCESSORS_CONF); in test_perf_event_array() local
/linux-6.3-rc2/tools/tracing/rtla/src/
A Dosnoise_top.c60 int nr_cpus; member
76 static struct osnoise_top_data *osnoise_alloc_top(int nr_cpus) in osnoise_alloc_top()
248 static int nr_cpus = -1; in osnoise_print_stats() local
562 int nr_cpus; in osnoise_init_top() local
A Dtimerlat_top.c58 int nr_cpus; member
74 static struct timerlat_top_data *timerlat_alloc_top(int nr_cpus) in timerlat_alloc_top()
250 static int nr_cpus = -1; in timerlat_print_stats() local
575 int nr_cpus; in timerlat_init_top() local
A Dtimerlat_hist.c65 int nr_cpus; member
96 *timerlat_alloc_histogram(int nr_cpus, int entries, int bucket_size) in timerlat_alloc_histogram()
758 int nr_cpus; in timerlat_init_hist() local
A Dosnoise_hist.c57 int nr_cpus; member
85 *osnoise_alloc_histogram(int nr_cpus, int entries, int bucket_size) in osnoise_alloc_histogram()
734 int nr_cpus; in osnoise_init_hist() local
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/aarch64/
A Dgic.c26 gic_dist_init(enum gic_type type, unsigned int nr_cpus, void *dist_base) in gic_dist_init()
52 void gic_init(enum gic_type type, unsigned int nr_cpus, in gic_init()
A Dgic_v3.c18 unsigned int nr_cpus; member
361 static void gicv3_init(unsigned int nr_cpus, void *dist_base) in gicv3_init()
/linux-6.3-rc2/drivers/powercap/
A Ddtpm_cpu.c49 int i, nr_cpus; in set_pd_power_limit() local
119 int nr_cpus; in update_pd_power_uw() local
/linux-6.3-rc2/arch/arm64/kvm/vgic/
A Dvgic-debug.c26 int nr_cpus; member
58 int nr_cpus = atomic_read(&kvm->online_vcpus); in iter_init() local
/linux-6.3-rc2/tools/perf/util/
A Dsvghelper.c700 int *pos, int nr_cpus) in scan_thread_topology()
715 static void scan_core_topology(int *map, struct topology *t, int nr_cpus) in scan_core_topology()
726 static int str_to_bitmap(char *s, cpumask_t *b, int nr_cpus) in str_to_bitmap()
754 int i, nr_cpus; in svg_build_topology_map() local
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dmap_lookup_percpu_elem.c11 int ret, i, nr_cpus = libbpf_num_possible_cpus(); in test_map_lookup_percpu_elem() local
A Dperf_buffer.c48 int err, on_len, nr_on_cpus = 0, nr_cpus, i, j; in serial_test_perf_buffer() local
A Dxdp_noinline.c8 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_xdp_noinline() local
A Dl4lb_all.c7 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_l4lb() local
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_map_lookup_percpu_elem.c10 const volatile int nr_cpus; variable
/linux-6.3-rc2/tools/testing/selftests/bpf/benchs/
A Dbench_bloom_filter_map.c208 unsigned int nr_cpus = bpf_num_possible_cpus(); in populate_maps() local
393 unsigned int nr_cpus = bpf_num_possible_cpus(); in measure() local
A Dbench_bpf_hashmap_full_update.c72 unsigned int nr_cpus = bpf_num_possible_cpus(); in hashmap_report_final() local
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dbootinfo.h29 int nr_cpus; member

Completed in 39 milliseconds

123