| /linux-6.15/fs/ |
| H A D | remap_range.c | 32 struct file *file_out, loff_t pos_out, in generic_remap_checks() argument 48 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_remap_checks() 57 pos_out >= size_out || pos_out + count > size_out)) in generic_remap_checks() 87 pos_out + bcount > pos_in && in generic_remap_checks() 88 pos_out < pos_in + bcount) in generic_remap_checks() 135 loff_t pos_out, in generic_remap_check_len() argument 278 struct file *file_out, loff_t pos_out, in __generic_remap_file_range_prep() argument 330 pos_out, pos_out + *len - 1); in __generic_remap_file_range_prep() 342 file_out, pos_out, *len, &is_same); in __generic_remap_file_range_prep() 345 inode_out, pos_out, *len, &is_same, in __generic_remap_file_range_prep() [all …]
|
| H A D | read_write.c | 1480 struct file *file_out, loff_t pos_out, in generic_copy_file_checks() argument 1521 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks() 1537 pos_out + count > pos_in && in generic_copy_file_checks() 1538 pos_out < pos_in + count) in generic_copy_file_checks() 1551 struct file *file_out, loff_t pos_out, in vfs_copy_file_range() argument 1586 file_out, pos_out, in vfs_copy_file_range() 1590 file_out, pos_out, in vfs_copy_file_range() 1647 loff_t pos_out; in SYSCALL_DEFINE6() local 1669 pos_out = fd_file(f_out)->f_pos; in SYSCALL_DEFINE6() 1679 pos_out += ret; in SYSCALL_DEFINE6() [all …]
|
| H A D | dax.c | 2278 struct file *file_out, loff_t pos_out, in dax_remap_file_range_prep() argument 2283 pos_out, len, remap_flags, ops); in dax_remap_file_range_prep()
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_reflink.h | 48 struct file *file_out, loff_t pos_out, loff_t len, 57 struct file *file_out, loff_t pos_out, loff_t *len, 60 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len,
|
| H A D | xfs_reflink.c | 1447 loff_t pos_out, in xfs_reflink_remap_blocks() argument 1454 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); in xfs_reflink_remap_blocks() 1457 xfs_off_t new_isize = pos_out + remap_len; in xfs_reflink_remap_blocks() 1572 loff_t pos_out, in xfs_reflink_remap_prep() argument 1599 pos_out, len, remap_flags); in xfs_reflink_remap_prep() 1602 pos_out, len, remap_flags, &xfs_read_iomap_ops); in xfs_reflink_remap_prep() 1615 ret = xfs_reflink_zero_posteof(dest, pos_out); in xfs_reflink_remap_prep() 1629 if (pos_out > XFS_ISIZE(dest)) { in xfs_reflink_remap_prep() 1630 loff_t flen = *len + (pos_out - XFS_ISIZE(dest)); in xfs_reflink_remap_prep() 1633 ret = xfs_flush_unmap_range(dest, pos_out, *len); in xfs_reflink_remap_prep()
|
| H A D | xfs_file.c | 1414 loff_t pos_out, in xfs_file_remap_range() argument 1437 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range() 1442 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); in xfs_file_remap_range() 1444 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, in xfs_file_remap_range() 1457 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range() 1461 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, in xfs_file_remap_range()
|
| /linux-6.15/fs/overlayfs/ |
| H A D | file.c | 546 struct file *file_out, loff_t pos_out, in ovl_copyfile() argument 577 realfile_out, pos_out, len, flags); in ovl_copyfile() 582 realfile_out, pos_out, len, flags); in ovl_copyfile() 587 realfile_out, pos_out, len, in ovl_copyfile() 603 struct file *file_out, loff_t pos_out, in ovl_copy_file_range() argument 606 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range() 611 struct file *file_out, loff_t pos_out, in ovl_remap_file_range() argument 633 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
|
| /linux-6.15/fs/nfs/ |
| H A D | nfs4file.c | 137 struct file *file_out, loff_t pos_out, in __nfs4_copy_file_range() argument 180 ret = nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count, in __nfs4_copy_file_range() 191 struct file *file_out, loff_t pos_out, 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() 200 pos_out, count); in nfs4_copy_file_range()
|
| /linux-6.15/include/linux/ |
| H A D | splice.h | 92 struct file *out, loff_t pos_out, in splice_copy_file_range() argument 95 return splice_file_range(in, &pos_in, out, &pos_out, len); in splice_copy_file_range()
|
| H A D | dax.h | 279 struct file *file_out, loff_t pos_out,
|
| H A D | fs.h | 2166 struct file *file_out, loff_t pos_out, 2252 struct file *file_out, loff_t pos_out, 2256 struct file *file_out, loff_t pos_out, 2259 struct file *file_out, loff_t pos_out,
|
| /linux-6.15/fs/btrfs/ |
| H A D | reflink.h | 11 struct file *file_out, loff_t pos_out,
|
| H A D | reflink.c | 777 struct file *file_out, loff_t pos_out, in btrfs_remap_file_range_prep() argument 844 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), wb_len); 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.15/fs/hostfs/ |
| H A D | hostfs.h | 77 extern char *read_dir(void *stream, unsigned long long *pos_out,
|
| H A D | hostfs_user.c | 118 char *read_dir(void *stream, unsigned long long *pos_out, in read_dir() argument 131 *pos_out = ent->d_off; in read_dir()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | f2fs.h | 87 __u64 pos_out; /* start position in dst_fd */ member
|
| /linux-6.15/fs/ocfs2/ |
| H A D | refcounttree.h | 113 loff_t pos_out,
|
| H A D | file.c | 2695 struct file *file_out, loff_t pos_out, in ocfs2_remap_file_range() argument 2724 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range() 2737 round_down(pos_out, PAGE_SIZE), in ocfs2_remap_file_range() 2738 round_up(pos_out + len, PAGE_SIZE) - 1); in ocfs2_remap_file_range() 2741 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range() 2758 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
|
| H A D | refcounttree.c | 4490 loff_t pos_out, in ocfs2_reflink_remap_extent() argument 4512 tpos = ocfs2_bytes_to_clusters(t_inode->i_sb, pos_out); in ocfs2_reflink_remap_extent() 4604 loff_t pos_out, in ocfs2_reflink_remap_blocks() argument 4622 if (pos_in == pos_out && pos_in == 0 && len == i_size_read(s_inode) && in ocfs2_reflink_remap_blocks() 4682 pos_out, len, &dealloc); in ocfs2_reflink_remap_blocks()
|
| /linux-6.15/fs/f2fs/ |
| H A D | file.c | 3034 if (pos_out < 0 || pos_in < 0) in f2fs_move_file_range() 3038 if (pos_in == pos_out) in f2fs_move_file_range() 3040 if (pos_out > pos_in && pos_out < pos_in + len) in f2fs_move_file_range() 3075 if (pos_out + olen > dst->i_size) in f2fs_move_file_range() 3076 dst_max_i_size = pos_out + olen; in f2fs_move_file_range() 3081 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) in f2fs_move_file_range() 3099 pos_out, pos_out + len); in f2fs_move_file_range() 3114 F2FS_BYTES_TO_BLK(pos_out), in f2fs_move_file_range() 3169 range->pos_out, range->len); in __f2fs_ioc_move_range() 5271 compat_u64 pos_out; member [all …]
|
| /linux-6.15/fs/fuse/ |
| H A D | file.c | 3274 struct file *file_out, loff_t pos_out, in __fuse_copy_file_range() argument 3290 .off_out = pos_out, in __fuse_copy_file_range() 3299 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range() 3337 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range() 3361 ALIGN_DOWN(pos_out, PAGE_SIZE), in __fuse_copy_file_range() 3362 ALIGN(pos_out + outarg.size, PAGE_SIZE) - 1); in __fuse_copy_file_range() 3365 fuse_write_update_attr(inode_out, pos_out + outarg.size, outarg.size); in __fuse_copy_file_range()
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | locking.rst | 555 struct file *file_out, loff_t pos_out,
|
| H A D | vfs.rst | 1126 struct file *file_out, loff_t pos_out, 1231 file into the dest file at pos_out. Implementations must handle
|