Lines Matching refs:dst_file
440 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
544 if (!dst_file) { in vfs_dedupe_file_range()
554 deduped = vfs_dedupe_file_range_one(file, off, dst_file, in vfs_dedupe_file_range()