Home
last modified time | relevance | path

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

/linux-6.12.1/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()
277 __generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, in __generic_remap_file_range_prep() argument
282 struct inode *inode_in = file_inode(file_in); in __generic_remap_file_range_prep()
314 ret = generic_remap_checks(file_in, pos_in, file_out, pos_out, len, in __generic_remap_file_range_prep()
341 ret = vfs_dedupe_file_range_compare(file_in, pos_in, in __generic_remap_file_range_prep()
367 int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, in generic_remap_file_range_prep() argument
371 return __generic_remap_file_range_prep(file_in, pos_in, file_out, in generic_remap_file_range_prep()
376 loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in, in vfs_clone_file_range() argument
384 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in vfs_clone_file_range()
[all …]
Dread_write.c1505 static int generic_copy_file_checks(struct file *file_in, loff_t pos_in, in generic_copy_file_checks() argument
1509 struct inode *inode_in = file_inode(file_in); in generic_copy_file_checks()
1515 ret = generic_file_rw_checks(file_in, file_out); in generic_copy_file_checks()
1532 if (file_in->f_op->copy_file_range != in generic_copy_file_checks()
1535 } else if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) { in generic_copy_file_checks()
1576 ssize_t vfs_copy_file_range(struct file *file_in, loff_t pos_in, in vfs_copy_file_range() argument
1582 bool samesb = file_inode(file_in)->i_sb == file_inode(file_out)->i_sb; in vfs_copy_file_range()
1587 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len, in vfs_copy_file_range()
1592 ret = rw_verify_area(READ, file_in, &pos_in, len); in vfs_copy_file_range()
1611 ret = file_out->f_op->copy_file_range(file_in, pos_in, in vfs_copy_file_range()
[all …]
Ddax.c2074 int dax_remap_file_range_prep(struct file *file_in, loff_t pos_in, in dax_remap_file_range_prep() argument
2079 return __generic_remap_file_range_prep(file_in, pos_in, file_out, in dax_remap_file_range_prep()
/linux-6.12.1/fs/nfs/
Dnfs4file.c136 static ssize_t __nfs4_copy_file_range(struct file *file_in, loff_t pos_in, in __nfs4_copy_file_range() argument
147 if (file_in->f_op != &nfs4_file_operations) in __nfs4_copy_file_range()
150 !nfs_server_capable(file_inode(file_in), NFS_CAP_COPY)) in __nfs4_copy_file_range()
152 if (file_inode(file_in) == file_inode(file_out)) in __nfs4_copy_file_range()
157 if (count <= 2 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range()
160 if (!nfs42_files_from_same_server(file_in, file_out)) { in __nfs4_copy_file_range()
172 ret = nfs42_proc_copy_notify(file_in, file_out, cn_resp); in __nfs4_copy_file_range()
180 ret = nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count, in __nfs4_copy_file_range()
190 static ssize_t nfs4_copy_file_range(struct file *file_in, loff_t pos_in, in nfs4_copy_file_range() argument
196 ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, in nfs4_copy_file_range()
[all …]
/linux-6.12.1/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.12.1/fs/overlayfs/
Dfile.c488 static loff_t ovl_copyfile(struct file *file_in, loff_t pos_in, in ovl_copyfile() argument
510 ret = ovl_real_fdget(file_in, &real_in); in ovl_copyfile()
548 static ssize_t ovl_copy_file_range(struct file *file_in, loff_t pos_in, in ovl_copy_file_range() argument
552 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range()
556 static loff_t ovl_remap_file_range(struct file *file_in, loff_t pos_in, in ovl_remap_file_range() argument
575 (!ovl_inode_upper(file_inode(file_in)) || in ovl_remap_file_range()
579 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
/linux-6.12.1/fs/xfs/
Dxfs_reflink.h47 extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in,
56 extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in,
Dxfs_reflink.c1450 struct file *file_in, in xfs_reflink_remap_prep() argument
1457 struct inode *inode_in = file_inode(file_in); in xfs_reflink_remap_prep()
1479 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, in xfs_reflink_remap_prep()
1482 ret = dax_remap_file_range_prep(file_in, pos_in, file_out, in xfs_reflink_remap_prep()
Dxfs_file.c1170 struct file *file_in, in xfs_file_remap_range() argument
1177 struct inode *inode_in = file_inode(file_in); in xfs_file_remap_range()
1196 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range()
1225 if (xfs_file_sync_writes(file_in) || xfs_file_sync_writes(file_out)) in xfs_file_remap_range()
/linux-6.12.1/fs/btrfs/
Dreflink.h10 loff_t btrfs_remap_file_range(struct file *file_in, loff_t pos_in,
Dreflink.c774 static int btrfs_remap_file_range_prep(struct file *file_in, loff_t pos_in, in btrfs_remap_file_range_prep() argument
778 struct inode *inode_in = file_inode(file_in); in btrfs_remap_file_range_prep()
848 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in btrfs_remap_file_range_prep()
/linux-6.12.1/include/linux/
Ddax.h256 int dax_remap_file_range_prep(struct file *file_in, loff_t pos_in,
Dfs.h2098 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
2180 int __generic_remap_file_range_prep(struct file *file_in, loff_t pos_in,
2184 int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in,
2187 extern loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in,
3208 extern int generic_file_rw_checks(struct file *file_in, struct file *file_out);
/linux-6.12.1/fs/fuse/
Dfile.c3190 static ssize_t __fuse_copy_file_range(struct file *file_in, loff_t pos_in, in __fuse_copy_file_range() argument
3194 struct fuse_file *ff_in = file_in->private_data; in __fuse_copy_file_range()
3196 struct inode *inode_in = file_inode(file_in); in __fuse_copy_file_range()
3221 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in __fuse_copy_file_range()
3290 file_accessed(file_in); in __fuse_copy_file_range()
/linux-6.12.1/fs/ocfs2/
Dfile.c2690 static loff_t ocfs2_remap_file_range(struct file *file_in, loff_t pos_in, in ocfs2_remap_file_range() argument
2694 struct inode *inode_in = file_inode(file_in); in ocfs2_remap_file_range()
2720 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range()
/linux-6.12.1/fs/f2fs/
Dfile.c2901 static int f2fs_move_file_range(struct file *file_in, loff_t pos_in, in f2fs_move_file_range() argument
2904 struct inode *src = file_inode(file_in); in f2fs_move_file_range()
2911 if (file_in->f_path.mnt != file_out->f_path.mnt || in f2fs_move_file_range()
/linux-6.12.1/Documentation/filesystems/
Dlocking.rst549 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
Dvfs.rst1106 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,