Lines Matching refs:max_blocks
4538 unsigned int max_blocks; in ext4_zero_range() local
4566 max_blocks = (end >> blkbits); in ext4_zero_range()
4567 if (max_blocks < lblk) in ext4_zero_range()
4568 max_blocks = 0; in ext4_zero_range()
4570 max_blocks -= lblk; in ext4_zero_range()
4613 if (max_blocks > 0) { in ext4_zero_range()
4653 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, in ext4_zero_range()
4708 unsigned int max_blocks; in ext4_fallocate() local
4758 max_blocks = EXT4_MAX_BLOCKS(len, offset, blkbits); in ext4_fallocate()
4787 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, flags); in ext4_fallocate()
4797 trace_ext4_fallocate_exit(inode, offset, max_blocks, ret); in ext4_fallocate()
4815 unsigned int max_blocks; in ext4_convert_unwritten_extents() local
4822 max_blocks = EXT4_MAX_BLOCKS(len, offset, blkbits); in ext4_convert_unwritten_extents()
4828 credits = ext4_chunk_trans_blocks(inode, max_blocks); in ext4_convert_unwritten_extents()
4830 while (ret >= 0 && ret < max_blocks) { in ext4_convert_unwritten_extents()
4832 map.m_len = (max_blocks -= ret); in ext4_convert_unwritten_extents()