| /fs/ |
| A D | remap_range.c | 433 struct file *dst_file, loff_t dst_pos, in vfs_dedupe_file_range_one() argument 449 ret = remap_verify_area(dst_file, dst_pos, len, true); in vfs_dedupe_file_range_one() 458 ret = mnt_want_write_file(dst_file); in vfs_dedupe_file_range_one() 463 if (!may_dedupe_file(dst_file)) in vfs_dedupe_file_range_one() 467 if (file_inode(src_file)->i_sb != file_inode(dst_file)->i_sb) in vfs_dedupe_file_range_one() 471 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one() 475 if (!dst_file->f_op->remap_file_range) in vfs_dedupe_file_range_one() 483 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one() 486 mnt_drop_write_file(dst_file); in vfs_dedupe_file_range_one()
|
| A D | ioctl.c | 231 static int ioctl_file_clone(struct file *dst_file, unsigned long srcfd, in ioctl_file_clone() argument 240 cloned = vfs_clone_file_range(fd_file(src_file), off, dst_file, destoff, in ioctl_file_clone()
|
| /fs/smb/client/ |
| A D | ioctl.c | 71 static long cifs_ioctl_copychunk(unsigned int xid, struct file *dst_file, in cifs_ioctl_copychunk() argument 79 if (!(dst_file->f_mode & FMODE_WRITE)) { in cifs_ioctl_copychunk() 85 rc = mnt_want_write_file(dst_file); in cifs_ioctl_copychunk() 108 rc = cifs_file_copychunk_range(xid, fd_file(src_file), 0, dst_file, 0, in cifs_ioctl_copychunk() 113 mnt_drop_write_file(dst_file); in cifs_ioctl_copychunk()
|
| A D | cifsfs.c | 1267 struct file *dst_file, loff_t destoff, loff_t len, in cifs_remap_file_range() argument 1271 struct inode *target_inode = file_inode(dst_file); in cifs_remap_file_range() 1275 struct cifsFileInfo *smb_file_target = dst_file->private_data; in cifs_remap_file_range() 1380 struct file *dst_file, loff_t destoff, in cifs_file_copychunk_range() argument 1384 struct inode *target_inode = file_inode(dst_file); in cifs_file_copychunk_range() 1395 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range() 1402 smb_file_target = dst_file->private_data; in cifs_file_copychunk_range() 1451 rc = file_modified(dst_file); in cifs_file_copychunk_range() 1496 struct file *dst_file, loff_t destoff, in cifs_copy_file_range() argument 1501 struct cifsFileInfo *cfile = dst_file->private_data; in cifs_copy_file_range() [all …]
|
| A D | cifsfs.h | 133 struct file *dst_file, loff_t destoff,
|
| /fs/btrfs/ |
| A D | reflink.c | 864 struct file *dst_file, loff_t destoff, loff_t len, in btrfs_remap_file_range() argument 868 struct btrfs_inode *dst_inode = BTRFS_I(file_inode(dst_file)); in btrfs_remap_file_range() 882 ret = btrfs_remap_file_range_prep(src_file, off, dst_file, destoff, in btrfs_remap_file_range() 891 ret = btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_remap_file_range() 910 (file_sync_write(src_file) || file_sync_write(dst_file))) { in btrfs_remap_file_range() 913 ret = btrfs_sync_file(dst_file, destoff, in btrfs_remap_file_range()
|
| /fs/nfs/ |
| A D | nfs4file.c | 249 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() argument 252 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range() 288 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
|
| /fs/ceph/ |
| A D | file.c | 2952 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() argument 2956 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range() 3025 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range() 3037 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 3083 ret = splice_file_range(src_file, &src_off, dst_file, &dst_off, in __ceph_copy_file_range() 3092 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 3113 file_update_time(dst_file); in __ceph_copy_file_range() 3138 bytes = splice_file_range(src_file, &src_off, dst_file, in __ceph_copy_file_range() 3153 struct file *dst_file, loff_t dst_off, in ceph_copy_file_range() argument 3158 ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, in ceph_copy_file_range() [all …]
|
| /fs/fuse/ |
| A D | file.c | 3053 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument 3058 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range() 3062 ret = splice_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
|