Lines Matching refs:max_blocks
4514 unsigned int max_blocks; in ext4_zero_range() local
4548 max_blocks = (end >> blkbits); in ext4_zero_range()
4549 if (max_blocks < lblk) in ext4_zero_range()
4550 max_blocks = 0; in ext4_zero_range()
4552 max_blocks -= lblk; in ext4_zero_range()
4595 if (max_blocks > 0) { in ext4_zero_range()
4620 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, in ext4_zero_range()
4675 unsigned int max_blocks; in ext4_fallocate() local
4726 max_blocks = EXT4_MAX_BLOCKS(len, offset, blkbits); in ext4_fallocate()
4755 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, flags); in ext4_fallocate()
4765 trace_ext4_fallocate_exit(inode, offset, max_blocks, ret); in ext4_fallocate()
4784 unsigned int max_blocks; in ext4_convert_unwritten_extents() local
4791 max_blocks = EXT4_MAX_BLOCKS(len, offset, blkbits); in ext4_convert_unwritten_extents()
4797 credits = ext4_chunk_trans_blocks(inode, max_blocks); in ext4_convert_unwritten_extents()
4799 while (ret >= 0 && ret < max_blocks) { in ext4_convert_unwritten_extents()
4801 map.m_len = (max_blocks -= ret); in ext4_convert_unwritten_extents()