Home
last modified time | relevance | path

Searched refs:src_inode (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/fs/nfs/
Dnfs4file.c184 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()
[all …]
Dnfs42proc.c683 struct inode *src_inode = file_inode(src_f); in _nfs42_proc_clone() local
687 .src_fh = NFS_FH(src_inode), in _nfs42_proc_clone()
/linux-4.19.296/fs/cifs/
Dioctl.c42 struct inode *src_inode; in cifs_ioctl_copychunk() local
70 src_inode = file_inode(src_file.file); in cifs_ioctl_copychunk()
72 if (S_ISDIR(src_inode->i_mode)) in cifs_ioctl_copychunk()
76 src_inode->i_size, 0); in cifs_ioctl_copychunk()
Dcifsfs.c980 struct inode *src_inode = file_inode(src_file); in cifs_clone_file_range() local
1006 lock_two_nondirectories(target_inode, src_inode); in cifs_clone_file_range()
1009 len = src_inode->i_size - off; in cifs_clone_file_range()
1027 unlock_two_nondirectories(src_inode, target_inode); in cifs_clone_file_range()
1038 struct inode *src_inode = file_inode(src_file); in cifs_file_copychunk_range() local
1048 if (src_inode == target_inode) { in cifs_file_copychunk_range()
1075 lock_two_nondirectories(target_inode, src_inode); in cifs_file_copychunk_range()
1094 unlock_two_nondirectories(src_inode, target_inode); in cifs_file_copychunk_range()
/linux-4.19.296/fs/f2fs/
Dfile.c1056 static int __clone_blkaddrs(struct inode *src_inode, struct inode *dst_inode, in __clone_blkaddrs() argument
1060 struct f2fs_sb_info *sbi = F2FS_I_SB(src_inode); in __clone_blkaddrs()
1096 f2fs_i_blocks_write(src_inode, in __clone_blkaddrs()
1116 psrc = f2fs_get_lock_data_page(src_inode, in __clone_blkaddrs()
1131 ret = f2fs_truncate_hole(src_inode, in __clone_blkaddrs()
1141 static int __exchange_data_block(struct inode *src_inode, in __exchange_data_block() argument
1153 src_blkaddr = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block()
1159 do_replace = f2fs_kvzalloc(F2FS_I_SB(src_inode), in __exchange_data_block()
1167 ret = __read_out_blkaddrs(src_inode, src_blkaddr, in __exchange_data_block()
1172 ret = __clone_blkaddrs(src_inode, dst_inode, src_blkaddr, in __exchange_data_block()
[all …]
/linux-4.19.296/fs/btrfs/
Dioctl.c1775 struct inode *src_inode; in btrfs_ioctl_snap_create_transid() local
1781 src_inode = file_inode(src.file); in btrfs_ioctl_snap_create_transid()
1782 if (src_inode->i_sb != file_inode(file)->i_sb) { in btrfs_ioctl_snap_create_transid()
1786 } else if (!inode_owner_or_capable(src_inode)) { in btrfs_ioctl_snap_create_transid()
1794 BTRFS_I(src_inode)->root, in btrfs_ioctl_snap_create_transid()