Searched defs:bitmap (Results 1 - 3 of 3) sorted by relevance
/system/extras/ext4_utils/ |
H A D | ext2simg.c | 102 static int bitmap_get_bit(u8 *bitmap, u32 bit) argument 104 if (bitmap[bit / 8] & 1 << (bit % 8)) 120 critical_error("failed to allocate block bitmap"); 133 critical_error_errno("failed to seek to block group bitmap %d", i); 137 critical_error_errno("failed to read block group bitmap %d", i); 139 critical_error("failed to read all of block group bitmap %d", i);
|
H A D | allocate.c | 178 static int bitmap_set_bit(u8 *bitmap, u32 bit) argument 180 if (bitmap[bit / 8] & 1 << (bit % 8)) 183 bitmap[bit / 8] |= 1 << (bit % 8); 187 static int bitmap_set_8_bits(u8 *bitmap, u32 bit) argument 189 int ret = bitmap[bit / 8]; 190 bitmap[bit / 8] = 0xFF;
|
H A D | ext4fixup.c | 324 static int bitmap_get_bit(u8 *bitmap, u32 bit) argument 326 if (bitmap[bit / 8] & (1 << (bit % 8))) 332 static void bitmap_clear_bit(u8 *bitmap, u32 bit) argument 334 bitmap[bit / 8] &= ~(1 << (bit % 8)); 346 * new_inodes_per_group, retrieve the inode bitmap, and make sure 362 printf("Warning: updated inode bitmap for block group %d\n", bg_num);
|
Completed in 6 milliseconds