Home
last modified time | relevance | path

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

/Linux-v4.19/fs/cifs/
Dioctl.c37 static long cifs_ioctl_copychunk(unsigned int xid, struct file *dst_file, in cifs_ioctl_copychunk() argument
46 if (!(dst_file->f_mode & FMODE_WRITE)) { in cifs_ioctl_copychunk()
52 rc = mnt_want_write_file(dst_file); in cifs_ioctl_copychunk()
75 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk()
82 mnt_drop_write_file(dst_file); in cifs_ioctl_copychunk()
Dcifsfs.c979 struct file *dst_file, loff_t destoff, u64 len) in cifs_clone_file_range() argument
982 struct inode *target_inode = file_inode(dst_file); in cifs_clone_file_range()
984 struct cifsFileInfo *smb_file_target = dst_file->private_data; in cifs_clone_file_range()
993 if (!src_file->private_data || !dst_file->private_data) { in cifs_clone_file_range()
1033 struct file *dst_file, loff_t destoff, in cifs_file_copychunk_range() argument
1037 struct inode *target_inode = file_inode(dst_file); in cifs_file_copychunk_range()
1051 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range()
1058 smb_file_target = dst_file->private_data; in cifs_file_copychunk_range()
1111 struct file *dst_file, loff_t destoff, 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.h143 struct file *dst_file, loff_t destoff,
/Linux-v4.19/fs/nfs/
Dnfs4file.c184 struct file *dst_file, loff_t dst_off, u64 count) in nfs42_clone_file_range() argument
186 struct inode *dst_inode = file_inode(dst_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/
Dread_write.c1981 struct file *dst_file, loff_t dst_pos, u64 len) in vfs_dedupe_file_range_one() argument
1985 ret = mnt_want_write_file(dst_file); in vfs_dedupe_file_range_one()
1989 ret = clone_verify_area(dst_file, dst_pos, len, true); in vfs_dedupe_file_range_one()
1994 if (!(capable(CAP_SYS_ADMIN) || (dst_file->f_mode & FMODE_WRITE))) in vfs_dedupe_file_range_one()
1998 if (src_file->f_path.mnt != dst_file->f_path.mnt) in vfs_dedupe_file_range_one()
2002 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one()
2006 if (!dst_file->f_op->dedupe_file_range) 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()
2010 dst_file, dst_pos, len); in vfs_dedupe_file_range_one()
2012 mnt_drop_write_file(dst_file); in vfs_dedupe_file_range_one()
[all …]
Dioctl.c222 static long ioctl_file_clone(struct file *dst_file, unsigned long srcfd, in ioctl_file_clone() argument
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()
/Linux-v4.19/fs/btrfs/
Dioctl.c3631 struct file *dst_file, loff_t dst_loff, in btrfs_dedupe_file_range() argument
3635 struct inode *dst = file_inode(dst_file); in btrfs_dedupe_file_range()
4352 struct file *dst_file, loff_t destoff, u64 len) in btrfs_clone_file_range() argument
4354 return btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_clone_file_range()
Dctree.h3222 struct file *dst_file, loff_t dst_loff,
/Linux-v4.19/include/linux/
Dfs.h1841 struct file *dst_file, loff_t dst_pos,