| /Linux-v5.10/fs/ |
| D | remap_range.c | 30 struct file *file_out, loff_t pos_out, in generic_remap_checks() argument 42 if (!IS_ALIGNED(pos_in, bs) || !IS_ALIGNED(pos_out, bs)) in generic_remap_checks() 46 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_remap_checks() 55 pos_out >= size_out || pos_out + count > size_out)) in generic_remap_checks() 63 ret = generic_write_check_limits(file_out, pos_out, &count); in generic_remap_checks() 84 pos_out + bcount > pos_in && in generic_remap_checks() 85 pos_out < pos_in + bcount) in generic_remap_checks() 136 loff_t pos_out, in generic_remap_check_len() argument 146 if (pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len() 293 struct file *file_out, loff_t pos_out, in generic_remap_file_range_prep() argument [all …]
|
| D | read_write.c | 1383 struct file *file_out, loff_t pos_out, in generic_copy_file_range() argument 1386 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range() 1392 struct file *file_out, loff_t pos_out, in do_copy_file_range() argument 1406 file_out, pos_out, in do_copy_file_range() 1409 return generic_copy_file_range(file_in, pos_in, file_out, pos_out, len, in do_copy_file_range() 1421 struct file *file_out, loff_t pos_out, in generic_copy_file_checks() argument 1442 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks() 1452 ret = generic_write_check_limits(file_out, pos_out, &count); in generic_copy_file_checks() 1458 pos_out + count > pos_in && in generic_copy_file_checks() 1459 pos_out < pos_in + count) in generic_copy_file_checks() [all …]
|
| /Linux-v5.10/fs/xfs/ |
| D | xfs_reflink.h | 43 struct file *file_out, loff_t pos_out, loff_t len, 52 struct file *file_out, loff_t pos_out, loff_t *len, 55 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len,
|
| D | xfs_reflink.c | 1162 loff_t pos_out, in xfs_reflink_remap_blocks() argument 1169 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); in xfs_reflink_remap_blocks() 1172 xfs_off_t new_isize = pos_out + remap_len; in xfs_reflink_remap_blocks() 1286 loff_t pos_out, in xfs_reflink_remap_prep() argument 1311 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in xfs_reflink_remap_prep() 1325 ret = xfs_reflink_zero_posteof(dest, pos_out); in xfs_reflink_remap_prep() 1339 if (pos_out > XFS_ISIZE(dest)) { in xfs_reflink_remap_prep() 1340 loff_t flen = *len + (pos_out - XFS_ISIZE(dest)); in xfs_reflink_remap_prep() 1343 ret = xfs_flush_unmap_range(dest, pos_out, *len); in xfs_reflink_remap_prep()
|
| D | xfs_file.c | 1061 loff_t pos_out, in xfs_file_remap_range() argument 1084 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range() 1089 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); in xfs_file_remap_range() 1091 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, in xfs_file_remap_range() 1104 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range() 1108 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, in xfs_file_remap_range()
|
| /Linux-v5.10/fs/nfs/ |
| D | nfs4file.c | 137 struct file *file_out, loff_t pos_out, in __nfs4_copy_file_range() argument 182 ret = nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count, in __nfs4_copy_file_range() 193 struct file *file_out, loff_t pos_out, in nfs4_copy_file_range() argument 198 ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, in nfs4_copy_file_range() 202 pos_out, count, flags); in nfs4_copy_file_range()
|
| /Linux-v5.10/fs/overlayfs/ |
| D | file.c | 708 struct file *file_out, loff_t pos_out, in ovl_copyfile() argument 730 real_out.file, pos_out, len, flags); in ovl_copyfile() 735 real_out.file, pos_out, len, flags); in ovl_copyfile() 740 real_out.file, pos_out, len, in ovl_copyfile() 756 struct file *file_out, loff_t pos_out, in ovl_copy_file_range() argument 759 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range() 764 struct file *file_out, loff_t pos_out, in ovl_remap_file_range() argument 786 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
|
| /Linux-v5.10/fs/btrfs/ |
| D | reflink.h | 9 struct file *file_out, loff_t pos_out,
|
| D | reflink.c | 700 struct file *file_out, loff_t pos_out, in btrfs_remap_file_range_prep() argument 780 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), in btrfs_remap_file_range_prep() 785 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in btrfs_remap_file_range_prep()
|
| /Linux-v5.10/fs/hostfs/ |
| D | hostfs.h | 75 extern char *read_dir(void *stream, unsigned long long *pos_out,
|
| D | hostfs_user.c | 107 char *read_dir(void *stream, unsigned long long *pos_out, in read_dir() argument 120 *pos_out = ent->d_off; in read_dir()
|
| /Linux-v5.10/fs/ocfs2/ |
| D | refcounttree.h | 115 loff_t pos_out,
|
| D | file.c | 2564 struct file *file_out, loff_t pos_out, in ocfs2_remap_file_range() argument 2593 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range() 2606 round_down(pos_out, PAGE_SIZE), in ocfs2_remap_file_range() 2607 round_up(pos_out + len, PAGE_SIZE) - 1); in ocfs2_remap_file_range() 2610 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range() 2627 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
|
| D | refcounttree.c | 4507 loff_t pos_out, in ocfs2_reflink_remap_extent() argument 4529 tpos = ocfs2_bytes_to_clusters(t_inode->i_sb, pos_out); in ocfs2_reflink_remap_extent() 4621 loff_t pos_out, in ocfs2_reflink_remap_blocks() argument 4639 if (pos_in == pos_out && pos_in == 0 && len == i_size_read(s_inode) && in ocfs2_reflink_remap_blocks() 4699 pos_out, len, &dealloc); in ocfs2_reflink_remap_blocks()
|
| /Linux-v5.10/fs/f2fs/ |
| D | file.c | 2750 struct file *file_out, loff_t pos_out, size_t len) in f2fs_move_file_range() argument 2772 if (pos_out < 0 || pos_in < 0) in f2fs_move_file_range() 2776 if (pos_in == pos_out) in f2fs_move_file_range() 2778 if (pos_out > pos_in && pos_out < pos_in + len) in f2fs_move_file_range() 2802 if (pos_out + olen > dst->i_size) in f2fs_move_file_range() 2803 dst_max_i_size = pos_out + olen; in f2fs_move_file_range() 2808 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) in f2fs_move_file_range() 2826 pos_out, pos_out + len); in f2fs_move_file_range() 2841 pos_out >> F2FS_BLKSIZE_BITS, in f2fs_move_file_range() 2892 range.pos_out, range.len); in f2fs_ioc_move_range()
|
| D | f2fs.h | 469 u64 pos_out; /* start position in dst_fd */ member
|
| /Linux-v5.10/fs/fuse/ |
| D | file.c | 3313 struct file *file_out, loff_t pos_out, in __fuse_copy_file_range() argument 3329 .off_out = pos_out, in __fuse_copy_file_range() 3338 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range() 3376 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range() 3400 ALIGN_DOWN(pos_out, PAGE_SIZE), in __fuse_copy_file_range() 3401 ALIGN(pos_out + outarg.size, PAGE_SIZE) - 1); in __fuse_copy_file_range() 3404 fuse_write_update_size(inode_out, pos_out + outarg.size); in __fuse_copy_file_range()
|
| /Linux-v5.10/include/linux/ |
| D | fs.h | 1859 struct file *file_out, loff_t pos_out, 1916 struct file *file_out, loff_t pos_out, 1919 struct file *file_out, loff_t pos_out, 1923 struct file *file_out, loff_t pos_out, 1926 struct file *file_out, loff_t pos_out,
|
| /Linux-v5.10/Documentation/filesystems/ |
| D | vfs.rst | 1003 struct file *file_out, loff_t pos_out, 1112 file into the dest file at pos_out. Implementations must handle
|