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
319 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
805 extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS);
822 bitmap_zero(cpumask_bits(&__cpu_possible_mask), NR_CPUS); in reset_cpu_possible_mask()
882 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)];
893 #if NR_CPUS <= BITS_PER_LONG
896 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
903 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
904 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
925 #if NR_CPUS <= BITS_PER_LONG
928 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
933 [0 ... BITS_TO_LONGS(NR_CPUS)-2] = ~0UL, \
934 [BITS_TO_LONGS(NR_CPUS)-1] = BITMAP_LAST_WORD_MASK(NR_CPUS) \
940 [0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \