Lines Matching refs:NR_CPUS
1396 ai->groups[0].cpu_map[unit] = NR_CPUS; in pcpu_alloc_alloc_info()
1462 if (gi->cpu_map[unit] != NR_CPUS) in pcpu_dump_alloc_info()
1578 pcpu_low_unit_cpu = NR_CPUS; in pcpu_setup_first_chunk()
1579 pcpu_high_unit_cpu = NR_CPUS; in pcpu_setup_first_chunk()
1589 if (cpu == NR_CPUS) in pcpu_setup_first_chunk()
1600 if (pcpu_low_unit_cpu == NR_CPUS || in pcpu_setup_first_chunk()
1603 if (pcpu_high_unit_cpu == NR_CPUS || in pcpu_setup_first_chunk()
1780 static int group_map[NR_CPUS] __initdata; in pcpu_build_alloc_info()
1781 static int group_cnt[NR_CPUS] __initdata; in pcpu_build_alloc_info()
1972 unsigned int cpu = NR_CPUS; in pcpu_embed_first_chunk()
1975 for (i = 0; i < gi->nr_units && cpu == NR_CPUS; i++) in pcpu_embed_first_chunk()
1977 BUG_ON(cpu == NR_CPUS); in pcpu_embed_first_chunk()
2002 if (gi->cpu_map[i] == NR_CPUS) { in pcpu_embed_first_chunk()
2179 unsigned long __per_cpu_offset[NR_CPUS] __read_mostly;