Lines Matching defs:bitmap
44 bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo, bool fill) {
49 * Bits are actually inverted with regard to the external bitmap
54 /* The "filled" bitmap starts out with all 0 bits. */
55 memset(bitmap, 0, bitmap_size(binfo));
60 * The "empty" bitmap starts out with all 1 bits, except for trailing
65 memset(bitmap, 0xffU, bitmap_size(binfo));
69 bitmap[binfo->levels[1].group_offset - 1] >>= extra;
77 bitmap[binfo->levels[i+1].group_offset - 1] >>= extra;
99 bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo, bool fill) {
103 memset(bitmap, 0, bitmap_size(binfo));
107 memset(bitmap, 0xffU, bitmap_size(binfo));
111 bitmap[binfo->ngroups - 1] >>= extra;