Home
last modified time | relevance | path

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

/Linux-v4.19/fs/cifs/
Dioctl.c41 struct fd src_file; in cifs_ioctl_copychunk() local
58 src_file = fdget(srcfd); in cifs_ioctl_copychunk()
59 if (!src_file.file) { in cifs_ioctl_copychunk()
64 if (src_file.file->f_op->unlocked_ioctl != cifs_ioctl) { in cifs_ioctl_copychunk()
70 src_inode = file_inode(src_file.file); in cifs_ioctl_copychunk()
75 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk()
80 fdput(src_file); in cifs_ioctl_copychunk()
Dcifsfs.c978 static int cifs_clone_file_range(struct file *src_file, loff_t off, in cifs_clone_file_range() argument
981 struct inode *src_inode = file_inode(src_file); in cifs_clone_file_range()
983 struct cifsFileInfo *smb_file_src = src_file->private_data; in cifs_clone_file_range()
993 if (!src_file->private_data || !dst_file->private_data) { in cifs_clone_file_range()
1032 struct file *src_file, loff_t off, in cifs_file_copychunk_range() argument
1036 struct inode *src_inode = file_inode(src_file); in cifs_file_copychunk_range()
1051 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range()
1059 smb_file_src = src_file->private_data; in cifs_file_copychunk_range()
1110 static ssize_t cifs_copy_file_range(struct file *src_file, loff_t off, in cifs_copy_file_range() argument
1117 rc = cifs_file_copychunk_range(xid, src_file, off, dst_file, destoff, in cifs_copy_file_range()
Dcifsfs.h142 struct file *src_file, loff_t off,
Dcifsglob.h412 struct cifsFileInfo *src_file);
414 struct cifsFileInfo *src_file, void __user *);
431 struct cifsFileInfo *src_file,
/Linux-v4.19/fs/nfs/
Dnfs4file.c183 static int nfs42_clone_file_range(struct file *src_file, loff_t src_off, in nfs42_clone_file_range() argument
188 struct inode *src_inode = file_inode(src_file); in nfs42_clone_file_range()
225 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_clone_file_range()
/Linux-v4.19/fs/
Dioctl.c225 struct fd src_file = fdget(srcfd); in ioctl_file_clone() local
228 if (!src_file.file) in ioctl_file_clone()
231 if (src_file.file->f_path.mnt != dst_file->f_path.mnt) in ioctl_file_clone()
233 ret = vfs_clone_file_range(src_file.file, off, dst_file, destoff, olen); in ioctl_file_clone()
235 fdput(src_file); in ioctl_file_clone()
Dread_write.c1980 int vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, in vfs_dedupe_file_range_one() argument
1998 if (src_file->f_path.mnt != dst_file->f_path.mnt) in vfs_dedupe_file_range_one()
2009 ret = dst_file->f_op->dedupe_file_range(src_file, src_pos, in vfs_dedupe_file_range_one()
/Linux-v4.19/fs/btrfs/
Dioctl.c3630 int btrfs_dedupe_file_range(struct file *src_file, loff_t src_loff, in btrfs_dedupe_file_range() argument
3634 struct inode *src = file_inode(src_file); in btrfs_dedupe_file_range()
4351 int btrfs_clone_file_range(struct file *src_file, loff_t off, in btrfs_clone_file_range() argument
4354 return btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_clone_file_range()
Dctree.h3221 int btrfs_dedupe_file_range(struct file *src_file, loff_t src_loff,
/Linux-v4.19/include/linux/
Dfs.h1840 extern int vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos,