/linux/fs/ |
A D | remap_range.c | 30 struct file *file_out, loff_t pos_out, in generic_remap_checks() argument 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() 84 pos_out + bcount > pos_in && in generic_remap_checks() 85 pos_out < pos_in + bcount) in generic_remap_checks() 124 loff_t pos_out, in generic_remap_check_len() argument 134 if (pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len() 281 struct file *file_out, loff_t pos_out, in generic_remap_file_range_prep() argument 332 pos_out, pos_out + *len - 1); in generic_remap_file_range_prep() 343 inode_out, pos_out, *len, &is_same); in generic_remap_file_range_prep() [all …]
|
A D | read_write.c | 1375 struct file *file_out, loff_t pos_out, in generic_copy_file_range() argument 1384 struct file *file_out, loff_t pos_out, in do_copy_file_range() argument 1398 file_out, pos_out, in do_copy_file_range() 1434 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks() 1450 pos_out + count > pos_in && in generic_copy_file_checks() 1451 pos_out < pos_in + count) in generic_copy_file_checks() 1499 file_out, pos_out, in vfs_copy_file_range() 1533 loff_t pos_out; in SYSCALL_DEFINE6() local 1558 pos_out = f_out.file->f_pos; in SYSCALL_DEFINE6() 1565 pos_out += ret; in SYSCALL_DEFINE6() [all …]
|
/linux/fs/xfs/ |
A D | xfs_reflink.h | 42 struct file *file_out, loff_t pos_out, loff_t len, 51 struct file *file_out, loff_t pos_out, loff_t *len, 54 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len,
|
A D | xfs_reflink.c | 1186 loff_t pos_out, in xfs_reflink_remap_blocks() argument 1193 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); in xfs_reflink_remap_blocks() 1196 xfs_off_t new_isize = pos_out + remap_len; in xfs_reflink_remap_blocks() 1310 loff_t pos_out, in xfs_reflink_remap_prep() argument 1335 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in xfs_reflink_remap_prep() 1349 ret = xfs_reflink_zero_posteof(dest, pos_out); in xfs_reflink_remap_prep() 1363 if (pos_out > XFS_ISIZE(dest)) { in xfs_reflink_remap_prep() 1364 loff_t flen = *len + (pos_out - XFS_ISIZE(dest)); in xfs_reflink_remap_prep() 1367 ret = xfs_flush_unmap_range(dest, pos_out, *len); in xfs_reflink_remap_prep()
|
A D | xfs_file.c | 1140 loff_t pos_out, in xfs_file_remap_range() argument 1163 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range() 1168 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); in xfs_file_remap_range() 1170 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, in xfs_file_remap_range() 1183 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range() 1187 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, in xfs_file_remap_range()
|
/linux/fs/overlayfs/ |
A D | file.c | 562 struct file *file_out, loff_t pos_out, in ovl_copyfile() argument 584 real_out.file, pos_out, len, flags); in ovl_copyfile() 589 real_out.file, pos_out, len, flags); in ovl_copyfile() 594 real_out.file, pos_out, len, in ovl_copyfile() 610 struct file *file_out, loff_t pos_out, in ovl_copy_file_range() argument 613 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range() 618 struct file *file_out, loff_t pos_out, in ovl_remap_file_range() argument 640 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
|
/linux/fs/nfs/ |
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, flags); in nfs4_copy_file_range()
|
/linux/fs/btrfs/ |
A D | reflink.h | 9 struct file *file_out, loff_t pos_out,
|
A D | reflink.c | 759 struct file *file_out, loff_t pos_out, in btrfs_remap_file_range_prep() argument 839 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), in btrfs_remap_file_range_prep() 844 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in btrfs_remap_file_range_prep()
|
/linux/fs/hostfs/ |
A 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()
|
A D | hostfs.h | 75 extern char *read_dir(void *stream, unsigned long long *pos_out,
|
/linux/include/uapi/linux/ |
A D | f2fs.h | 78 __u64 pos_out; /* start position in dst_fd */ member
|
/linux/fs/f2fs/ |
A D | file.c | 2757 if (pos_out < 0 || pos_in < 0) in f2fs_move_file_range() 2761 if (pos_in == pos_out) in f2fs_move_file_range() 2763 if (pos_out > pos_in && pos_out < pos_in + len) in f2fs_move_file_range() 2787 if (pos_out + olen > dst->i_size) in f2fs_move_file_range() 2788 dst_max_i_size = pos_out + olen; in f2fs_move_file_range() 2793 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) in f2fs_move_file_range() 2811 pos_out, pos_out + len); in f2fs_move_file_range() 2826 pos_out >> F2FS_BLKSIZE_BITS, in f2fs_move_file_range() 2873 range->pos_out, range->len); in __f2fs_ioc_move_range() 4408 compat_u64 pos_out; member [all …]
|
/linux/fs/ocfs2/ |
A D | refcounttree.h | 113 loff_t pos_out,
|
A D | file.c | 2638 struct file *file_out, loff_t pos_out, in ocfs2_remap_file_range() argument 2667 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range() 2680 round_down(pos_out, PAGE_SIZE), in ocfs2_remap_file_range() 2681 round_up(pos_out + len, PAGE_SIZE) - 1); in ocfs2_remap_file_range() 2684 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range() 2701 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
|
A D | refcounttree.c | 4505 loff_t pos_out, in ocfs2_reflink_remap_extent() argument 4527 tpos = ocfs2_bytes_to_clusters(t_inode->i_sb, pos_out); in ocfs2_reflink_remap_extent() 4619 loff_t pos_out, in ocfs2_reflink_remap_blocks() argument 4637 if (pos_in == pos_out && pos_in == 0 && len == i_size_read(s_inode) && in ocfs2_reflink_remap_blocks() 4697 pos_out, len, &dealloc); in ocfs2_reflink_remap_blocks()
|
/linux/fs/fuse/ |
A D | file.c | 3017 struct file *file_out, loff_t pos_out, in __fuse_copy_file_range() argument 3033 .off_out = pos_out, in __fuse_copy_file_range() 3042 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range() 3080 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range() 3104 ALIGN_DOWN(pos_out, PAGE_SIZE), in __fuse_copy_file_range() 3105 ALIGN(pos_out + outarg.size, PAGE_SIZE) - 1); in __fuse_copy_file_range() 3108 fuse_write_update_attr(inode_out, pos_out + outarg.size, outarg.size); in __fuse_copy_file_range()
|
/linux/include/linux/ |
A D | fs.h | 2107 struct file *file_out, loff_t pos_out, 2175 struct file *file_out, loff_t pos_out, 2178 struct file *file_out, loff_t pos_out, 2182 struct file *file_out, loff_t pos_out, 2185 struct file *file_out, loff_t pos_out,
|
/linux/Documentation/filesystems/ |
A D | locking.rst | 542 struct file *file_out, loff_t pos_out,
|
A D | vfs.rst | 1022 struct file *file_out, loff_t pos_out, 1131 file into the dest file at pos_out. Implementations must handle
|