• Home
  • Raw
  • Download

Lines Matching refs:ext2fs_blocks_count

169 	*new_size = ext2fs_blocks_count(rfs->new_fs->super);  in resize_fs()
296 if (new_size != ext2fs_blocks_count(rfs->new_fs->super) || in resize_group_descriptors()
297 ext2fs_blocks_count(rfs->new_fs->super) >= (1ULL << 32) || in resize_group_descriptors()
408 b < ext2fs_blocks_count(rfs->new_fs->super); in move_bg_metadata()
461 cluster_ratio > 1 && b < ext2fs_blocks_count(rfs->new_fs->super); in move_bg_metadata()
655 (blk < ext2fs_blocks_count(fs->super)) && in free_gdp_blocks()
663 (blk < ext2fs_blocks_count(fs->super)) && in free_gdp_blocks()
672 if (blk >= ext2fs_blocks_count(fs->super) || in free_gdp_blocks()
709 fs->group_desc_count = ext2fs_div64_ceil(ext2fs_blocks_count(fs->super) - in adjust_fs_info()
746 rem = (ext2fs_blocks_count(fs->super) - fs->super->s_first_data_block) % in adjust_fs_info()
752 ext2fs_blocks_count(fs->super) - rem); in adjust_fs_info()
770 blk = ext2fs_blocks_count(old_fs->super); in adjust_fs_info()
771 if (blk > ext2fs_blocks_count(fs->super)) in adjust_fs_info()
774 (blk - ext2fs_blocks_count(fs->super))); in adjust_fs_info()
778 (ext2fs_blocks_count(fs->super) - blk)); in adjust_fs_info()
784 ext2fs_blocks_count(old_fs->super); in adjust_fs_info()
786 (percent * ext2fs_blocks_count(fs->super) / in adjust_fs_info()
807 if (reserve_blocks && new_size > ext2fs_blocks_count(old_fs->super)) { in adjust_fs_info()
891 old_numblocks = (ext2fs_blocks_count(old_fs->super) - in adjust_fs_info()
897 numblocks = (ext2fs_blocks_count(fs->super) - in adjust_fs_info()
1183 fs->super->s_mmp_block < ext2fs_blocks_count(fs->super)) in mark_table_blocks()
1251 } else if (blk < ext2fs_blocks_count(rfs->old_fs->super) && in mark_fs_metablock()
1281 if (ext2fs_blocks_count(old_fs->super) > ext2fs_blocks_count(fs->super)) in blocks_to_move()
1306 new_size = ext2fs_blocks_count(fs->super); in blocks_to_move()
1307 if (new_size < ext2fs_blocks_count(old_fs->super)) { in blocks_to_move()
1340 for (blk = ext2fs_blocks_count(fs->super); in blocks_to_move()
1341 blk < ext2fs_blocks_count(old_fs->super); blk++) { in blocks_to_move()
1519 if (blk < ext2fs_blocks_count(old_fs->super) && in blocks_to_move()
1528 if (blk < ext2fs_blocks_count(old_fs->super) && in blocks_to_move()
1555 if (blk < ext2fs_blocks_count(old_fs->super) && in blocks_to_move()
1604 if (ext2fs_blocks_count(rfs->new_fs->super) > in init_block_alloc()
1605 ext2fs_blocks_count(rfs->old_fs->super)) in init_block_alloc()
1606 rfs->new_blk = ext2fs_blocks_count(rfs->old_fs->super); in init_block_alloc()
1615 if (rfs->new_blk >= ext2fs_blocks_count(fs->super)) { in get_new_block()
1632 (rfs->new_blk < ext2fs_blocks_count(rfs->old_fs->super)) && in get_new_block()
1709 blk < ext2fs_blocks_count(old_fs->super); in block_mover()
2782 blk < ext2fs_blocks_count(fs->super); in resize2fs_calculate_summary_stats()
2801 EQ_CLSTR(blk, ext2fs_blocks_count(fs->super)-1)) { in resize2fs_calculate_summary_stats()
2944 data_needed = ext2fs_blocks_count(fs->super); in calculate_minimum_resize_size()
3134 if (blks_needed >= ext2fs_blocks_count(fs->super)) in calculate_minimum_resize_size()
3135 return ext2fs_blocks_count(fs->super); in calculate_minimum_resize_size()
3147 blk64_t safe_margin = (ext2fs_blocks_count(fs->super) - in calculate_minimum_resize_size()