/linux-6.12.1/fs/ |
D | remap_range.c | 31 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 …]
|
D | read_write.c | 1505 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 …]
|
D | dax.c | 2074 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/ |
D | nfs4file.c | 136 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/ |
D | parse-headers.pl | 21 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/ |
D | file.c | 488 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/ |
D | xfs_reflink.h | 47 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,
|
D | xfs_reflink.c | 1450 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()
|
D | xfs_file.c | 1170 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/ |
D | reflink.h | 10 loff_t btrfs_remap_file_range(struct file *file_in, loff_t pos_in,
|
D | reflink.c | 774 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/ |
D | dax.h | 256 int dax_remap_file_range_prep(struct file *file_in, loff_t pos_in,
|
D | fs.h | 2098 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/ |
D | file.c | 3190 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/ |
D | file.c | 2690 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/ |
D | file.c | 2901 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/ |
D | locking.rst | 549 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
|
D | vfs.rst | 1106 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
|