/linux-4.19.296/fs/cifs/ |
D | ioctl.c | 37 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()
|
D | cifsfs.c | 978 struct file *dst_file, loff_t destoff, u64 len) in cifs_clone_file_range() argument 981 struct inode *target_inode = file_inode(dst_file); in cifs_clone_file_range() 992 if (!src_file->private_data || !dst_file->private_data) { in cifs_clone_file_range() 998 smb_file_target = dst_file->private_data; in cifs_clone_file_range() 1035 struct file *dst_file, loff_t destoff, in cifs_file_copychunk_range() argument 1039 struct inode *target_inode = file_inode(dst_file); in cifs_file_copychunk_range() 1053 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range() 1060 smb_file_target = dst_file->private_data; in cifs_file_copychunk_range() 1113 struct file *dst_file, loff_t destoff, in cifs_copy_file_range() argument 1119 rc = cifs_file_copychunk_range(xid, src_file, off, dst_file, destoff, in cifs_copy_file_range()
|
D | cifsfs.h | 146 struct file *dst_file, loff_t destoff,
|
/linux-4.19.296/fs/nfs/ |
D | nfs4file.c | 180 struct file *dst_file, loff_t dst_off, u64 count) in nfs42_clone_file_range() argument 182 struct inode *dst_inode = file_inode(dst_file); in nfs42_clone_file_range() 221 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_clone_file_range()
|
/linux-4.19.296/fs/ |
D | read_write.c | 2054 struct file *dst_file, loff_t dst_pos, u64 len) in vfs_dedupe_file_range_one() argument 2058 ret = mnt_want_write_file(dst_file); in vfs_dedupe_file_range_one() 2062 ret = clone_verify_area(dst_file, dst_pos, len, true); in vfs_dedupe_file_range_one() 2067 if (!(capable(CAP_SYS_ADMIN) || (dst_file->f_mode & FMODE_WRITE))) in vfs_dedupe_file_range_one() 2071 if (src_file->f_path.mnt != dst_file->f_path.mnt) in vfs_dedupe_file_range_one() 2075 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one() 2079 if (!dst_file->f_op->dedupe_file_range) in vfs_dedupe_file_range_one() 2082 ret = dst_file->f_op->dedupe_file_range(src_file, src_pos, in vfs_dedupe_file_range_one() 2083 dst_file, dst_pos, len); in vfs_dedupe_file_range_one() 2085 mnt_drop_write_file(dst_file); in vfs_dedupe_file_range_one() [all …]
|
D | ioctl.c | 222 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-4.19.296/fs/btrfs/ |
D | ioctl.c | 3692 struct file *dst_file, loff_t dst_loff, in btrfs_dedupe_file_range() argument 3696 struct inode *dst = file_inode(dst_file); in btrfs_dedupe_file_range() 4423 struct file *dst_file, loff_t destoff, u64 len) in btrfs_clone_file_range() argument 4425 return btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_clone_file_range()
|
D | ctree.h | 3241 struct file *dst_file, loff_t dst_loff,
|
/linux-4.19.296/include/linux/ |
D | fs.h | 1856 struct file *dst_file, loff_t dst_pos,
|