Searched refs:meta_blocks (Results 1 – 2 of 2) sorted by relevance
752 int meta_blocks; in ext2_max_size() local773 meta_blocks = 1; in ext2_max_size()774 meta_blocks += 1 + ppb; in ext2_max_size()775 meta_blocks += 1 + ppb + ppb * ppb; in ext2_max_size()777 if (res + meta_blocks <= upper_limit) in ext2_max_size()784 meta_blocks = 1; in ext2_max_size()788 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb); in ext2_max_size()789 res -= meta_blocks; in ext2_max_size()792 meta_blocks += 1 + ppb; in ext2_max_size()795 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb) + in ext2_max_size()[all …]
2906 int meta_blocks; in ext4_max_bitmap_size() local2939 meta_blocks = 1; in ext4_max_bitmap_size()2941 meta_blocks += 1 + (1LL << (bits-2)); in ext4_max_bitmap_size()2943 meta_blocks += 1 + (1LL << (bits-2)) + (1LL << (2*(bits-2))); in ext4_max_bitmap_size()2945 upper_limit -= meta_blocks; in ext4_max_bitmap_size()