Home
last modified time | relevance | path

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

/Linux-v5.4/fs/cifs/
Dioctl.c80 static long cifs_ioctl_copychunk(unsigned int xid, struct file *dst_file, in cifs_ioctl_copychunk() argument
89 if (!(dst_file->f_mode & FMODE_WRITE)) { in cifs_ioctl_copychunk()
95 rc = mnt_want_write_file(dst_file); in cifs_ioctl_copychunk()
118 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk()
125 mnt_drop_write_file(dst_file); in cifs_ioctl_copychunk()
Dcifsfs.c1061 struct file *dst_file, loff_t destoff, loff_t len, in cifs_remap_file_range() argument
1065 struct inode *target_inode = file_inode(dst_file); in cifs_remap_file_range()
1079 if (!src_file->private_data || !dst_file->private_data) { in cifs_remap_file_range()
1085 smb_file_target = dst_file->private_data; in cifs_remap_file_range()
1122 struct file *dst_file, loff_t destoff, in cifs_file_copychunk_range() argument
1126 struct inode *target_inode = file_inode(dst_file); in cifs_file_copychunk_range()
1135 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range()
1142 smb_file_target = dst_file->private_data; in cifs_file_copychunk_range()
1167 rc = file_modified(dst_file); in cifs_file_copychunk_range()
1200 struct file *dst_file, loff_t destoff, in cifs_copy_file_range() argument
[all …]
Dcifsfs.h147 struct file *dst_file, loff_t destoff,
/Linux-v5.4/fs/nfs/
Dnfs4file.c197 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() argument
200 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range()
246 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
/Linux-v5.4/fs/
Dread_write.c2101 struct file *dst_file, loff_t dst_pos, in vfs_dedupe_file_range_one() argument
2109 ret = mnt_want_write_file(dst_file); in vfs_dedupe_file_range_one()
2113 ret = remap_verify_area(dst_file, dst_pos, len, true); in vfs_dedupe_file_range_one()
2118 if (!allow_file_dedupe(dst_file)) in vfs_dedupe_file_range_one()
2122 if (src_file->f_path.mnt != dst_file->f_path.mnt) in vfs_dedupe_file_range_one()
2126 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one()
2130 if (!dst_file->f_op->remap_file_range) in vfs_dedupe_file_range_one()
2138 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one()
2141 mnt_drop_write_file(dst_file); in vfs_dedupe_file_range_one()
2195 struct file *dst_file = dst_fd.file; in vfs_dedupe_file_range() local
[all …]
Dioctl.c222 static long ioctl_file_clone(struct file *dst_file, unsigned long srcfd, in ioctl_file_clone() argument
232 if (src_file.file->f_path.mnt != dst_file->f_path.mnt) in ioctl_file_clone()
234 cloned = vfs_clone_file_range(src_file.file, off, dst_file, destoff, in ioctl_file_clone()
/Linux-v5.4/fs/ceph/
Dfile.c1935 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() argument
1939 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range()
2003 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range()
2015 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range()
2065 ret = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2073 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range()
2121 file_update_time(dst_file); in __ceph_copy_file_range()
2147 err = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2164 struct file *dst_file, loff_t dst_off, in ceph_copy_file_range() argument
2169 ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, in ceph_copy_file_range()
[all …]
/Linux-v5.4/fs/btrfs/
Dioctl.c3915 struct file *dst_file, loff_t destoff, loff_t len, in btrfs_remap_file_range() argument
3919 struct inode *dst_inode = file_inode(dst_file); in btrfs_remap_file_range()
3931 ret = btrfs_remap_file_range_prep(src_file, off, dst_file, destoff, in btrfs_remap_file_range()
3939 ret = btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_remap_file_range()
/Linux-v5.4/fs/fuse/
Dfile.c3319 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument
3324 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range()
3328 ret = generic_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
/Linux-v5.4/include/linux/
Dfs.h1931 struct file *dst_file, loff_t dst_pos,