Lines Matching refs:max_blocks
4471 unsigned int max_blocks; in ext4_zero_range() local
4505 max_blocks = (end >> blkbits); in ext4_zero_range()
4506 if (max_blocks < lblk) in ext4_zero_range()
4507 max_blocks = 0; in ext4_zero_range()
4509 max_blocks -= lblk; in ext4_zero_range()
4548 if (max_blocks > 0) { in ext4_zero_range()
4573 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, in ext4_zero_range()
4630 unsigned int max_blocks; in ext4_fallocate() local
4680 max_blocks = EXT4_MAX_BLOCKS(len, offset, blkbits); in ext4_fallocate()
4705 ret = ext4_alloc_file_blocks(file, lblk, max_blocks, new_size, flags); in ext4_fallocate()
4715 trace_ext4_fallocate_exit(inode, offset, max_blocks, ret); in ext4_fallocate()
4734 unsigned int max_blocks; in ext4_convert_unwritten_extents() local
4741 max_blocks = EXT4_MAX_BLOCKS(len, offset, blkbits); in ext4_convert_unwritten_extents()
4747 credits = ext4_chunk_trans_blocks(inode, max_blocks); in ext4_convert_unwritten_extents()
4749 while (ret >= 0 && ret < max_blocks) { in ext4_convert_unwritten_extents()
4751 map.m_len = (max_blocks -= ret); in ext4_convert_unwritten_extents()