Home
last modified time | relevance | path

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

/fs/cifs/
Dioctl.c84 struct fd src_file; in cifs_ioctl_copychunk() local
101 src_file = fdget(srcfd); in cifs_ioctl_copychunk()
102 if (!src_file.file) { in cifs_ioctl_copychunk()
107 if (src_file.file->f_op->unlocked_ioctl != cifs_ioctl) { in cifs_ioctl_copychunk()
113 src_inode = file_inode(src_file.file); in cifs_ioctl_copychunk()
118 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk()
123 fdput(src_file); in cifs_ioctl_copychunk()
Dcifsfs.c1061 static loff_t cifs_remap_file_range(struct file *src_file, loff_t off, in cifs_remap_file_range() argument
1065 struct inode *src_inode = file_inode(src_file); in cifs_remap_file_range()
1067 struct cifsFileInfo *smb_file_src = src_file->private_data; in cifs_remap_file_range()
1080 if (!src_file->private_data || !dst_file->private_data) { in cifs_remap_file_range()
1122 struct file *src_file, loff_t off, in cifs_file_copychunk_range() argument
1126 struct inode *src_inode = file_inode(src_file); in cifs_file_copychunk_range()
1136 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range()
1144 smb_file_src = src_file->private_data; in cifs_file_copychunk_range()
1173 file_accessed(src_file); in cifs_file_copychunk_range()
1200 static ssize_t cifs_copy_file_range(struct file *src_file, loff_t off, in cifs_copy_file_range() argument
[all …]
Dcifsfs.h146 struct file *src_file, loff_t off,
Dcifsglob.h425 struct cifsFileInfo *src_file);
427 struct cifsFileInfo *src_file, void __user *);
444 struct cifsFileInfo *src_file,
/fs/nfs/
Dnfs4file.c196 static loff_t nfs42_remap_file_range(struct file *src_file, loff_t src_off, in nfs42_remap_file_range() argument
202 struct inode *src_inode = file_inode(src_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()
/fs/
Dioctl.c226 struct fd src_file = fdget(srcfd); in ioctl_file_clone() local
230 if (!src_file.file) in ioctl_file_clone()
233 if (src_file.file->f_path.mnt != dst_file->f_path.mnt) in ioctl_file_clone()
235 cloned = vfs_clone_file_range(src_file.file, off, dst_file, destoff, in ioctl_file_clone()
244 fdput(src_file); in ioctl_file_clone()
Dread_write.c2103 loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, in vfs_dedupe_file_range_one() argument
2125 if (src_file->f_path.mnt != dst_file->f_path.mnt) in vfs_dedupe_file_range_one()
2141 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one()
/fs/ceph/
Dfile.c1934 static ssize_t __ceph_copy_file_range(struct file *src_file, loff_t src_off, in __ceph_copy_file_range() argument
1938 struct inode *src_inode = file_inode(src_file); in __ceph_copy_file_range()
1998 ret = file_write_and_wait_range(src_file, src_off, (src_off + len)); in __ceph_copy_file_range()
2014 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
2065 ret = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2072 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
2147 err = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2163 static ssize_t ceph_copy_file_range(struct file *src_file, loff_t src_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()
2173 ret = generic_copy_file_range(src_file, src_off, dst_file, in ceph_copy_file_range()
/fs/btrfs/
Dioctl.c3914 loff_t btrfs_remap_file_range(struct file *src_file, loff_t off, in btrfs_remap_file_range() argument
3918 struct inode *src_inode = file_inode(src_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()
/fs/fuse/
Dfile.c3324 static ssize_t fuse_copy_file_range(struct file *src_file, loff_t src_off, in fuse_copy_file_range() argument
3330 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range()
3334 ret = generic_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()