Lines Matching refs:NR_CPUS
17 typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t;
36 #if NR_CPUS == 1
47 #define nr_cpumask_bits ((unsigned int)NR_CPUS)
101 #if NR_CPUS > 1
148 #if NR_CPUS == 1
312 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
800 extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS);
817 bitmap_zero(cpumask_bits(&__cpu_possible_mask), NR_CPUS); in reset_cpu_possible_mask()
877 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
888 #if NR_CPUS <= BITS_PER_LONG
891 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
898 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
899 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
920 #if NR_CPUS <= BITS_PER_LONG
923 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
928 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
929 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
935 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \