Lines Matching refs:src_inode
184 struct inode *src_inode = file_inode(src_file); in nfs42_clone_file_range() local
194 if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count)) in nfs42_clone_file_range()
198 if (src_inode == dst_inode) in nfs42_clone_file_range()
203 inode_lock(src_inode); in nfs42_clone_file_range()
204 } else if (dst_inode < src_inode) { in nfs42_clone_file_range()
206 inode_lock_nested(src_inode, I_MUTEX_CHILD); in nfs42_clone_file_range()
208 inode_lock_nested(src_inode, I_MUTEX_PARENT); in nfs42_clone_file_range()
214 ret = nfs_sync_inode(src_inode); in nfs42_clone_file_range()
230 inode_unlock(src_inode); in nfs42_clone_file_range()
231 } else if (dst_inode < src_inode) { in nfs42_clone_file_range()
232 inode_unlock(src_inode); in nfs42_clone_file_range()
236 inode_unlock(src_inode); in nfs42_clone_file_range()