Lines Matching refs:nbits
9 bitmap_info_init(bitmap_info_t *binfo, size_t nbits) in bitmap_info_init() argument
14 assert(nbits > 0); in bitmap_info_init()
15 assert(nbits <= (ZU(1) << LG_BITMAP_MAXBITS)); in bitmap_info_init()
23 group_count = BITMAP_BITS2GROUPS(nbits); in bitmap_info_init()
34 binfo->nbits = nbits; in bitmap_info_init()
58 extra = (BITMAP_GROUP_NBITS - (binfo->nbits & BITMAP_GROUP_NBITS_MASK)) in bitmap_init()
75 bitmap_info_init(bitmap_info_t *binfo, size_t nbits) in bitmap_info_init() argument
78 assert(nbits > 0); in bitmap_info_init()
79 assert(nbits <= (ZU(1) << LG_BITMAP_MAXBITS)); in bitmap_info_init()
81 binfo->ngroups = BITMAP_BITS2GROUPS(nbits); in bitmap_info_init()
82 binfo->nbits = nbits; in bitmap_info_init()
98 extra = (BITMAP_GROUP_NBITS - (binfo->nbits & BITMAP_GROUP_NBITS_MASK)) in bitmap_init()