HomeSort by relevance Sort by last modified time
    Searched refs:bg_num (Results 1 - 2 of 2) sorted by null

  /system/extras/ext4_utils/
ext4fixup.c 259 unsigned int bg_num, bg_offset; local
263 bg_num = (inum-1) / info.inodes_per_group;
266 inode_offset = ((unsigned long long)aux_info.bg_desc[bg_num].bg_inode_table * info.block_size) +
338 static void check_inode_bitmap(int fd, unsigned int bg_num)
344 /* Using the bg_num, aux_info.bg_desc[], info.inodes_per_group and
348 inode_bitmap_block_num = aux_info.bg_desc[bg_num].bg_inode_bitmap;
361 printf("Warning: updated inode bitmap for block group %d\n", bg_num);
allocate.c 158 u32 block, u32 len, int bg_num)
164 reg->bg = bg_num;
343 static u32 ext4_allocate_blocks_from_block_group(u32 len, int bg_num)
345 if (get_free_blocks(bg_num) < len)
348 u32 block = aux_info.bgs[bg_num].first_free_block;
349 struct block_group_info *bg = &aux_info.bgs[bg_num];
351 error("failed to reserve %u blocks in block group %u\n", len, bg_num);
355 aux_info.bgs[bg_num].data_blocks_used += len;

Completed in 646 milliseconds