/fs/ |
D | remap_range.c | 439 struct file *dst_file, loff_t dst_pos, in vfs_dedupe_file_range_one() argument 447 ret = mnt_want_write_file(dst_file); in vfs_dedupe_file_range_one() 459 ret = remap_verify_area(dst_file, dst_pos, len, true); in vfs_dedupe_file_range_one() 464 if (!allow_file_dedupe(dst_file)) in vfs_dedupe_file_range_one() 468 if (src_file->f_path.mnt != dst_file->f_path.mnt) in vfs_dedupe_file_range_one() 472 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one() 476 if (!dst_file->f_op->remap_file_range) in vfs_dedupe_file_range_one() 484 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one() 487 mnt_drop_write_file(dst_file); in vfs_dedupe_file_range_one() 541 struct file *dst_file = dst_fd.file; in vfs_dedupe_file_range() local [all …]
|
D | ioctl.c | 230 static long ioctl_file_clone(struct file *dst_file, unsigned long srcfd, in ioctl_file_clone() argument 240 if (src_file.file->f_path.mnt != dst_file->f_path.mnt) in ioctl_file_clone() 242 cloned = vfs_clone_file_range(src_file.file, off, dst_file, destoff, in ioctl_file_clone()
|
/fs/fuse/ |
D | passthrough.c | 17 static void fuse_file_accessed(struct file *dst_file, struct file *src_file) in fuse_file_accessed() argument 22 if (dst_file->f_flags & O_NOATIME) in fuse_file_accessed() 25 dst_inode = file_inode(dst_file); in fuse_file_accessed() 34 touch_atime(&dst_file->f_path); in fuse_file_accessed() 37 void fuse_copyattr(struct file *dst_file, struct file *src_file) in fuse_copyattr() argument 39 struct inode *dst = file_inode(dst_file); in fuse_copyattr()
|
D | backing.c | 29 static void fuse_file_accessed(struct file *dst_file, struct file *src_file) in fuse_file_accessed() argument 34 if (dst_file->f_flags & O_NOATIME) in fuse_file_accessed() 37 dst_inode = file_inode(dst_file); in fuse_file_accessed() 46 touch_atime(&dst_file->f_path); in fuse_file_accessed()
|
D | file.c | 3302 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument 3307 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range() 3311 ret = generic_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
|
D | fuse_i.h | 1406 void fuse_copyattr(struct file *dst_file, struct file *src_file);
|
/fs/cifs/ |
D | ioctl.c | 71 static long cifs_ioctl_copychunk(unsigned int xid, struct file *dst_file, in cifs_ioctl_copychunk() argument 80 if (!(dst_file->f_mode & FMODE_WRITE)) { in cifs_ioctl_copychunk() 86 rc = mnt_want_write_file(dst_file); in cifs_ioctl_copychunk() 109 rc = cifs_file_copychunk_range(xid, src_file.file, 0, dst_file, 0, in cifs_ioctl_copychunk() 116 mnt_drop_write_file(dst_file); in cifs_ioctl_copychunk()
|
D | cifsfs.c | 1136 struct file *dst_file, loff_t destoff, loff_t len, in cifs_remap_file_range() argument 1140 struct inode *target_inode = file_inode(dst_file); in cifs_remap_file_range() 1156 if (!src_file->private_data || !dst_file->private_data) { in cifs_remap_file_range() 1162 smb_file_target = dst_file->private_data; in cifs_remap_file_range() 1199 struct file *dst_file, loff_t destoff, in cifs_file_copychunk_range() argument 1203 struct inode *target_inode = file_inode(dst_file); in cifs_file_copychunk_range() 1212 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range() 1219 smb_file_target = dst_file->private_data; in cifs_file_copychunk_range() 1244 rc = file_modified(dst_file); in cifs_file_copychunk_range() 1277 struct file *dst_file, loff_t destoff, in cifs_copy_file_range() argument [all …]
|
D | cifsfs.h | 143 struct file *dst_file, loff_t destoff,
|
/fs/btrfs/ |
D | reflink.c | 862 struct file *dst_file, loff_t destoff, loff_t len, in btrfs_remap_file_range() argument 866 struct inode *dst_inode = file_inode(dst_file); in btrfs_remap_file_range() 880 ret = btrfs_remap_file_range_prep(src_file, off, dst_file, destoff, in btrfs_remap_file_range() 888 ret = btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_remap_file_range() 906 (file_sync_write(src_file) || file_sync_write(dst_file))) { in btrfs_remap_file_range() 909 ret = btrfs_sync_file(dst_file, destoff, in btrfs_remap_file_range()
|
/fs/nfs/ |
D | nfs4file.c | 243 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() argument 246 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range() 295 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
|
/fs/ceph/ |
D | file.c | 2312 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() argument 2316 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range() 2380 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range() 2392 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 2436 ret = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range() 2445 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range() 2466 file_update_time(dst_file); in __ceph_copy_file_range() 2492 bytes = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range() 2507 struct file *dst_file, loff_t dst_off, in ceph_copy_file_range() argument 2512 ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, in ceph_copy_file_range() [all …]
|