Lines Matching refs:nr_cpumask_bits
45 #define nr_cpumask_bits nr_cpu_ids macro
47 #define nr_cpumask_bits ((unsigned int)NR_CPUS) macro
144 cpu_max_bits_warn(cpu, nr_cpumask_bits); in cpumask_check()
214 return find_first_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_first()
225 return find_last_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_last()
242 return find_next_zero_bit(cpumask_bits(srcp), nr_cpumask_bits, n+1); in cpumask_next_zero()
287 (cpu) < nr_cpumask_bits; \
397 bitmap_fill(cpumask_bits(dstp), nr_cpumask_bits); in cpumask_setall()
406 bitmap_zero(cpumask_bits(dstp), nr_cpumask_bits); in cpumask_clear()
422 cpumask_bits(src2p), nr_cpumask_bits); in cpumask_and()
435 cpumask_bits(src2p), nr_cpumask_bits); in cpumask_or()
449 cpumask_bits(src2p), nr_cpumask_bits); in cpumask_xor()
465 cpumask_bits(src2p), nr_cpumask_bits); in cpumask_andnot()
477 nr_cpumask_bits); in cpumask_complement()
489 nr_cpumask_bits); in cpumask_equal()
503 cpumask_bits(src3p), nr_cpumask_bits); in cpumask_or_equal()
515 nr_cpumask_bits); in cpumask_intersects()
529 nr_cpumask_bits); in cpumask_subset()
538 return bitmap_empty(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_empty()
547 return bitmap_full(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_full()
556 return bitmap_weight(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_weight()
569 nr_cpumask_bits); in cpumask_shift_right()
582 nr_cpumask_bits); in cpumask_shift_left()
593 bitmap_copy(cpumask_bits(dstp), cpumask_bits(srcp), nr_cpumask_bits); in cpumask_copy()
639 return bitmap_parse_user(buf, len, cpumask_bits(dstp), nr_cpumask_bits); in cpumask_parse_user()
654 nr_cpumask_bits); in cpumask_parselist_user()
668 return bitmap_parse(buf, len, cpumask_bits(dstp), nr_cpumask_bits); in cpumask_parse()
680 return bitmap_parselist(buf, cpumask_bits(dstp), nr_cpumask_bits); in cpulist_parse()
688 return BITS_TO_LONGS(nr_cpumask_bits) * sizeof(long); in cpumask_size()