Symbol: libbpf_num_possible_cpus
samples/bpf/xdp_sample_user.c
1105
int nr_cpus = libbpf_num_possible_cpus();
samples/bpf/xdp_sample_user.c
1197
sample_n_cpus = libbpf_num_possible_cpus();
samples/bpf/xdp_sample_user.c
317
unsigned int nr_cpus = libbpf_num_possible_cpus();
samples/bpf/xdp_sample_user.c
343
unsigned int nr_cpus = libbpf_num_possible_cpus();
samples/bpf/xdp_sample_user.h
73
skel->rodata->nr_cpus = libbpf_num_possible_cpus(); \
tools/bpf/bpftool/common.c
649
int cpus = libbpf_num_possible_cpus();
tools/bpf/bpftool/prog.c
2474
num_cpu = libbpf_num_possible_cpus();
tools/lib/bpf/libbpf.c
10958
int num_cpu = libbpf_num_possible_cpus();
tools/lib/bpf/libbpf.c
13870
pb->cpu_cnt = libbpf_num_possible_cpus();
tools/lib/bpf/libbpf.c
5535
nr_cpus = libbpf_num_possible_cpus();
tools/perf/util/bpf_counter.c
291
int num_cpu_bpf = libbpf_num_possible_cpus();
tools/perf/util/bpf_counter.c
470
bpf_map__set_max_entries(skel->maps.events, libbpf_num_possible_cpus());
tools/perf/util/bpf_kwork.c
167
nr_cpus = libbpf_num_possible_cpus();
tools/perf/util/bpf_kwork_top.c
142
nr_cpus = libbpf_num_possible_cpus();
tools/perf/util/bpf_kwork_top.c
280
nr_cpus = libbpf_num_possible_cpus();
tools/sched_ext/scx_central.c
63
skel->rodata->nr_cpu_ids = libbpf_num_possible_cpus();
tools/sched_ext/scx_cpu0.c
42
int nr_cpus = libbpf_num_possible_cpus();
tools/sched_ext/scx_cpu0.c
75
skel->rodata->nr_cpus = libbpf_num_possible_cpus();
tools/sched_ext/scx_flatcg.c
147
skel->rodata->nr_cpus = libbpf_num_possible_cpus();
tools/sched_ext/scx_pair.c
59
skel->rodata->nr_cpu_ids = libbpf_num_possible_cpus();
tools/sched_ext/scx_simple.c
44
int nr_cpus = libbpf_num_possible_cpus();
tools/sched_ext/scx_userland.c
388
skel->rodata->num_possible_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/bpf_util.h
15
int possible_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/map_tests/array_map_batch_ops.c
158
nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/cpumask.c
47
skel->bss->nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/get_branch_snapshot.c
46
cpu_cnt = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/global_map_resize.c
115
new_sz = sizeof(skel->data_percpu_arr->percpu_arr[0]) * libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/global_map_resize.c
45
new_sz = sizeof(skel->data_percpu_arr->percpu_arr[0]) * libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/map_kptr.c
43
cpu = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/map_kptr_race.c
98
skel->rodata->nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/map_lookup_percpu_elem.c
11
int ret, i, nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
24
skel->rodata->nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
306
nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
360
nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
57
skel->rodata->nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/percpu_alloc.c
92
skel->rodata->nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/perf_buffer.c
56
nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/refcounted_kptr.c
61
cpu_nr = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/res_spin_lock.c
105
if (libbpf_num_possible_cpus() < 3) {
tools/testing/selftests/bpf/prog_tests/sk_bypass_prot_mem.c
207
skel->bss->nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c
730
nr_threads = libbpf_num_possible_cpus();
tools/testing/selftests/bpf/test_progs.c
1999
env.nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/sched_ext/dsp_local_on.c
20
skel->rodata->nr_cpus = libbpf_num_possible_cpus();
tools/testing/selftests/sched_ext/exit.c
30
if (tc == EXIT_SELECT_CPU && libbpf_num_possible_cpus() == 1)