Searched refs:NB_BITS_PER_LONG (Results 1 – 1 of 1) sorted by relevance
37 #define NB_BITS_PER_LONG (sizeof(long) * NBBY) macro38 #define BITS_TO_LONGS(x) howmany(x, NB_BITS_PER_LONG)64 #define __bit_word(b) ((b) / NB_BITS_PER_LONG)65 #define __bit_mask(b) (1UL << (b) % NB_BITS_PER_LONG)87 KASSERT(max % NB_BITS_PER_LONG == 0, ("invalid bitmap size %lu", max)); in find_first_zero_bit()88 for (i = 0; i < max / NB_BITS_PER_LONG; i++) { in find_first_zero_bit()91 return (i * NB_BITS_PER_LONG + ffsl(n) - 1); in find_first_zero_bit()