Searched refs:nrcpus (Results 1 – 9 of 9) sorted by relevance
21 int nrcpus = cpu__max_cpu().cpu; in sched__get_first_possible_cpu() local22 size_t size = CPU_ALLOC_SIZE(nrcpus); in sched__get_first_possible_cpu()28 if (errno == EINVAL && nrcpus < (cpu__max_cpu().cpu << 8)) { in sched__get_first_possible_cpu()29 nrcpus = nrcpus << 2; in sched__get_first_possible_cpu()36 for (i = 0; i < nrcpus; i++) { in sched__get_first_possible_cpu()57 int nrcpus = cpu__max_cpu().cpu; in test__PERF_RECORD() local77 cpu_mask = CPU_ALLOC(nrcpus); in test__PERF_RECORD()83 cpu_mask_size = CPU_ALLOC_SIZE(nrcpus); in test__PERF_RECORD()
136 int nrcpus; in bench_futex_hash() local182 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() local109 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() local133 cpuset = CPU_ALLOC(nrcpus); in create_threads()135 size = CPU_ALLOC_SIZE(nrcpus); in create_threads()
229 int nrcpus; in do_threads() local235 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() local136 cpuset = CPU_ALLOC(nrcpus); in block_threads()138 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
155 int nrcpus = cpu__max_cpu().cpu; in block_threads() local160 cpuset = CPU_ALLOC(nrcpus); in block_threads()162 size = CPU_ALLOC_SIZE(nrcpus); in block_threads()
956 static int __init nrcpus(char *str) in nrcpus() function 966 early_param("nr_cpus", nrcpus);
3429 FEAT_OPR(NRCPUS, nrcpus, false),