Lines Matching refs:dst_inode
243 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range() local
244 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_remap_file_range()
257 if (IS_SWAPFILE(dst_inode) || IS_SWAPFILE(src_inode)) in nfs42_remap_file_range()
269 if (src_inode == dst_inode) in nfs42_remap_file_range()
275 } else if (dst_inode < src_inode) { in nfs42_remap_file_range()
276 inode_lock_nested(dst_inode, I_MUTEX_PARENT); in nfs42_remap_file_range()
280 inode_lock_nested(dst_inode, I_MUTEX_CHILD); in nfs42_remap_file_range()
288 ret = nfs_sync_inode(dst_inode); in nfs42_remap_file_range()
297 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_remap_file_range()
302 } else if (dst_inode < src_inode) { in nfs42_remap_file_range()
304 inode_unlock(dst_inode); in nfs42_remap_file_range()
306 inode_unlock(dst_inode); in nfs42_remap_file_range()