Searched refs:meta_blocks (Results 1 – 2 of 2) sorted by relevance
762 int meta_blocks; in ext2_max_size() local783 meta_blocks = 1; in ext2_max_size()784 meta_blocks += 1 + ppb; in ext2_max_size()785 meta_blocks += 1 + ppb + ppb * ppb; in ext2_max_size()787 if (res + meta_blocks <= upper_limit) in ext2_max_size()794 meta_blocks = 1; in ext2_max_size()798 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb); in ext2_max_size()799 res -= meta_blocks; in ext2_max_size()802 meta_blocks += 1 + ppb; in ext2_max_size()805 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb) + in ext2_max_size()[all …]
2792 int meta_blocks; in ext4_max_bitmap_size() local2825 meta_blocks = 1; in ext4_max_bitmap_size()2827 meta_blocks += 1 + (1LL << (bits-2)); in ext4_max_bitmap_size()2829 meta_blocks += 1 + (1LL << (bits-2)) + (1LL << (2*(bits-2))); in ext4_max_bitmap_size()2831 upper_limit -= meta_blocks; in ext4_max_bitmap_size()