Home
last modified time | relevance | path

Searched refs:file_in (Results 1 – 11 of 11) sorted by relevance

/fs/nfs/
Dnfs4file.c132 static ssize_t __nfs4_copy_file_range(struct file *file_in, loff_t pos_in, in __nfs4_copy_file_range() argument
137 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in __nfs4_copy_file_range()
141 if (file_inode(file_in) == file_inode(file_out)) in __nfs4_copy_file_range()
143 return nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count); in __nfs4_copy_file_range()
146 static ssize_t nfs4_copy_file_range(struct file *file_in, loff_t pos_in, in nfs4_copy_file_range() argument
152 ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, in nfs4_copy_file_range()
155 ret = generic_copy_file_range(file_in, pos_in, file_out, in nfs4_copy_file_range()
/fs/
Dread_write.c1592 ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in, in generic_copy_file_range() argument
1596 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1601 static ssize_t do_copy_file_range(struct file *file_in, loff_t pos_in, in do_copy_file_range() argument
1614 file_out->f_op->copy_file_range == file_in->f_op->copy_file_range) in do_copy_file_range()
1615 return file_out->f_op->copy_file_range(file_in, pos_in, in do_copy_file_range()
1619 return generic_copy_file_range(file_in, pos_in, file_out, pos_out, len, in do_copy_file_range()
1628 ssize_t vfs_copy_file_range(struct file *file_in, loff_t pos_in, in vfs_copy_file_range() argument
1637 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len, in vfs_copy_file_range()
1642 ret = rw_verify_area(READ, file_in, &pos_in, len); in vfs_copy_file_range()
1659 if (file_in->f_op->remap_file_range && in vfs_copy_file_range()
[all …]
/fs/xfs/
Dxfs_reflink.h42 extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in,
51 extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in,
59 extern void xfs_reflink_remap_unlock(struct file *file_in,
Dxfs_reflink.c1239 struct file *file_in, in xfs_reflink_remap_unlock() argument
1242 struct inode *inode_in = file_inode(file_in); in xfs_reflink_remap_unlock()
1307 struct file *file_in, in xfs_reflink_remap_prep() argument
1314 struct inode *inode_in = file_inode(file_in); in xfs_reflink_remap_prep()
1341 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in xfs_reflink_remap_prep()
1380 xfs_reflink_remap_unlock(file_in, file_out); in xfs_reflink_remap_prep()
Dxfs_file.c970 struct file *file_in, in xfs_file_remap_range() argument
977 struct inode *inode_in = file_inode(file_in); in xfs_file_remap_range()
996 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range()
1024 xfs_reflink_remap_unlock(file_in, file_out); in xfs_file_remap_range()
/fs/overlayfs/
Dfile.c555 static loff_t ovl_copyfile(struct file *file_in, loff_t pos_in, in ovl_copyfile() argument
568 ret = ovl_real_fdget(file_in, &real_in); in ovl_copyfile()
603 static ssize_t ovl_copy_file_range(struct file *file_in, loff_t pos_in, in ovl_copy_file_range() argument
607 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range()
611 static loff_t ovl_remap_file_range(struct file *file_in, loff_t pos_in, in ovl_remap_file_range() argument
630 (!ovl_inode_upper(file_inode(file_in)) || in ovl_remap_file_range()
634 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
/fs/fuse/
Dfile.c3234 static ssize_t __fuse_copy_file_range(struct file *file_in, loff_t pos_in, in __fuse_copy_file_range() argument
3238 struct fuse_file *ff_in = file_in->private_data; in __fuse_copy_file_range()
3240 struct inode *inode_in = file_inode(file_in); in __fuse_copy_file_range()
3264 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in __fuse_copy_file_range()
3319 file_accessed(file_in); in __fuse_copy_file_range()
/fs/ocfs2/
Dfile.c2565 static loff_t ocfs2_remap_file_range(struct file *file_in, loff_t pos_in, in ocfs2_remap_file_range() argument
2569 struct inode *inode_in = file_inode(file_in); in ocfs2_remap_file_range()
2595 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range()
/fs/f2fs/
Dfile.c2608 static int f2fs_move_file_range(struct file *file_in, loff_t pos_in, in f2fs_move_file_range() argument
2611 struct inode *src = file_inode(file_in); in f2fs_move_file_range()
2618 if (file_in->f_path.mnt != file_out->f_path.mnt || in f2fs_move_file_range()
/fs/btrfs/
Dioctl.c3824 static int btrfs_remap_file_range_prep(struct file *file_in, loff_t pos_in, in btrfs_remap_file_range_prep() argument
3828 struct inode *inode_in = file_inode(file_in); in btrfs_remap_file_range_prep()
3841 if (file_in->f_path.mnt != file_out->f_path.mnt || in btrfs_remap_file_range_prep()
3910 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in btrfs_remap_file_range_prep()
Dctree.h2953 loff_t btrfs_remap_file_range(struct file *file_in, loff_t pos_in,