Lines Matching refs:max_blocks
4800 unsigned int max_blocks; in ext4_zero_range() local
4837 max_blocks = (end >> blkbits); in ext4_zero_range()
4838 if (max_blocks < lblk) in ext4_zero_range()
4839 max_blocks = 0; in ext4_zero_range()
4841 max_blocks -= lblk; in ext4_zero_range()
4883 if (max_blocks > 0) { in ext4_zero_range()
4901 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, in ext4_zero_range()
4964 unsigned int max_blocks; in ext4_fallocate() local
5013 max_blocks = (EXT4_BLOCK_ALIGN(len + offset, blkbits) >> blkbits) in ext4_fallocate()
5043 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, in ext4_fallocate()
5055 trace_ext4_fallocate_exit(inode, offset, max_blocks, ret); in ext4_fallocate()
5072 unsigned int max_blocks; in ext4_convert_unwritten_extents() local
5083 max_blocks = ((EXT4_BLOCK_ALIGN(len + offset, blkbits) >> blkbits) - in ext4_convert_unwritten_extents()
5100 credits = ext4_chunk_trans_blocks(inode, max_blocks); in ext4_convert_unwritten_extents()
5102 while (ret >= 0 && ret < max_blocks) { in ext4_convert_unwritten_extents()
5104 map.m_len = (max_blocks -= ret); in ext4_convert_unwritten_extents()