Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/
A Dremap_range.c437 struct file *dst_file, loff_t dst_pos, in vfs_dedupe_file_range_one() argument
445 ret = mnt_want_write_file(dst_file); in vfs_dedupe_file_range_one()
457 ret = remap_verify_area(dst_file, dst_pos, len, true); in vfs_dedupe_file_range_one()
462 if (!allow_file_dedupe(dst_file)) in vfs_dedupe_file_range_one()
470 if (S_ISDIR(file_inode(dst_file)->i_mode)) in vfs_dedupe_file_range_one()
474 if (!dst_file->f_op->remap_file_range) in vfs_dedupe_file_range_one()
482 ret = dst_file->f_op->remap_file_range(src_file, src_pos, dst_file, in vfs_dedupe_file_range_one()
485 mnt_drop_write_file(dst_file); in vfs_dedupe_file_range_one()
539 struct file *dst_file = dst_fd.file; in vfs_dedupe_file_range() local
541 if (!dst_file) { in vfs_dedupe_file_range()
[all …]
A 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-6.3-rc2/fs/cifs/
A 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()
A Dcifsfs.c1182 struct file *dst_file, loff_t destoff, loff_t len, in cifs_remap_file_range() argument
1186 struct inode *target_inode = file_inode(dst_file); in cifs_remap_file_range()
1200 if (!src_file->private_data || !dst_file->private_data) { in cifs_remap_file_range()
1206 smb_file_target = dst_file->private_data; in cifs_remap_file_range()
1243 struct file *dst_file, loff_t destoff, in cifs_file_copychunk_range() argument
1247 struct inode *target_inode = file_inode(dst_file); in cifs_file_copychunk_range()
1263 smb_file_target = dst_file->private_data; in cifs_file_copychunk_range()
1294 rc = file_modified(dst_file); in cifs_file_copychunk_range()
1329 struct file *dst_file, loff_t destoff, in cifs_copy_file_range() argument
1334 struct cifsFileInfo *cfile = dst_file->private_data; in cifs_copy_file_range()
[all …]
A Dcifsfs.h146 struct file *dst_file, loff_t destoff,
/linux-6.3-rc2/fs/btrfs/
A Dreflink.c884 struct file *dst_file, loff_t destoff, loff_t len, in btrfs_remap_file_range() argument
888 struct inode *dst_inode = file_inode(dst_file); in btrfs_remap_file_range()
902 ret = btrfs_remap_file_range_prep(src_file, off, dst_file, destoff, in btrfs_remap_file_range()
910 ret = btrfs_clone_files(dst_file, src_file, off, len, destoff); in btrfs_remap_file_range()
928 (file_sync_write(src_file) || file_sync_write(dst_file))) { in btrfs_remap_file_range()
931 ret = btrfs_sync_file(dst_file, destoff, in btrfs_remap_file_range()
/linux-6.3-rc2/fs/nfs/
A Dnfs4file.c240 struct file *dst_file, loff_t dst_off, loff_t count, in nfs42_remap_file_range() argument
243 struct inode *dst_inode = file_inode(dst_file); in nfs42_remap_file_range()
292 ret = nfs42_proc_clone(src_file, dst_file, src_off, dst_off, count); in nfs42_remap_file_range()
/linux-6.3-rc2/fs/ceph/
A Dfile.c2376 struct file *dst_file, loff_t dst_off, in __ceph_copy_file_range() argument
2380 struct inode *dst_inode = file_inode(dst_file); in __ceph_copy_file_range()
2444 ret = file_write_and_wait_range(dst_file, dst_off, (dst_off + len)); in __ceph_copy_file_range()
2456 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range()
2501 ret = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2510 dst_file, (dst_off + len), &dst_got); in __ceph_copy_file_range()
2531 file_update_time(dst_file); in __ceph_copy_file_range()
2556 bytes = do_splice_direct(src_file, &src_off, dst_file, in __ceph_copy_file_range()
2571 struct file *dst_file, loff_t dst_off, in ceph_copy_file_range() argument
2576 ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, in ceph_copy_file_range()
[all …]
/linux-6.3-rc2/fs/fuse/
A Dfile.c3229 struct file *dst_file, loff_t dst_off, in fuse_copy_file_range() argument
3234 ret = __fuse_copy_file_range(src_file, src_off, dst_file, dst_off, in fuse_copy_file_range()
3238 ret = generic_copy_file_range(src_file, src_off, dst_file, in fuse_copy_file_range()
/linux-6.3-rc2/include/linux/
A Dfs.h1882 struct file *dst_file, loff_t dst_pos,

Completed in 31 milliseconds