Searched refs:rsv_gdb (Results 1 – 2 of 2) sorted by relevance
65 unsigned int rsv_gdb; in calc_reserved_gdt_blocks() local77 rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - fs->desc_blocks; in calc_reserved_gdt_blocks()78 if (rsv_gdb > EXT2_ADDR_PER_BLOCK(sb)) in calc_reserved_gdt_blocks()79 rsv_gdb = EXT2_ADDR_PER_BLOCK(sb); in calc_reserved_gdt_blocks()82 max_blocks, rsv_groups, rsv_gdb); in calc_reserved_gdt_blocks()85 return rsv_gdb; in calc_reserved_gdt_blocks()
945 int rsv_gdb; in parse_extended_opts() local981 rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - in parse_extended_opts()983 if (rsv_gdb > (int) EXT2_ADDR_PER_BLOCK(param)) in parse_extended_opts()984 rsv_gdb = EXT2_ADDR_PER_BLOCK(param); in parse_extended_opts()986 if (rsv_gdb > 0) { in parse_extended_opts()995 param->s_reserved_gdt_blocks = rsv_gdb; in parse_extended_opts()