Home
last modified time | relevance | path

Searched refs:dst_inode (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/nfs/
Dnfs4file.c182 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()
[all …]
Dnfs42proc.c234 struct inode *dst_inode = file_inode(dst); in _nfs42_proc_copy() local
235 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs42_proc_copy()
256 status = nfs_sync_inode(dst_inode); in _nfs42_proc_copy()
298 WARN_ON_ONCE(invalidate_inode_pages2_range(dst_inode->i_mapping, in _nfs42_proc_copy()
684 struct inode *dst_inode = file_inode(dst_f); in _nfs42_proc_clone() local
685 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs42_proc_clone()
688 .dst_fh = NFS_FH(dst_inode), in _nfs42_proc_clone()
719 status = nfs_post_op_update_inode(dst_inode, res.dst_fattr); in _nfs42_proc_clone()
Dnfs4proc.c5193 struct inode *dst_inode = file_inode(dst); in _nfs4_proc_commit() local
5194 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs4_proc_commit()
5201 args->fh = NFS_FH(dst_inode); in _nfs4_proc_commit()
/linux-4.19.296/fs/f2fs/
Dfile.c1056 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, in __clone_blkaddrs() argument
1076 set_new_dnode(&dn, dst_inode, NULL, NULL, 0); in __clone_blkaddrs()
1088 ADDRS_PER_PAGE(dn.node_page, dst_inode) - in __clone_blkaddrs()
1098 f2fs_i_blocks_write(dst_inode, in __clone_blkaddrs()
1108 if (dst_inode->i_size < new_size) in __clone_blkaddrs()
1109 f2fs_i_size_write(dst_inode, new_size); in __clone_blkaddrs()
1120 pdst = f2fs_get_new_data_page(dst_inode, NULL, dst + i, in __clone_blkaddrs()
1142 struct inode *dst_inode, pgoff_t src, pgoff_t dst, in __exchange_data_block() argument
1172 ret = __clone_blkaddrs(src_inode, dst_inode, src_blkaddr, in __exchange_data_block()