Home
last modified time | relevance | path

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

1234

/linux-6.12.1/tools/lib/perf/
Dcpumap.c14 void perf_cpu_map__set_nr(struct perf_cpu_map *map, int nr_cpus) in perf_cpu_map__set_nr()
19 struct perf_cpu_map *perf_cpu_map__alloc(int nr_cpus) in perf_cpu_map__alloc()
77 int nr_cpus, nr_cpus_conf; in cpu_map__new_sysconf() local
136 static struct perf_cpu_map *cpu_map__trim_new(int nr_cpus, const struct perf_cpu *tmp_cpus) in cpu_map__trim_new()
164 int nr_cpus = 0; in perf_cpu_map__read() local
222 int i, nr_cpus = 0; in perf_cpu_map__new() local
Devlist.c327 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in perf_evlist__alloc_pollfd() local
553 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in mmap_per_thread() local
595 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in mmap_per_cpu() local
/linux-6.12.1/tools/tracing/rtla/src/
Dtimerlat_u.c106 static int timerlat_u_send_kill(pid_t *procs, int nr_cpus) in timerlat_u_send_kill()
138 int nr_cpus = sysconf(_SC_NPROCESSORS_CONF); in timerlat_u_dispatcher() local
Dosnoise_top.c69 int nr_cpus; member
85 static struct osnoise_top_data *osnoise_alloc_top(int nr_cpus) in osnoise_alloc_top()
264 static int nr_cpus = -1; in osnoise_print_stats() local
645 int nr_cpus; in osnoise_init_top() local
Dtimerlat_top.c79 int nr_cpus; member
95 static struct timerlat_top_data *timerlat_alloc_top(int nr_cpus) in timerlat_alloc_top()
410 static int nr_cpus = -1; in timerlat_print_stats() local
869 int nr_cpus; in timerlat_init_top() local
Dosnoise_hist.c64 int nr_cpus; member
92 *osnoise_alloc_histogram(int nr_cpus, int entries, int bucket_size) in osnoise_alloc_histogram()
813 int nr_cpus; in osnoise_init_hist() local
Dtimerlat_hist.c86 int nr_cpus; member
121 *timerlat_alloc_histogram(int nr_cpus, int entries, int bucket_size) in timerlat_alloc_histogram()
1100 int nr_cpus; in timerlat_init_hist() local
/linux-6.12.1/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
Dlwt_len_hist_user.c31 unsigned int nr_cpus = bpf_num_possible_cpus(); in main() local
/linux-6.12.1/tools/testing/selftests/kvm/lib/aarch64/
Dgic.c25 static void gic_dist_init(enum gic_type type, unsigned int nr_cpus) in gic_dist_init()
51 void gic_init(enum gic_type type, unsigned int nr_cpus) in gic_init()
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dvgic_lpi_stress.c34 u32 nr_cpus; member
68 u32 nr_cpus = test_data.nr_cpus; in guest_setup_its_mappings() local
185 u32 nr_cpus = test_data.nr_cpus; in setup_test_data() local
/linux-6.12.1/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()
752 int i, nr_cpus; in svg_build_topology_map() local
Dbpf_kwork_top.c126 int idx, nr_cpus, fd; in setup_filters() local
270 int i, fd, nr_cpus; in perf_kwork__top_read_bpf() local
Dtop.c31 int nr_cpus; in perf_top__header_snprintf() local
/linux-6.12.1/drivers/powercap/
Ddtpm_cpu.c48 int i, nr_cpus; in set_pd_power_limit() local
124 int nr_cpus; in update_pd_power_uw() local
/linux-6.12.1/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
/linux-6.12.1/arch/arm64/kvm/vgic/
Dvgic-debug.c26 int nr_cpus; member
97 int nr_cpus = atomic_read(&kvm->online_vcpus); in iter_init() local
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_map_lookup_percpu_elem.c10 const volatile int nr_cpus; variable
/linux-6.12.1/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
Dbench_bpf_hashmap_full_update.c67 unsigned int nr_cpus = bpf_num_possible_cpus(); in hashmap_report_final() local
/linux-6.12.1/tools/testing/selftests/sched_ext/
Ddsp_local_on.bpf.c9 const volatile s32 nr_cpus; variable
/linux-6.12.1/tools/sched_ext/
Dscx_simple.c43 int nr_cpus = libbpf_num_possible_cpus(); in read_stats() local

1234