Lines Matching refs:dst_inode
182 struct inode *dst_inode = file_inode(dst_file); in nfs42_clone_file_range() local
183 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_clone_file_range()
198 if (src_inode == dst_inode) in nfs42_clone_file_range()
204 } else if (dst_inode < src_inode) { in nfs42_clone_file_range()
205 inode_lock_nested(dst_inode, I_MUTEX_PARENT); in nfs42_clone_file_range()
209 inode_lock_nested(dst_inode, I_MUTEX_CHILD); in nfs42_clone_file_range()
217 ret = nfs_sync_inode(dst_inode); in nfs42_clone_file_range()
226 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_clone_file_range()
231 } else if (dst_inode < src_inode) { in nfs42_clone_file_range()
233 inode_unlock(dst_inode); in nfs42_clone_file_range()
235 inode_unlock(dst_inode); in nfs42_clone_file_range()