Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/tools/lib/perf/
Dcpumap.c51 int nr_cpus; in cpu_map__default_new() local
76 static struct perf_cpu_map *cpu_map__trim_new(int nr_cpus, int *tmp_cpus) in cpu_map__trim_new()
102 int nr_cpus = 0; in perf_cpu_map__read() local
176 int i, nr_cpus = 0; in perf_cpu_map__new() local
/kernel/linux/linux-5.10/samples/bpf/
Dtracex3_user.c20 unsigned int nr_cpus = bpf_num_possible_cpus(); in clear_stats() local
77 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
Dxdp_monitor_user.c186 unsigned int nr_cpus = bpf_num_possible_cpus(); in map_collect_record() local
223 unsigned int nr_cpus = bpf_num_possible_cpus(); in map_collect_record_u64() local
333 unsigned int nr_cpus = bpf_num_possible_cpus(); in stats_print() local
545 unsigned int nr_cpus = bpf_num_possible_cpus(); in alloc_rec_per_cpu() local
Dxdp_rxq_info_user.c199 unsigned int nr_cpus = bpf_num_possible_cpus(); in alloc_record_per_cpu() local
258 unsigned int nr_cpus = bpf_num_possible_cpus(); in map_collect_percpu() local
339 unsigned int nr_cpus = bpf_num_possible_cpus(); in stats_print() local
Dxdp1_user.c46 unsigned int nr_cpus = bpf_num_possible_cpus(); in poll_stats() local
Dtracex6_user.c77 int i, status, nr_cpus = sysconf(_SC_NPROCESSORS_CONF); in test_perf_event_array() local
Dxdp_redirect_map_user.c65 unsigned int nr_cpus = bpf_num_possible_cpus(); in poll_stats() local
Dxdp_redirect_user.c65 unsigned int nr_cpus = bpf_num_possible_cpus(); in poll_stats() local
Dsampleip_user.c27 static int nr_cpus; variable
Dxdp_tx_iptunnel_user.c54 unsigned int nr_cpus = bpf_num_possible_cpus(); in poll_stats() local
Dxdp_redirect_cpu_user.c201 unsigned int nr_cpus = bpf_num_possible_cpus(); in map_collect_percpu() local
245 unsigned int nr_cpus = bpf_num_possible_cpus(); in alloc_record_per_cpu() local
356 unsigned int nr_cpus = bpf_num_possible_cpus(); in stats_print() local
Dtracex2_user.c45 unsigned int nr_cpus = bpf_num_possible_cpus(); in print_hist_for_pid() local
Dtrace_event_user.c139 int nr_cpus = sysconf(_SC_NPROCESSORS_ONLN); in test_perf_event_all_cpu() local
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/
Dauxtrace.c21 int ret, i, nr_cpus = sysconf(_SC_NPROCESSORS_CONF); in find_all_arm_spe_pmus() local
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dperf_buffer.c48 int err, on_len, nr_on_cpus = 0, nr_cpus, i; in 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
Dmap_init.c10 static int nr_cpus; variable
/kernel/linux/linux-5.10/fs/fscache/
Dmain.c140 unsigned int nr_cpus = num_possible_cpus(); in fscache_init() local
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_maps.c149 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_hashmap_percpu() local
402 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_arraymap_percpu() local
461 unsigned int nr_cpus = bpf_num_possible_cpus(); in test_arraymap_percpu_many_keys() local
/kernel/linux/linux-5.10/tools/virtio/virtio-trace/
Dtrace-agent.c31 int nr_cpus = (int)sysconf(_SC_NPROCESSORS_CONF); in get_total_cpus() local
/kernel/linux/linux-5.10/arch/s390/appldata/
Dappldata_os.c60 u32 nr_cpus; /* number of (virtual) CPUs */ member

123