Home
last modified time | relevance | path

Searched refs:block_bitmap (Results 1 – 3 of 3) sorted by relevance

/system/extras/ext4_utils/
Dext2simg.c121 u8 *block_bitmap; in build_sparse_ext() local
124 block_bitmap = malloc(info.block_size); in build_sparse_ext()
125 if (!block_bitmap) in build_sparse_ext()
141 ret = read(fd, block_bitmap, info.block_size); in build_sparse_ext()
150 if (!bitmap_get_bit(block_bitmap, block)) { in build_sparse_ext()
160 if (bitmap_get_bit(block_bitmap, block)) in build_sparse_ext()
Dallocate.c52 u8 *block_bitmap; member
217 if (bitmap_set_bit(bg->block_bitmap, block)) { in reserve_blocks()
224 if (bitmap_set_8_bits(bg->block_bitmap, block)) { in reserve_blocks()
231 if (bitmap_set_bit(bg->block_bitmap, block)) { in reserve_blocks()
249 bg->block_bitmap[block / 8] &= ~(1 << (block % 8)); in free_blocks()
293 bg->block_bitmap = bg->bitmaps; in init_bg()
Dext4.h180 __u64 block_bitmap; member