Lines Matching refs:ext2fs_blocks_count

135 	*new_size = ext2fs_blocks_count(rfs->new_fs->super);  in resize_fs()
283 (blk < ext2fs_blocks_count(fs->super))) { in free_gdp_blocks()
290 (blk < ext2fs_blocks_count(fs->super))) { in free_gdp_blocks()
297 (blk >= ext2fs_blocks_count(fs->super))) in free_gdp_blocks()
302 if (blk >= ext2fs_blocks_count(fs->super)) in free_gdp_blocks()
331 fs->group_desc_count = ext2fs_div64_ceil(ext2fs_blocks_count(fs->super) - in adjust_fs_info()
356 rem = (ext2fs_blocks_count(fs->super) - fs->super->s_first_data_block) % in adjust_fs_info()
362 ext2fs_blocks_count(fs->super) - rem); in adjust_fs_info()
380 blk = ext2fs_blocks_count(old_fs->super); in adjust_fs_info()
381 if (blk > ext2fs_blocks_count(fs->super)) in adjust_fs_info()
384 (blk - ext2fs_blocks_count(fs->super))); in adjust_fs_info()
388 (ext2fs_blocks_count(fs->super) - blk)); in adjust_fs_info()
394 ext2fs_blocks_count(old_fs->super); in adjust_fs_info()
396 (percent * ext2fs_blocks_count(fs->super) / in adjust_fs_info()
418 if (reserve_blocks && new_size > ext2fs_blocks_count(old_fs->super)) { in adjust_fs_info()
480 old_numblocks = (ext2fs_blocks_count(old_fs->super) - in adjust_fs_info()
486 numblocks = (ext2fs_blocks_count(fs->super) - in adjust_fs_info()
866 if (ext2fs_blocks_count(old_fs->super) > ext2fs_blocks_count(fs->super)) in blocks_to_move()
891 new_size = ext2fs_blocks_count(fs->super); in blocks_to_move()
892 if (new_size < ext2fs_blocks_count(old_fs->super)) { in blocks_to_move()
925 for (blk = ext2fs_blocks_count(fs->super); in blocks_to_move()
926 blk < ext2fs_blocks_count(old_fs->super); blk++) { in blocks_to_move()
1152 if (ext2fs_blocks_count(rfs->new_fs->super) > in init_block_alloc()
1153 ext2fs_blocks_count(rfs->old_fs->super)) in init_block_alloc()
1154 rfs->new_blk = ext2fs_blocks_count(rfs->old_fs->super); in init_block_alloc()
1163 if (rfs->new_blk >= ext2fs_blocks_count(fs->super)) { in get_new_block()
1180 (rfs->new_blk < ext2fs_blocks_count(rfs->old_fs->super)) && in get_new_block()
1249 blk < ext2fs_blocks_count(old_fs->super); in block_mover()
1462 orig_size = ext2fs_blocks_count(rfs->old_fs->super); in inode_scan_and_fix()
1463 if (orig_size < ext2fs_blocks_count(rfs->new_fs->super)) in inode_scan_and_fix()
1465 ext2fs_blocks_count(rfs->new_fs->super)); in inode_scan_and_fix()
1920 blk < ext2fs_blocks_count(fs->super); in ext2fs_calculate_summary_stats()
1939 EQ_CLSTR(blk, ext2fs_blocks_count(fs->super)-1)) { in ext2fs_calculate_summary_stats()
2084 data_needed = ext2fs_blocks_count(fs->super) - in calculate_minimum_resize_size()
2254 if (blks_needed >= ext2fs_blocks_count(fs->super)) in calculate_minimum_resize_size()
2255 return ext2fs_blocks_count(fs->super); in calculate_minimum_resize_size()
2262 blk64_t safe_margin = (ext2fs_blocks_count(fs->super) - in calculate_minimum_resize_size()