Home
last modified time | relevance | path

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

/Linux-v6.1/fs/
Dremap_range.c440 struct file *dst_file, loff_t dst_pos, in vfs_dedupe_file_range_one() argument
448 ret = mnt_want_write_file(dst_file); in vfs_dedupe_file_range_one()
460 ret = remap_verify_area(dst_file, dst_pos, len, true); in vfs_dedupe_file_range_one()
465 if (!allow_file_dedupe(dst_file)) in vfs_dedupe_file_range_one()
469 if (file_inode(src_file)->i_sb != file_inode(dst_file)->i_sb) in vfs_dedupe_file_range_one()
473 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one()
477 if (!dst_file->f_op->remap_file_range) in vfs_dedupe_file_range_one()
485 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one()
488 mnt_drop_write_file(dst_file); in vfs_dedupe_file_range_one()
542 struct file *dst_file = dst_fd.file; in vfs_dedupe_file_range() local
[all …]
Dioctl.c230 static long ioctl_file_clone(struct file *dst_file, unsigned long srcfd, in ioctl_file_clone() argument
239 cloned = vfs_clone_file_range(src_file.file, off, dst_file, destoff, in ioctl_file_clone()
/Linux-v6.1/fs/cifs/
Dioctl.c71 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()
Dcifsfs.c1177 struct file *dst_file, loff_t destoff, loff_t len, in cifs_remap_file_range() argument
1181 struct inode *target_inode = file_inode(dst_file); in cifs_remap_file_range()
1195 if (!src_file->private_data || !dst_file->private_data) { in cifs_remap_file_range()
1201 smb_file_target = dst_file->private_data; in cifs_remap_file_range()
1238 struct file *dst_file, loff_t destoff, in cifs_file_copychunk_range() argument
1242 struct inode *target_inode = file_inode(dst_file); in cifs_file_copychunk_range()
1251 if (!src_file->private_data || !dst_file->private_data) { in cifs_file_copychunk_range()
1258 smb_file_target = dst_file->private_data; in cifs_file_copychunk_range()
1289 rc = file_modified(dst_file); in cifs_file_copychunk_range()
1324 struct file *dst_file, loff_t destoff, in cifs_copy_file_range() argument
[all …]
Dcifsfs.h140 struct file *dst_file, loff_t destoff,
/Linux-v6.1/fs/btrfs/
Dreflink.c878 struct file *dst_file, loff_t destoff, loff_t len, in btrfs_remap_file_range() argument
882 struct inode *dst_inode = file_inode(dst_file); in btrfs_remap_file_range()
896 ret = btrfs_remap_file_range_prep(src_file, off, dst_file, destoff, in btrfs_remap_file_range()
904 ret = btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_remap_file_range()
922 (file_sync_write(src_file) || file_sync_write(dst_file))) { in btrfs_remap_file_range()
925 ret = btrfs_sync_file(dst_file, destoff, in btrfs_remap_file_range()
/Linux-v6.1/fs/nfs/
Dnfs4file.c244 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() argument
247 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range()
296 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
/Linux-v6.1/fs/ceph/
Dfile.c2362 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() argument
2366 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range()
2430 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range()
2442 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range()
2487 ret = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2496 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range()
2517 file_update_time(dst_file); in __ceph_copy_file_range()
2543 bytes = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2558 struct file *dst_file, loff_t dst_off, in ceph_copy_file_range() argument
2563 ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, in ceph_copy_file_range()
[all …]
/Linux-v6.1/fs/fuse/
Dfile.c3153 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument
3158 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range()
3162 ret = generic_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
/Linux-v6.1/include/linux/
Dfs.h2230 struct file *dst_file, loff_t dst_pos,