Searched defs:bg_num (Results 1 - 2 of 2) sorted by relevance
/system/extras/ext4_utils/ |
H A D | allocate.c | 158 u32 block, u32 len, int bg_num) 164 reg->bg = bg_num; 344 static u32 ext4_allocate_blocks_from_block_group(u32 len, int bg_num) argument 346 if (get_free_blocks(bg_num) < len) 349 u32 block = aux_info.bgs[bg_num].first_free_block; 350 struct block_group_info *bg = &aux_info.bgs[bg_num]; 352 error("failed to reserve %u blocks in block group %u\n", len, bg_num); 356 aux_info.bgs[bg_num].data_blocks_used += len; 157 append_region(struct block_allocation *alloc, u32 block, u32 len, int bg_num) argument
|
H A D | ext4fixup.c | 168 unsigned int bg_num, bg_offset; local 172 bg_num = (inum-1) / info.inodes_per_group; 175 inode_offset = ((unsigned long long)aux_info.bg_desc[bg_num].bg_inode_table * info.block_size) + 232 static void check_inode_bitmap(int fd, unsigned int bg_num) argument 238 /* Using the bg_num, aux_info.bg_desc[], info.inodes_per_group and 242 inode_bitmap_block_num = aux_info.bg_desc[bg_num].bg_inode_bitmap; 255 printf("Warning: updated inode bitmap for block group %d\n", bg_num);
|
Completed in 377 milliseconds