Lines Matching refs:old_eof
3684 loff_t old_eof; in smb3_collapse_range() local
3690 old_eof = i_size_read(inode); in smb3_collapse_range()
3691 if ((off >= old_eof) || in smb3_collapse_range()
3692 off + len >= old_eof) { in smb3_collapse_range()
3698 rc = filemap_write_and_wait_range(inode->i_mapping, off, old_eof - 1); in smb3_collapse_range()
3702 truncate_pagecache_range(inode, off, old_eof); in smb3_collapse_range()
3705 old_eof - off - len, off); in smb3_collapse_range()
3709 eof = cpu_to_le64(old_eof - len); in smb3_collapse_range()
3736 __u64 count, old_eof; in smb3_insert_range() local
3742 old_eof = i_size_read(inode); in smb3_insert_range()
3743 if (off >= old_eof) { in smb3_insert_range()
3748 count = old_eof - off; in smb3_insert_range()
3749 eof = cpu_to_le64(old_eof + len); in smb3_insert_range()
3752 rc = filemap_write_and_wait_range(inode->i_mapping, off, old_eof + len - 1); in smb3_insert_range()
3755 truncate_pagecache_range(inode, off, old_eof); in smb3_insert_range()