Home
last modified time | relevance | path

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

123

/linux-5.19.10/tools/lib/perf/
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
Devlist.c306 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in perf_evlist__alloc_pollfd() local
529 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in mmap_per_thread() local
571 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in mmap_per_cpu() local
/linux-5.19.10/samples/bpf/
Dxdp_sample_user.c317 unsigned int nr_cpus = libbpf_num_possible_cpus(); in alloc_record_per_cpu() local
343 unsigned int nr_cpus = libbpf_num_possible_cpus(); in map_collect_percpu() local
382 unsigned int nr_cpus = bpf_num_possible_cpus(); in map_collect_percpu_devmap() local
650 unsigned int nr_cpus, struct sample_output *out) in stats_get_rx_cnt()
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()
[all …]
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
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
Dlwt_len_hist_user.c31 unsigned int nr_cpus = bpf_num_possible_cpus(); in main() local
Dxdp1_user.c45 unsigned int nr_cpus = bpf_num_possible_cpus(); in poll_stats() local
Dtracex6_user.c76 int i, status, nr_cpus = sysconf(_SC_NPROCESSORS_CONF); in test_perf_event_array() local
/linux-5.19.10/tools/tracing/rtla/src/
Dosnoise_top.c54 int nr_cpus; member
70 static struct osnoise_top_data *osnoise_alloc_top(int nr_cpus) in osnoise_alloc_top()
220 static int nr_cpus = -1; in osnoise_print_stats() local
510 int nr_cpus; in osnoise_init_top() local
Dtimerlat_top.c54 int nr_cpus; member
70 static struct timerlat_top_data *timerlat_alloc_top(int nr_cpus) in timerlat_alloc_top()
241 static int nr_cpus = -1; in timerlat_print_stats() local
549 int nr_cpus; in timerlat_init_top() local
Dosnoise_hist.c57 int nr_cpus; member
85 *osnoise_alloc_histogram(int nr_cpus, int entries, int bucket_size) in osnoise_alloc_histogram()
731 int nr_cpus; in osnoise_init_hist() local
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
/linux-5.19.10/tools/testing/selftests/kvm/lib/aarch64/
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()
Dgic_v3.c18 unsigned int nr_cpus; member
361 static void gicv3_init(unsigned int nr_cpus, void *dist_base) in gicv3_init()
/linux-5.19.10/drivers/powercap/
Ddtpm_cpu.c49 int i, nr_cpus; in set_pd_power_limit() local
134 int nr_cpus; in update_pd_power_uw() local
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dmap_lookup_percpu_elem.c11 int ret, i, nr_cpus = libbpf_num_possible_cpus(); in test_map_lookup_percpu_elem() local
Dperf_buffer.c48 int err, on_len, nr_on_cpus = 0, nr_cpus, i, j; in serial_test_perf_buffer() local
Dxdp_noinline.c8 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_xdp_noinline() local
Dl4lb_all.c7 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_l4lb() local
/linux-5.19.10/arch/arm64/kvm/vgic/
Dvgic-debug.c26 int nr_cpus; member
58 int nr_cpus = atomic_read(&kvm->online_vcpus); in iter_init() local
/linux-5.19.10/tools/perf/util/
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-5.19.10/tools/testing/selftests/bpf/progs/
Dtest_map_lookup_percpu_elem.c10 const volatile int nr_cpus; variable
/linux-5.19.10/tools/testing/selftests/bpf/benchs/
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
/linux-5.19.10/tools/perf/arch/arm/util/
Dauxtrace.c21 int ret, i, nr_cpus = sysconf(_SC_NPROCESSORS_CONF); in find_all_arm_spe_pmus() local
/linux-5.19.10/arch/loongarch/include/asm/
Dbootinfo.h29 int nr_cpus; member

123