Searched refs:nrcpus (Results 1 – 10 of 10) sorted by relevance
19 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()
136 int nrcpus; in bench_futex_hash() local 182 nrcpus = cpu__max_cpu().cpu; in bench_futex_hash() 183 cpuset = CPU_ALLOC(nrcpus); in bench_futex_hash() 185 size = CPU_ALLOC_SIZE(nrcpus); in bench_futex_hash()
106 int nrcpus = cpu__max_cpu().cpu; in block_threads() local 109 cpuset = CPU_ALLOC(nrcpus); in block_threads() 111 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
128 int nrcpus = cpu__max_cpu().cpu; in create_threads() local 133 cpuset = CPU_ALLOC(nrcpus); in create_threads() 135 size = CPU_ALLOC_SIZE(nrcpus); in create_threads()
229 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()
131 int nrcpus = cpu__max_cpu().cpu; in block_threads() local 136 cpuset = CPU_ALLOC(nrcpus); in block_threads() 138 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
298 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()
155 int nrcpus = cpu__max_cpu().cpu; in block_threads() local 160 cpuset = CPU_ALLOC(nrcpus); in block_threads() 162 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
274 int nrcpus = numa_num_possible_cpus(); in bind_to_cpu() local 278 orig_mask = CPU_ALLOC(nrcpus); in bind_to_cpu() 280 size = CPU_ALLOC_SIZE(nrcpus); in bind_to_cpu() 286 mask = CPU_ALLOC(nrcpus); in bind_to_cpu() 321 int nrcpus = numa_num_possible_cpus(); in bind_to_node() local 326 orig_mask = CPU_ALLOC(nrcpus); in bind_to_node() 328 size = CPU_ALLOC_SIZE(nrcpus); in bind_to_node() 334 mask = CPU_ALLOC(nrcpus); in bind_to_node()
957 static int __init nrcpus(char *str) in nrcpus() function 967 early_param("nr_cpus", nrcpus);