Home
last modified time | relevance | path

Searched refs:bg_desc_reserve_blocks (Results 1 – 7 of 7) sorted by relevance

/system/extras/ext4_utils/
Dindirect.c434 u32 superblocks = block_len / info.bg_desc_reserve_blocks; in inode_attach_resize()
439 if (block_len % info.bg_desc_reserve_blocks) in inode_attach_resize()
441 info.bg_desc_reserve_blocks); in inode_attach_resize()
452 u32 *ind_block_data = calloc(info.block_size, info.bg_desc_reserve_blocks); in inode_attach_resize()
456 info.block_size * info.bg_desc_reserve_blocks, in inode_attach_resize()
459 for (i = 0; i < info.bg_desc_reserve_blocks; i++) { in inode_attach_resize()
460 int r = (i - aux_info.bg_desc_blocks) % info.bg_desc_reserve_blocks; in inode_attach_resize()
462 r += info.bg_desc_reserve_blocks; in inode_attach_resize()
467 u32 b = j * info.bg_desc_reserve_blocks + r; in inode_attach_resize()
473 aux_info.blocks_per_ind * (info.bg_desc_reserve_blocks - 1) + in inode_attach_resize()
Dext4_utils.c113 info.bg_desc_reserve_blocks; in ext4_create_fs_aux_info()
188 sb->s_reserved_gdt_blocks = info.bg_desc_reserve_blocks; in ext4_fill_in_sb()
237 header_size = 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in ext4_fill_in_sb()
282 info.bg_desc_reserve_blocks = sb->s_reserved_gdt_blocks; in ext4_parse_sb()
315 u32 reserved_block_len = info.bg_desc_reserve_blocks; in ext4_create_resize_inode()
Dmake_ext4fs.c349 u32 bg_desc_reserve_blocks = in compute_bg_desc_reserve_blocks() local
353 if (bg_desc_reserve_blocks > info.block_size / sizeof(u32)) in compute_bg_desc_reserve_blocks()
354 bg_desc_reserve_blocks = info.block_size / sizeof(u32); in compute_bg_desc_reserve_blocks()
356 return bg_desc_reserve_blocks; in compute_bg_desc_reserve_blocks()
531 info.bg_desc_reserve_blocks = compute_bg_desc_reserve_blocks(); in make_ext4fs_internal()
546 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); in make_ext4fs_internal()
Dext4_utils.h129 u32 bg_desc_reserve_blocks; member
Dext2simg.c97 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); in read_ext()
Dallocate.c178 block += aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks + 1; in allocate_bg_inode_table()
290 header_blocks += 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in init_bg()
301 block += 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks; in init_bg()
Dext4fixup.c246 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks); in read_ext()