Lines Matching refs:src_inode
245 struct inode *src_inode = file_inode(src_file); in nfs42_remap_file_range() local
257 if (IS_SWAPFILE(dst_inode) || IS_SWAPFILE(src_inode)) in nfs42_remap_file_range()
265 if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count)) in nfs42_remap_file_range()
269 if (src_inode == dst_inode) in nfs42_remap_file_range()
274 inode_lock(src_inode); in nfs42_remap_file_range()
275 } else if (dst_inode < src_inode) { in nfs42_remap_file_range()
277 inode_lock_nested(src_inode, I_MUTEX_CHILD); in nfs42_remap_file_range()
279 inode_lock_nested(src_inode, I_MUTEX_PARENT); in nfs42_remap_file_range()
285 ret = nfs_sync_inode(src_inode); in nfs42_remap_file_range()
301 inode_unlock(src_inode); in nfs42_remap_file_range()
302 } else if (dst_inode < src_inode) { in nfs42_remap_file_range()
303 inode_unlock(src_inode); in nfs42_remap_file_range()
307 inode_unlock(src_inode); in nfs42_remap_file_range()