Searched refs:meta_blocks (Results 1 – 2 of 2) sorted by relevance
733 int meta_blocks; in ext2_max_size() local754 meta_blocks = 1; in ext2_max_size()755 meta_blocks += 1 + ppb; in ext2_max_size()756 meta_blocks += 1 + ppb + ppb * ppb; in ext2_max_size()758 if (res + meta_blocks <= upper_limit) in ext2_max_size()765 meta_blocks = 1; in ext2_max_size()769 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb); in ext2_max_size()770 res -= meta_blocks; in ext2_max_size()773 meta_blocks += 1 + ppb; in ext2_max_size()776 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb) + in ext2_max_size()[all …]
3468 int meta_blocks; in ext4_max_bitmap_size() local3506 meta_blocks = 1; in ext4_max_bitmap_size()3507 meta_blocks += 1 + ppb; in ext4_max_bitmap_size()3508 meta_blocks += 1 + ppb + ppb * ppb; in ext4_max_bitmap_size()3510 if (res + meta_blocks <= upper_limit) in ext4_max_bitmap_size()3517 meta_blocks = 1; in ext4_max_bitmap_size()3521 meta_blocks += 1 + DIV_ROUND_UP_ULL(upper_limit, ppb); in ext4_max_bitmap_size()3522 res -= meta_blocks; in ext4_max_bitmap_size()3525 meta_blocks += 1 + ppb; in ext4_max_bitmap_size()3528 meta_blocks += 1 + DIV_ROUND_UP_ULL(upper_limit, ppb) + in ext4_max_bitmap_size()[all …]