Searched refs:BITMAP_GROUP_NBITS_MASK (Results 1 – 2 of 2) sorted by relevance
67 extra = (BITMAP_GROUP_NBITS - (binfo->nbits & BITMAP_GROUP_NBITS_MASK)) in bitmap_init()68 & BITMAP_GROUP_NBITS_MASK; in bitmap_init()76 BITMAP_GROUP_NBITS_MASK)) & BITMAP_GROUP_NBITS_MASK; in bitmap_init()109 extra = (BITMAP_GROUP_NBITS - (binfo->nbits & BITMAP_GROUP_NBITS_MASK)) in bitmap_init()110 & BITMAP_GROUP_NBITS_MASK; in bitmap_init()
24 #define BITMAP_GROUP_NBITS_MASK (BITMAP_GROUP_NBITS-1) macro37 (((nbits) + BITMAP_GROUP_NBITS_MASK) >> LG_BITMAP_GROUP_NBITS)202 return !(g & (ZU(1) << (bit & BITMAP_GROUP_NBITS_MASK))); in bitmap_get()216 assert(g & (ZU(1) << (bit & BITMAP_GROUP_NBITS_MASK))); in bitmap_set()217 g ^= ZU(1) << (bit & BITMAP_GROUP_NBITS_MASK); in bitmap_set()229 assert(g & (ZU(1) << (bit & BITMAP_GROUP_NBITS_MASK))); in bitmap_set()230 g ^= ZU(1) << (bit & BITMAP_GROUP_NBITS_MASK); in bitmap_set()284 bitmap_t g = bitmap[i] & ~((1LU << (min_bit & BITMAP_GROUP_NBITS_MASK)) in bitmap_ffu()343 assert((g & (ZU(1) << (bit & BITMAP_GROUP_NBITS_MASK))) == 0); in bitmap_unset()344 g ^= ZU(1) << (bit & BITMAP_GROUP_NBITS_MASK); in bitmap_unset()[all …]