Lines Matching full:bmap
124 static errcode_t ba_resize_bmap(ext2fs_generic_bitmap bmap,
127 ext2fs_ba_private bp = (ext2fs_ba_private) bmap->private;
136 if (new_end > bmap->end) {
137 bitno = bmap->real_end;
140 for (; bitno > bmap->end; bitno--)
141 ext2fs_clear_bit64(bitno - bmap->start, bp->bitarray);
143 if (new_real_end == bmap->real_end) {
144 bmap->end = new_end;
148 size = ((bmap->real_end - bmap->start) / 8) + 1;
149 new_size = ((new_real_end - bmap->start) / 8) + 1;
159 bmap->end = new_end;
160 bmap->real_end = new_real_end;