Searched refs:dst_file (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/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 | 979 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()
|
D | cifsfs.h | 143 struct file *dst_file, loff_t destoff,
|
/Linux-v4.19/fs/nfs/ |
D | nfs4file.c | 184 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/ |
D | read_write.c | 1981 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 …]
|
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-v4.19/fs/btrfs/ |
D | ioctl.c | 3631 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()
|
D | ctree.h | 3222 struct file *dst_file, loff_t dst_loff,
|
/Linux-v4.19/include/linux/ |
D | fs.h | 1841 struct file *dst_file, loff_t dst_pos,
|