Lines Matching refs:max_blocks
4759 unsigned int max_blocks; in ext4_zero_range() local
4796 max_blocks = (end >> blkbits); in ext4_zero_range()
4797 if (max_blocks < lblk) in ext4_zero_range()
4798 max_blocks = 0; in ext4_zero_range()
4800 max_blocks -= lblk; in ext4_zero_range()
4841 if (max_blocks > 0) { in ext4_zero_range()
4859 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, in ext4_zero_range()
4920 unsigned int max_blocks; in ext4_fallocate() local
4969 max_blocks = (EXT4_BLOCK_ALIGN(len + offset, blkbits) >> blkbits) in ext4_fallocate()
4998 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, in ext4_fallocate()
5010 trace_ext4_fallocate_exit(inode, offset, max_blocks, ret); in ext4_fallocate()
5027 unsigned int max_blocks; in ext4_convert_unwritten_extents() local
5038 max_blocks = ((EXT4_BLOCK_ALIGN(len + offset, blkbits) >> blkbits) - in ext4_convert_unwritten_extents()
5055 credits = ext4_chunk_trans_blocks(inode, max_blocks); in ext4_convert_unwritten_extents()
5057 while (ret >= 0 && ret < max_blocks) { in ext4_convert_unwritten_extents()
5059 map.m_len = (max_blocks -= ret); in ext4_convert_unwritten_extents()