Lines Matching full:bmap
123 static errcode_t ba_resize_bmap(ext2fs_generic_bitmap bmap,
126 ext2fs_ba_private bp = (ext2fs_ba_private) bmap->private;
135 if (new_end > bmap->end) {
136 bitno = bmap->real_end;
139 for (; bitno > bmap->end; bitno--)
140 ext2fs_clear_bit64(bitno - bmap->start, bp->bitarray);
142 if (new_real_end == bmap->real_end) {
143 bmap->end = new_end;
147 size = ((bmap->real_end - bmap->start) / 8) + 1;
148 new_size = ((new_real_end - bmap->start) / 8) + 1;
158 bmap->end = new_end;
159 bmap->real_end = new_real_end;