Searched refs:nrcpus (Results 1 – 12 of 12) sorted by relevance
19 int i, cpu = -1, nrcpus = 1024; in sched__get_first_possible_cpu() local24 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()
131 int nrcpus; in bench_futex_hash() local176 nrcpus = perf_cpu_map__nr(cpu); in bench_futex_hash()177 cpuset = CPU_ALLOC(nrcpus); in bench_futex_hash()179 size = CPU_ALLOC_SIZE(nrcpus); in bench_futex_hash()
103 int nrcpus = perf_cpu_map__nr(cpu); in block_threads() local106 cpuset = CPU_ALLOC(nrcpus); in block_threads()108 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
125 int nrcpus = perf_cpu_map__nr(cpu); in create_threads() local130 cpuset = CPU_ALLOC(nrcpus); in create_threads()132 size = CPU_ALLOC_SIZE(nrcpus); in create_threads()
228 int nrcpus; in do_threads() local234 nrcpus = perf_cpu_map__nr(cpu); in do_threads()235 cpuset = CPU_ALLOC(nrcpus); in do_threads()237 size = CPU_ALLOC_SIZE(nrcpus); in do_threads()
128 int nrcpus = perf_cpu_map__nr(cpu); in block_threads() local133 cpuset = CPU_ALLOC(nrcpus); in block_threads()135 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
297 int nrcpus; in do_threads() local311 nrcpus = perf_cpu_map__nr(cpu); in do_threads()312 cpuset = CPU_ALLOC(nrcpus); in do_threads()314 size = CPU_ALLOC_SIZE(nrcpus); in do_threads()
149 int nrcpus = perf_cpu_map__nr(cpu); in block_threads() local154 cpuset = CPU_ALLOC(nrcpus); in block_threads()156 size = CPU_ALLOC_SIZE(nrcpus); in block_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()
1064 int nrcpus = atomic_read(&kvm->online_vcpus); in kvm_vm_ioctl_irq_line() local1080 if (vcpu_idx >= nrcpus) in kvm_vm_ioctl_irq_line()1095 if (vcpu_idx >= nrcpus) in kvm_vm_ioctl_irq_line()
1068 static int __init nrcpus(char *str) in nrcpus() function1078 early_param("nr_cpus", nrcpus);
3358 FEAT_OPR(NRCPUS, nrcpus, false),