Home
last modified time | relevance | path

Searched refs:dst_file (Results 1 – 7 of 7) 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/smb/client/
H A Dioctl.c71 static long cifs_ioctl_copychunk(unsigned int xid, struct file *dst_file, in cifs_ioctl_copychunk() argument
79 if (!(dst_file->f_mode & FMODE_WRITE)) { in cifs_ioctl_copychunk()
85 rc = mnt_want_write_file(dst_file); in cifs_ioctl_copychunk()
108 rc = cifs_file_copychunk_range(xid, fd_file(src_file), 0, dst_file, 0, in cifs_ioctl_copychunk()
113 mnt_drop_write_file(dst_file); in cifs_ioctl_copychunk()
H A Dcifsfs.c1326 struct file *dst_file, loff_t destoff, loff_t len, in cifs_remap_file_range() argument
1330 struct inode *target_inode = file_inode(dst_file); in cifs_remap_file_range()
1334 struct cifsFileInfo *smb_file_target = dst_file->private_data; in cifs_remap_file_range()
1453 struct file *dst_file, loff_t destoff, in cifs_file_copychunk_range() argument
1457 struct inode *target_inode = file_inode(dst_file); in cifs_file_copychunk_range()
1468 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range()
1475 smb_file_target = dst_file->private_data; in cifs_file_copychunk_range()
1524 rc = file_modified(dst_file); in cifs_file_copychunk_range()
1569 struct file *dst_file, loff_t destoff, in cifs_copy_file_range() argument
1574 struct cifsFileInfo *cfile = dst_file->private_data; in cifs_copy_file_range()
[all …]
H A Dsmb2ops.c1854 struct cifsFileInfo *dst_file, in smb2_copychunk_range() argument
1872 tcon = tlink_tcon(dst_file->tlink); in smb2_copychunk_range()
1875 dst_file->fid.volatile_fid, tcon->tid, in smb2_copychunk_range()
1941 rc = SMB2_ioctl(xid, tcon, dst_file->fid.persistent_fid, in smb2_copychunk_range()
1942 dst_file->fid.volatile_fid, FSCTL_SRV_COPYCHUNK_WRITE, in smb2_copychunk_range()
2031 dst_file->fid.volatile_fid, tcon->tid, in smb2_copychunk_range()
2036 dst_file->fid.volatile_fid, tcon->tid, in smb2_copychunk_range()
/linux/fs/ceph/
H A Dfile.c2948 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() argument
2952 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range()
3021 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range()
3033 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range()
3079 ret = splice_file_range(src_file, &src_off, dst_file, &dst_off, in __ceph_copy_file_range()
3088 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range()
3109 file_update_time(dst_file); in __ceph_copy_file_range()
3134 bytes = splice_file_range(src_file, &src_off, dst_file, in __ceph_copy_file_range()
3149 struct file *dst_file, loff_t dst_off, in ceph_copy_file_range() argument
3154 ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, in ceph_copy_file_range()
[all …]
/linux/fs/fuse/
H A Dfile.c3147 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument
3152 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range()
3156 ret = splice_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()