Home
last modified time | relevance | path

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

/Linux-v4.19/fs/nfs/
Dnfs4file.c186 struct inode *dst_inode = file_inode(dst_file); in nfs42_clone_file_range() local
187 struct nfs_server *server = NFS_SERVER(dst_inode); in nfs42_clone_file_range()
202 if (src_inode == dst_inode) in nfs42_clone_file_range()
208 } else if (dst_inode < src_inode) { in nfs42_clone_file_range()
209 inode_lock_nested(dst_inode, I_MUTEX_PARENT); in nfs42_clone_file_range()
213 inode_lock_nested(dst_inode, I_MUTEX_CHILD); in nfs42_clone_file_range()
221 ret = nfs_sync_inode(dst_inode); in nfs42_clone_file_range()
230 truncate_inode_pages_range(&dst_inode->i_data, dst_off, dst_off + count - 1); in nfs42_clone_file_range()
235 } else if (dst_inode < src_inode) { in nfs42_clone_file_range()
237 inode_unlock(dst_inode); in nfs42_clone_file_range()
[all …]
Dnfs42proc.c231 struct inode *dst_inode = file_inode(dst); in _nfs42_proc_copy() local
232 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs42_proc_copy()
253 status = nfs_sync_inode(dst_inode); in _nfs42_proc_copy()
295 truncate_pagecache_range(dst_inode, pos_dst, in _nfs42_proc_copy()
680 struct inode *dst_inode = file_inode(dst_f); in _nfs42_proc_clone() local
681 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs42_proc_clone()
684 .dst_fh = NFS_FH(dst_inode), in _nfs42_proc_clone()
715 status = nfs_post_op_update_inode(dst_inode, res.dst_fattr); in _nfs42_proc_clone()
Dnfs4proc.c5151 struct inode *dst_inode = file_inode(dst); in _nfs4_proc_commit() local
5152 struct nfs_server *server = NFS_SERVER(dst_inode); in _nfs4_proc_commit()
5159 args->fh = NFS_FH(dst_inode); in _nfs4_proc_commit()
/Linux-v4.19/fs/f2fs/
Dfile.c1054 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, in __clone_blkaddrs() argument
1074 set_new_dnode(&dn, dst_inode, NULL, NULL, 0); in __clone_blkaddrs()
1086 ADDRS_PER_PAGE(dn.node_page, dst_inode) - in __clone_blkaddrs()
1096 f2fs_i_blocks_write(dst_inode, in __clone_blkaddrs()
1106 if (dst_inode->i_size < new_size) in __clone_blkaddrs()
1107 f2fs_i_size_write(dst_inode, new_size); in __clone_blkaddrs()
1118 pdst = f2fs_get_new_data_page(dst_inode, NULL, dst + i, in __clone_blkaddrs()
1140 struct inode *dst_inode, pgoff_t src, pgoff_t dst, in __exchange_data_block() argument
1170 ret = __clone_blkaddrs(src_inode, dst_inode, src_blkaddr, in __exchange_data_block()