Lines Matching refs:upper_limit
735 unsigned int upper_limit; in ext2_max_size() local
745 upper_limit = (1LL << 32) - 1; in ext2_max_size()
748 upper_limit >>= (bits - 9); in ext2_max_size()
759 if (res + meta_blocks <= upper_limit) in ext2_max_size()
762 res = upper_limit; in ext2_max_size()
764 upper_limit -= EXT2_NDIR_BLOCKS; in ext2_max_size()
767 upper_limit -= ppb; in ext2_max_size()
769 if (upper_limit < ppb * ppb) { in ext2_max_size()
770 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb); in ext2_max_size()
775 upper_limit -= ppb * ppb; in ext2_max_size()
777 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb) + in ext2_max_size()
778 DIV_ROUND_UP(upper_limit, ppb*ppb); in ext2_max_size()