Home
last modified time | relevance | path

Searched refs:dst_file (Results 1 – 9 of 9) sorted by relevance

/linux/fs/
H A Dremap_range.c433 struct file *dst_file, loff_t dst_pos, in vfs_dedupe_file_range_one() argument
449 ret = remap_verify_area(dst_file, dst_pos, len, true); in vfs_dedupe_file_range_one()
458 ret = mnt_want_write_file(dst_file); in vfs_dedupe_file_range_one()
463 if (!may_dedupe_file(dst_file)) in vfs_dedupe_file_range_one()
467 if (file_inode(src_file)->i_sb != file_inode(dst_file)->i_sb) in vfs_dedupe_file_range_one()
471 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one()
475 if (!dst_file->f_op->remap_file_range) in vfs_dedupe_file_range_one()
483 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one()
486 mnt_drop_write_file(dst_file); in vfs_dedupe_file_range_one()
H A Dioctl.c230 static int ioctl_file_clone(struct file *dst_file, unsigned long srcfd, in ioctl_file_clone() argument
239 cloned = vfs_clone_file_range(fd_file(src_file), off, dst_file, destoff, in ioctl_file_clone()
/linux/fs/btrfs/
H A Dreflink.c927 struct file *dst_file, loff_t destoff, loff_t len, in btrfs_remap_file_range() argument
931 struct btrfs_inode *dst_inode = BTRFS_I(file_inode(dst_file)); in btrfs_remap_file_range()
948 ret = btrfs_remap_file_range_prep(src_file, off, dst_file, destoff, in btrfs_remap_file_range()
956 ret = btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_remap_file_range()
975 (file_sync_write(src_file) || file_sync_write(dst_file))) { in btrfs_remap_file_range()
978 ret = btrfs_sync_file(dst_file, destoff, in btrfs_remap_file_range()
/linux/fs/nfs/
H A Dnfs4file.c250 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() argument
253 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range()
291 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
/linux/fs/ceph/
H A Dfile.c3079 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() argument
3083 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range()
3152 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range()
3164 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range()
3210 ret = splice_file_range(src_file, &src_off, dst_file, &dst_off, in __ceph_copy_file_range()
3219 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range()
3240 file_update_time(dst_file); in __ceph_copy_file_range()
3265 bytes = splice_file_range(src_file, &src_off, dst_file, in __ceph_copy_file_range()
3280 struct file *dst_file, loff_t dst_off, in ceph_copy_file_range() argument
3285 ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, in ceph_copy_file_range()
[all …]
/linux/fs/smb/client/
H A Dcifsfs.h144 loff_t off, struct file *dst_file,
H A Dsmb2ops.c1879 * @dst_file: destination file
1892 struct cifsFileInfo *dst_file, in __smb2_copychunk_range() argument
1912 tcon = tlink_tcon(dst_file->tlink); in __smb2_copychunk_range()
1915 dst_file->fid.volatile_fid, tcon->tid, in __smb2_copychunk_range()
1937 if (src_file == dst_file && dst_off > src_off) { in __smb2_copychunk_range()
2028 rc = SMB2_ioctl(xid, tcon, dst_file->fid.persistent_fid, in __smb2_copychunk_range()
2029 dst_file->fid.volatile_fid, FSCTL_SRV_COPYCHUNK_WRITE, in __smb2_copychunk_range()
2130 dst_file->fid.volatile_fid, tcon->tid, in __smb2_copychunk_range()
2135 dst_file->fid.volatile_fid, tcon->tid, in __smb2_copychunk_range()
2144 struct cifsFileInfo *dst_file, in smb2_copychunk_range() argument
[all...]
/linux/fs/fuse/
H A Dfile.c3062 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument
3067 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range()
3071 ret = splice_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
/linux/include/linux/
H A Dfs.h2092 struct file *dst_file, loff_t dst_pos,