Home
last modified time | relevance | path

Searched refs:src_file (Results 1 – 11 of 11) 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.c1084 static loff_t cifs_remap_file_range(struct file *src_file, loff_t off, in cifs_remap_file_range() argument
1088 struct inode *src_inode = file_inode(src_file); in cifs_remap_file_range()
1090 struct cifsFileInfo *smb_file_src = src_file->private_data; in cifs_remap_file_range()
1105 if (!src_file->private_data || !dst_file->private_data) { in cifs_remap_file_range()
1147 struct file *src_file, loff_t off, in cifs_file_copychunk_range() argument
1151 struct inode *src_inode = file_inode(src_file); in cifs_file_copychunk_range()
1161 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range()
1169 smb_file_src = src_file->private_data; in cifs_file_copychunk_range()
1198 file_accessed(src_file); in cifs_file_copychunk_range()
1225 static ssize_t cifs_copy_file_range(struct file *src_file, loff_t off, in cifs_copy_file_range() argument
[all …]
Dcifsfs.h150 struct file *src_file, loff_t off,
Dcifsglob.h427 struct cifsFileInfo *src_file);
429 struct cifsFileInfo *src_file, void __user *);
448 struct cifsFileInfo *src_file,
/fs/fuse/
Dpassthrough.c17 static void fuse_file_accessed(struct file *dst_file, struct file *src_file) in fuse_file_accessed() argument
26 src_inode = file_inode(src_file); in fuse_file_accessed()
37 static void fuse_copyattr(struct file *dst_file, struct file *src_file) in fuse_copyattr() argument
40 struct inode *src = file_inode(src_file); in fuse_copyattr()
Dfile.c3483 static ssize_t fuse_copy_file_range(struct file *src_file, loff_t src_off, in fuse_copy_file_range() argument
3489 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range()
3493 ret = generic_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
/fs/
Dioctl.c230 struct fd src_file = fdget(srcfd); in ioctl_file_clone() local
234 if (!src_file.file) in ioctl_file_clone()
237 if (src_file.file->f_path.mnt != dst_file->f_path.mnt) in ioctl_file_clone()
239 cloned = vfs_clone_file_range(src_file.file, off, dst_file, destoff, in ioctl_file_clone()
248 fdput(src_file); in ioctl_file_clone()
Dremap_range.c447 loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, in vfs_dedupe_file_range_one() argument
469 if (src_file->f_path.mnt != dst_file->f_path.mnt) in vfs_dedupe_file_range_one()
485 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one()
/fs/nfs/
Dnfs4file.c244 static loff_t nfs42_remap_file_range(struct file *src_file, loff_t src_off, in nfs42_remap_file_range() argument
250 struct inode *src_inode = file_inode(src_file); in nfs42_remap_file_range()
297 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
/fs/btrfs/
Dreflink.c836 loff_t btrfs_remap_file_range(struct file *src_file, loff_t off, in btrfs_remap_file_range() argument
840 struct inode *src_inode = file_inode(src_file); in btrfs_remap_file_range()
853 ret = btrfs_remap_file_range_prep(src_file, off, dst_file, destoff, in btrfs_remap_file_range()
861 ret = btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_remap_file_range()
/fs/ceph/
Dfile.c2303 static ssize_t __ceph_copy_file_range(struct file *src_file, loff_t src_off, in __ceph_copy_file_range() argument
2307 struct inode *src_inode = file_inode(src_file); in __ceph_copy_file_range()
2367 ret = file_write_and_wait_range(src_file, src_off, (src_off + len)); in __ceph_copy_file_range()
2383 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
2428 ret = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2436 err = get_rd_wr_caps(src_file, &src_got, in __ceph_copy_file_range()
2484 bytes = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2498 static ssize_t ceph_copy_file_range(struct file *src_file, loff_t src_off, in ceph_copy_file_range() argument
2504 ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, in ceph_copy_file_range()
2508 ret = generic_copy_file_range(src_file, src_off, dst_file, in ceph_copy_file_range()