Home
last modified time | relevance | path

Searched refs:nrcpus (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/tools/perf/tests/
Dperf-record.c19 int i, cpu = -1, nrcpus = 1024; in sched__get_first_possible_cpu() local
24 if (errno == EINVAL && nrcpus < (1024 << 8)) { in sched__get_first_possible_cpu()
25 nrcpus = nrcpus << 2; in sched__get_first_possible_cpu()
32 for (i = 0; i < nrcpus; i++) { in sched__get_first_possible_cpu()
/linux-6.12.1/tools/perf/bench/
Dfutex-hash.c132 int nrcpus; in bench_futex_hash() local
177 nrcpus = cpu__max_cpu().cpu; in bench_futex_hash()
178 cpuset = CPU_ALLOC(nrcpus); in bench_futex_hash()
180 size = CPU_ALLOC_SIZE(nrcpus); in bench_futex_hash()
Dfutex-wake.c103 int nrcpus = cpu__max_cpu().cpu; in block_threads() local
106 cpuset = CPU_ALLOC(nrcpus); in block_threads()
108 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
Dfutex-lock-pi.c125 int nrcpus = cpu__max_cpu().cpu; in create_threads() local
130 cpuset = CPU_ALLOC(nrcpus); in create_threads()
132 size = CPU_ALLOC_SIZE(nrcpus); in create_threads()
Depoll-ctl.c229 int nrcpus; in do_threads() local
235 nrcpus = cpu__max_cpu().cpu; in do_threads()
236 cpuset = CPU_ALLOC(nrcpus); in do_threads()
238 size = CPU_ALLOC_SIZE(nrcpus); in do_threads()
Dfutex-requeue.c128 int nrcpus = cpu__max_cpu().cpu; in block_threads() local
133 cpuset = CPU_ALLOC(nrcpus); in block_threads()
135 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
Dfutex-wake-parallel.c152 int nrcpus = cpu__max_cpu().cpu; in block_threads() local
157 cpuset = CPU_ALLOC(nrcpus); in block_threads()
159 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
Depoll-wait.c298 int nrcpus; in do_threads() local
312 nrcpus = cpu__max_cpu().cpu; in do_threads()
313 cpuset = CPU_ALLOC(nrcpus); in do_threads()
315 size = CPU_ALLOC_SIZE(nrcpus); in do_threads()
Dnuma.c272 int nrcpus = numa_num_possible_cpus(); in bind_to_cpu() local
276 orig_mask = CPU_ALLOC(nrcpus); in bind_to_cpu()
278 size = CPU_ALLOC_SIZE(nrcpus); in bind_to_cpu()
284 mask = CPU_ALLOC(nrcpus); in bind_to_cpu()
319 int nrcpus = numa_num_possible_cpus(); in bind_to_node() local
324 orig_mask = CPU_ALLOC(nrcpus); in bind_to_node()
326 size = CPU_ALLOC_SIZE(nrcpus); in bind_to_node()
332 mask = CPU_ALLOC(nrcpus); in bind_to_node()
/linux-6.12.1/kernel/
Dsmp.c964 static int __init nrcpus(char *str) in nrcpus() function
974 early_param("nr_cpus", nrcpus);
/linux-6.12.1/tools/perf/util/
Dheader.c3441 FEAT_OPR(NRCPUS, nrcpus, false),