Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/fs/
Dread_write.c1589 ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in, in generic_copy_file_range() argument
1593 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1598 static ssize_t do_copy_file_range(struct file *file_in, loff_t pos_in, in do_copy_file_range() argument
1611 file_out->f_op->copy_file_range == file_in->f_op->copy_file_range) in do_copy_file_range()
1612 return file_out->f_op->copy_file_range(file_in, pos_in, in do_copy_file_range()
1616 return generic_copy_file_range(file_in, pos_in, file_out, pos_out, len, in do_copy_file_range()
1625 ssize_t vfs_copy_file_range(struct file *file_in, loff_t pos_in, in vfs_copy_file_range() argument
1634 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len, in vfs_copy_file_range()
1639 ret = rw_verify_area(READ, file_in, &pos_in, len); in vfs_copy_file_range()
1656 if (file_in->f_op->remap_file_range && in vfs_copy_file_range()
[all …]
/Linux-v5.4/Documentation/sphinx/
Dparse-headers.pl21 my ($file_in, $file_out, $file_exceptions) = @ARGV;
39 open IN, $file_in or die "Can't open $file_in";
325 my $title = $file_in;
/Linux-v5.4/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()
/Linux-v5.4/mm/
Dfilemap.c2996 int generic_remap_checks(struct file *file_in, loff_t pos_in, in generic_remap_checks() argument
3000 struct inode *inode_in = file_in->f_mapping->host; in generic_remap_checks()
3071 int generic_file_rw_checks(struct file *file_in, struct file *file_out) in generic_file_rw_checks() argument
3073 struct inode *inode_in = file_inode(file_in); in generic_file_rw_checks()
3082 if (!(file_in->f_mode & FMODE_READ) || in generic_file_rw_checks()
3097 int generic_copy_file_checks(struct file *file_in, loff_t pos_in, in generic_copy_file_checks() argument
3101 struct inode *inode_in = file_inode(file_in); in generic_copy_file_checks()
3107 ret = generic_file_rw_checks(file_in, file_out); in generic_copy_file_checks()
/Linux-v5.4/include/linux/
Dfs.h1850 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
1915 extern ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in,
1918 extern int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in,
1922 extern loff_t do_clone_file_range(struct file *file_in, loff_t pos_in,
1925 extern loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in,
3091 extern int generic_remap_checks(struct file *file_in, loff_t pos_in,
3094 extern int generic_file_rw_checks(struct file *file_in, struct file *file_out);
3095 extern int generic_copy_file_checks(struct file *file_in, loff_t pos_in,
/Linux-v5.4/fs/fuse/
Dfile.c3228 static ssize_t __fuse_copy_file_range(struct file *file_in, loff_t pos_in, in __fuse_copy_file_range() argument
3232 struct fuse_file *ff_in = file_in->private_data; in __fuse_copy_file_range()
3234 struct inode *inode_in = file_inode(file_in); in __fuse_copy_file_range()
3258 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in __fuse_copy_file_range()
3313 file_accessed(file_in); in __fuse_copy_file_range()
/Linux-v5.4/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()
/Linux-v5.4/fs/f2fs/
Dfile.c2572 static int f2fs_move_file_range(struct file *file_in, loff_t pos_in, in f2fs_move_file_range() argument
2575 struct inode *src = file_inode(file_in); in f2fs_move_file_range()
2582 if (file_in->f_path.mnt != file_out->f_path.mnt || in f2fs_move_file_range()
/Linux-v5.4/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,
/Linux-v5.4/Documentation/filesystems/
Dvfs.rst987 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,