Lines Matching refs:NR_CPUS
16 typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t;
35 #if NR_CPUS == 1
46 #define nr_cpumask_bits ((unsigned int)NR_CPUS)
98 #if NR_CPUS > 1
132 #if NR_CPUS == 1
296 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
771 extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS);
788 bitmap_zero(cpumask_bits(&__cpu_possible_mask), NR_CPUS); in reset_cpu_possible_mask()
855 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
866 #if NR_CPUS <= BITS_PER_LONG
869 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
876 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
877 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
898 #if NR_CPUS <= BITS_PER_LONG
901 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
906 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
907 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
913 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \