Searched refs:nrcpus (Results 1 – 12 of 12) sorted by relevance
17 int i, cpu = -1, nrcpus = 1024; in sched__get_first_possible_cpu() local22 if (errno == EINVAL && nrcpus < (1024 << 8)) { in sched__get_first_possible_cpu()23 nrcpus = nrcpus << 2; in sched__get_first_possible_cpu()30 for (i = 0; i < nrcpus; i++) { in sched__get_first_possible_cpu()
132 int nrcpus; in bench_futex_hash() local177 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()
104 int nrcpus = perf_cpu_map__nr(cpu); in block_threads() local107 cpuset = CPU_ALLOC(nrcpus); in block_threads()109 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
126 int nrcpus = perf_cpu_map__nr(cpu); in create_threads() local131 cpuset = CPU_ALLOC(nrcpus); in create_threads()133 size = CPU_ALLOC_SIZE(nrcpus); in create_threads()
229 int nrcpus; in do_threads() local235 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()
129 int nrcpus = perf_cpu_map__nr(cpu); in block_threads() local134 cpuset = CPU_ALLOC(nrcpus); in block_threads()136 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
150 int nrcpus = perf_cpu_map__nr(cpu); in block_threads() local155 cpuset = CPU_ALLOC(nrcpus); in block_threads()157 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
298 int nrcpus; in do_threads() local312 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()
272 int nrcpus = numa_num_possible_cpus(); in bind_to_cpu() local276 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() local324 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()
1069 int nrcpus = atomic_read(&kvm->online_vcpus); in kvm_vm_ioctl_irq_line() local1085 if (vcpu_idx >= nrcpus) in kvm_vm_ioctl_irq_line()1100 if (vcpu_idx >= nrcpus) in kvm_vm_ioctl_irq_line()
1067 static int __init nrcpus(char *str) in nrcpus() function1077 early_param("nr_cpus", nrcpus);
3375 FEAT_OPR(NRCPUS, nrcpus, false),