Searched refs:rsv_gdb (Results 1 – 2 of 2) sorted by relevance
73 unsigned int rsv_gdb; in calc_reserved_gdt_blocks() local81 rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - fs->desc_blocks; in calc_reserved_gdt_blocks()82 if (rsv_gdb > EXT2_ADDR_PER_BLOCK(sb)) in calc_reserved_gdt_blocks()83 rsv_gdb = EXT2_ADDR_PER_BLOCK(sb); in calc_reserved_gdt_blocks()86 max_blocks, rsv_groups, rsv_gdb); in calc_reserved_gdt_blocks()89 return rsv_gdb; in calc_reserved_gdt_blocks()
754 int rsv_gdb; in parse_extended_opts() local790 rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - in parse_extended_opts()792 if (rsv_gdb > (int) EXT2_ADDR_PER_BLOCK(param)) in parse_extended_opts()793 rsv_gdb = EXT2_ADDR_PER_BLOCK(param); in parse_extended_opts()795 if (rsv_gdb > 0) { in parse_extended_opts()805 param->s_reserved_gdt_blocks = rsv_gdb; in parse_extended_opts()