Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/tests/
H A 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()
/openbmc/linux/tools/perf/bench/
H A Dfutex-hash.c132 int nrcpus; in bench_futex_hash() local
177 nrcpus = perf_cpu_map__nr(cpu); in bench_futex_hash()
178 cpuset = CPU_ALLOC(nrcpus); in bench_futex_hash()
180 size = CPU_ALLOC_SIZE(nrcpus); in bench_futex_hash()
H A Dfutex-wake.c103 int nrcpus = perf_cpu_map__nr(cpu); in block_threads() local
106 cpuset = CPU_ALLOC(nrcpus); in block_threads()
108 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
H A Dfutex-lock-pi.c125 int nrcpus = perf_cpu_map__nr(cpu); in create_threads() local
130 cpuset = CPU_ALLOC(nrcpus); in create_threads()
132 size = CPU_ALLOC_SIZE(nrcpus); in create_threads()
H A Depoll-ctl.c229 int nrcpus; in do_threads() local
235 nrcpus = perf_cpu_map__nr(cpu); in do_threads()
236 cpuset = CPU_ALLOC(nrcpus); in do_threads()
238 size = CPU_ALLOC_SIZE(nrcpus); in do_threads()
H A Dfutex-requeue.c128 int nrcpus = perf_cpu_map__nr(cpu); in block_threads() local
133 cpuset = CPU_ALLOC(nrcpus); in block_threads()
135 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
H A Dfutex-wake-parallel.c152 int nrcpus = perf_cpu_map__nr(cpu); in block_threads() local
157 cpuset = CPU_ALLOC(nrcpus); in block_threads()
159 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
H A Depoll-wait.c298 int nrcpus; in do_threads() local
312 nrcpus = perf_cpu_map__nr(cpu); in do_threads()
313 cpuset = CPU_ALLOC(nrcpus); in do_threads()
315 size = CPU_ALLOC_SIZE(nrcpus); in do_threads()
H A 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()
/openbmc/linux/kernel/
H A Dsmp.c935 static int __init nrcpus(char *str) in nrcpus() function
945 early_param("nr_cpus", nrcpus);
/openbmc/linux/arch/arm64/kvm/
H A Darm.c1129 int nrcpus = atomic_read(&kvm->online_vcpus); in kvm_vm_ioctl_irq_line() local
1145 if (vcpu_idx >= nrcpus) in kvm_vm_ioctl_irq_line()
1160 if (vcpu_idx >= nrcpus) in kvm_vm_ioctl_irq_line()
/openbmc/openbmc/poky/documentation/profile-manual/
H A Dusage.rst1096 # nrcpus online : 2
1097 # nrcpus avail : 2
/openbmc/linux/tools/perf/util/
H A Dheader.c3422 FEAT_OPR(NRCPUS, nrcpus, false),