Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
Dremap_range.c31 static int generic_remap_checks(struct file *file_in, loff_t pos_in, in generic_remap_checks() argument
35 struct inode *inode_in = file_in->f_mapping->host; in generic_remap_checks()
271 __generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, in __generic_remap_file_range_prep() argument
276 struct inode *inode_in = file_inode(file_in); in __generic_remap_file_range_prep()
308 ret = generic_remap_checks(file_in, pos_in, file_out, pos_out, len, in __generic_remap_file_range_prep()
335 ret = vfs_dedupe_file_range_compare(file_in, pos_in, in __generic_remap_file_range_prep()
361 int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, in generic_remap_file_range_prep() argument
365 return __generic_remap_file_range_prep(file_in, pos_in, file_out, in generic_remap_file_range_prep()
370 loff_t do_clone_file_range(struct file *file_in, loff_t pos_in, in do_clone_file_range() argument
378 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in do_clone_file_range()
[all …]
Dread_write.c1386 ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in, in generic_copy_file_range() argument
1392 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1404 static int generic_copy_file_checks(struct file *file_in, loff_t pos_in, in generic_copy_file_checks() argument
1408 struct inode *inode_in = file_inode(file_in); in generic_copy_file_checks()
1414 ret = generic_file_rw_checks(file_in, file_out); in generic_copy_file_checks()
1431 if (file_in->f_op->copy_file_range != in generic_copy_file_checks()
1434 } else if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) { in generic_copy_file_checks()
1475 ssize_t vfs_copy_file_range(struct file *file_in, loff_t pos_in, in vfs_copy_file_range() argument
1485 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len, in vfs_copy_file_range()
1490 ret = rw_verify_area(READ, file_in, &pos_in, len); in vfs_copy_file_range()
[all …]
Ddax.c2059 int dax_remap_file_range_prep(struct file *file_in, loff_t pos_in, in dax_remap_file_range_prep() argument
2064 return __generic_remap_file_range_prep(file_in, pos_in, file_out, in dax_remap_file_range_prep()
/linux-6.6.21/fs/nfs/
Dnfs4file.c135 static ssize_t __nfs4_copy_file_range(struct file *file_in, loff_t pos_in, in __nfs4_copy_file_range() argument
146 if (file_in->f_op != &nfs4_file_operations) in __nfs4_copy_file_range()
149 !nfs_server_capable(file_inode(file_in), NFS_CAP_COPY)) in __nfs4_copy_file_range()
151 if (file_inode(file_in) == file_inode(file_out)) in __nfs4_copy_file_range()
156 if (count <= 2 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range()
159 if (!nfs42_files_from_same_server(file_in, file_out)) { in __nfs4_copy_file_range()
171 ret = nfs42_proc_copy_notify(file_in, file_out, cn_resp); in __nfs4_copy_file_range()
179 ret = nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count, in __nfs4_copy_file_range()
189 static ssize_t nfs4_copy_file_range(struct file *file_in, loff_t pos_in, in nfs4_copy_file_range() argument
195 ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, in nfs4_copy_file_range()
[all …]
/linux-6.6.21/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-6.6.21/fs/xfs/
Dxfs_reflink.h38 extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in,
47 extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in,
Dxfs_reflink.c1475 struct file *file_in, in xfs_reflink_remap_prep() argument
1482 struct inode *inode_in = file_inode(file_in); in xfs_reflink_remap_prep()
1504 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, in xfs_reflink_remap_prep()
1507 ret = dax_remap_file_range_prep(file_in, pos_in, file_out, in xfs_reflink_remap_prep()
Dxfs_file.c1162 struct file *file_in, in xfs_file_remap_range() argument
1169 struct inode *inode_in = file_inode(file_in); in xfs_file_remap_range()
1188 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range()
1217 if (xfs_file_sync_writes(file_in) || xfs_file_sync_writes(file_out)) in xfs_file_remap_range()
/linux-6.6.21/fs/overlayfs/
Dfile.c608 static loff_t ovl_copyfile(struct file *file_in, loff_t pos_in, in ovl_copyfile() argument
630 ret = ovl_real_fdget(file_in, &real_in); in ovl_copyfile()
668 static ssize_t ovl_copy_file_range(struct file *file_in, loff_t pos_in, in ovl_copy_file_range() argument
672 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range()
676 static loff_t ovl_remap_file_range(struct file *file_in, loff_t pos_in, in ovl_remap_file_range() argument
695 (!ovl_inode_upper(file_inode(file_in)) || in ovl_remap_file_range()
699 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
/linux-6.6.21/fs/btrfs/
Dreflink.h8 loff_t btrfs_remap_file_range(struct file *file_in, loff_t pos_in,
Dreflink.c794 static int btrfs_remap_file_range_prep(struct file *file_in, loff_t pos_in, in btrfs_remap_file_range_prep() argument
798 struct inode *inode_in = file_inode(file_in); in btrfs_remap_file_range_prep()
868 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in btrfs_remap_file_range_prep()
/linux-6.6.21/include/linux/
Dfs.h1949 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
2029 extern ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in,
2032 int __generic_remap_file_range_prep(struct file *file_in, loff_t pos_in,
2036 int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in,
2039 extern loff_t do_clone_file_range(struct file *file_in, loff_t pos_in,
2042 extern loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in,
2957 extern int generic_file_rw_checks(struct file *file_in, struct file *file_out);
Ddax.h255 int dax_remap_file_range_prep(struct file *file_in, loff_t pos_in,
/linux-6.6.21/fs/fuse/
Dfile.c3081 static ssize_t __fuse_copy_file_range(struct file *file_in, loff_t pos_in, in __fuse_copy_file_range() argument
3085 struct fuse_file *ff_in = file_in->private_data; in __fuse_copy_file_range()
3087 struct inode *inode_in = file_inode(file_in); in __fuse_copy_file_range()
3112 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in __fuse_copy_file_range()
3181 file_accessed(file_in); in __fuse_copy_file_range()
/linux-6.6.21/fs/ocfs2/
Dfile.c2674 static loff_t ocfs2_remap_file_range(struct file *file_in, loff_t pos_in, in ocfs2_remap_file_range() argument
2678 struct inode *inode_in = file_inode(file_in); in ocfs2_remap_file_range()
2704 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range()
/linux-6.6.21/fs/f2fs/
Dfile.c2782 static int f2fs_move_file_range(struct file *file_in, loff_t pos_in, in f2fs_move_file_range() argument
2785 struct inode *src = file_inode(file_in); in f2fs_move_file_range()
2792 if (file_in->f_path.mnt != file_out->f_path.mnt || in f2fs_move_file_range()
/linux-6.6.21/Documentation/filesystems/
Dlocking.rst549 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
Dvfs.rst1107 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,