Home
last modified time | relevance | path

Searched refs:pos_out (Results 1 – 16 of 16) sorted by relevance

/fs/
Dread_write.c1593 struct file *file_out, loff_t pos_out, in generic_copy_file_range() argument
1596 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1602 struct file *file_out, loff_t pos_out, in do_copy_file_range() argument
1616 file_out, pos_out, in do_copy_file_range()
1619 return generic_copy_file_range(file_in, pos_in, file_out, pos_out, len, in do_copy_file_range()
1629 struct file *file_out, loff_t pos_out, in vfs_copy_file_range() argument
1637 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len, in vfs_copy_file_range()
1646 ret = rw_verify_area(WRITE, file_out, &pos_out, len); in vfs_copy_file_range()
1664 file_out, pos_out, in vfs_copy_file_range()
1673 ret = do_copy_file_range(file_in, pos_in, file_out, pos_out, len, in vfs_copy_file_range()
[all …]
/fs/nfs/
Dnfs4file.c133 struct file *file_out, loff_t pos_out, in __nfs4_copy_file_range() argument
143 return nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count); in __nfs4_copy_file_range()
147 struct file *file_out, loff_t pos_out, in nfs4_copy_file_range() argument
152 ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, in nfs4_copy_file_range()
156 pos_out, count, flags); in nfs4_copy_file_range()
/fs/xfs/
Dxfs_reflink.h43 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,
Dxfs_reflink.c1115 loff_t pos_out, in xfs_reflink_remap_blocks() argument
1125 xfs_off_t new_isize = pos_out + remap_len; in xfs_reflink_remap_blocks()
1129 destoff = XFS_B_TO_FSBT(src->i_mount, pos_out); in xfs_reflink_remap_blocks()
1310 loff_t pos_out, in xfs_reflink_remap_prep() argument
1341 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in xfs_reflink_remap_prep()
1355 ret = xfs_reflink_zero_posteof(dest, pos_out); in xfs_reflink_remap_prep()
1369 if (pos_out > XFS_ISIZE(dest)) { in xfs_reflink_remap_prep()
1370 loff_t flen = *len + (pos_out - XFS_ISIZE(dest)); in xfs_reflink_remap_prep()
1373 ret = xfs_flush_unmap_range(dest, pos_out, *len); in xfs_reflink_remap_prep()
Dxfs_file.c973 loff_t pos_out, in xfs_file_remap_range() argument
996 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range()
1001 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); in xfs_file_remap_range()
1003 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, in xfs_file_remap_range()
1016 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
1020 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, in xfs_file_remap_range()
/fs/overlayfs/
Dfile.c556 struct file *file_out, loff_t pos_out, in ovl_copyfile() argument
578 real_out.file, pos_out, len, flags); in ovl_copyfile()
583 real_out.file, pos_out, len, flags); in ovl_copyfile()
588 real_out.file, pos_out, len, in ovl_copyfile()
604 struct file *file_out, loff_t pos_out, in ovl_copy_file_range() argument
607 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range()
612 struct file *file_out, loff_t pos_out, in ovl_remap_file_range() argument
634 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
/fs/hostfs/
Dhostfs_user.c107 char *read_dir(void *stream, unsigned long long *pos_out, in read_dir() argument
120 *pos_out = ent->d_off; in read_dir()
Dhostfs.h71 extern char *read_dir(void *stream, unsigned long long *pos_out,
/fs/f2fs/
Dfile.c2609 struct file *file_out, loff_t pos_out, size_t len) in f2fs_move_file_range() argument
2632 if (pos_in == pos_out) in f2fs_move_file_range()
2634 if (pos_out > pos_in && pos_out < pos_in + len) in f2fs_move_file_range()
2658 if (pos_out + olen > dst->i_size) in f2fs_move_file_range()
2659 dst_max_i_size = pos_out + olen; in f2fs_move_file_range()
2664 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) in f2fs_move_file_range()
2682 pos_out, pos_out + len); in f2fs_move_file_range()
2697 pos_out >> F2FS_BLKSIZE_BITS, in f2fs_move_file_range()
2748 range.pos_out, range.len); in f2fs_ioc_move_range()
Df2fs.h469 u64 pos_out; /* start position in dst_fd */ member
/fs/ocfs2/
Drefcounttree.h115 loff_t pos_out,
Dfile.c2566 struct file *file_out, loff_t pos_out, in ocfs2_remap_file_range() argument
2595 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range()
2608 round_down(pos_out, PAGE_SIZE), in ocfs2_remap_file_range()
2609 round_up(pos_out + len, PAGE_SIZE) - 1); in ocfs2_remap_file_range()
2612 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range()
2629 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
Drefcounttree.c4505 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()
/fs/fuse/
Dfile.c3235 struct file *file_out, loff_t pos_out, in __fuse_copy_file_range() argument
3250 .off_out = pos_out, in __fuse_copy_file_range()
3259 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range()
3282 err = fuse_writeback_range(inode_out, pos_out, pos_out + len); in __fuse_copy_file_range()
3307 fuse_write_update_size(inode_out, pos_out + outarg.size); in __fuse_copy_file_range()
/fs/btrfs/
Dioctl.c3825 struct file *file_out, loff_t pos_out, in btrfs_remap_file_range_prep() argument
3905 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), in btrfs_remap_file_range_prep()
3910 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in btrfs_remap_file_range_prep()
Dctree.h2954 struct file *file_out, loff_t pos_out,