Home
last modified time | relevance | path

Searched full:pos_out (Results 1 – 12 of 12) sorted by relevance

/linux/fs/
H A Dremap_range.c32 struct file *file_out, loff_t pos_out, in generic_remap_checks() argument
44 if (!IS_ALIGNED(pos_in, bs) || !IS_ALIGNED(pos_out, bs)) in generic_remap_checks()
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()
65 ret = generic_write_check_limits(file_out, pos_out, &count); in generic_remap_checks()
77 (!(remap_flags & REMAP_FILE_DEDUP) || 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
145 if (pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len()
[all …]
/linux/fs/xfs/
H A Dxfs_reflink.h52 struct file *file_out, loff_t pos_out, loff_t len,
61 struct file *file_out, loff_t pos_out, loff_t *len,
64 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len,
H A Dxfs_reflink.c1567 loff_t pos_out, in xfs_reflink_remap_blocks() argument
1574 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); in xfs_reflink_remap_blocks()
1577 xfs_off_t new_isize = pos_out + remap_len; in xfs_reflink_remap_blocks()
1692 loff_t pos_out, in xfs_reflink_remap_prep() argument
1719 pos_out, len, remap_flags); in xfs_reflink_remap_prep()
1722 pos_out, len, remap_flags, &xfs_read_iomap_ops); in xfs_reflink_remap_prep()
1735 ret = xfs_reflink_zero_posteof(dest, pos_out); in xfs_reflink_remap_prep()
1745 * If pos_out > EOF, we may have dirtied blocks between EOF and in xfs_reflink_remap_prep()
1746 * pos_out. In that case, we need to extend the flush and unmap to cover in xfs_reflink_remap_prep()
1749 if (pos_out > XFS_ISIZE(dest)) { in xfs_reflink_remap_prep()
[all …]
H A Dxfs_file.c1721 loff_t pos_out, in xfs_file_remap_range() argument
1744 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range()
1749 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); in xfs_file_remap_range()
1751 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, in xfs_file_remap_range()
1764 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
1768 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, in xfs_file_remap_range()
/linux/fs/overlayfs/
H A Dfile.c528 struct file *file_out, loff_t pos_out, in ovl_copyfile() argument
572 realfile_out, pos_out, len, flags); in ovl_copyfile()
577 realfile_out, pos_out, len, flags); in ovl_copyfile()
582 realfile_out, pos_out, len, in ovl_copyfile()
598 struct file *file_out, loff_t pos_out, in ovl_copy_file_range() argument
601 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range()
606 struct file *file_out, loff_t pos_out, in ovl_remap_file_range() argument
628 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
/linux/fs/nfs/
H A Dnfs4file.c139 struct file *file_out, loff_t pos_out, in __nfs4_copy_file_range() argument
181 ret = nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count, in __nfs4_copy_file_range()
192 struct file *file_out, loff_t pos_out, in nfs4_copy_file_range() argument
197 ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, in nfs4_copy_file_range()
201 pos_out, count); in nfs4_copy_file_range()
/linux/include/linux/
H A Dsplice.h92 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()
/linux/fs/btrfs/
H A Dreflink.h11 struct file *file_out, loff_t pos_out,
H A Dreflink.c837 struct file *file_out, loff_t pos_out, in btrfs_remap_file_range_prep() argument
908 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), wb_len); in btrfs_remap_file_range_prep()
912 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in btrfs_remap_file_range_prep()
/linux/fs/hostfs/
H A Dhostfs.h45 extern char *read_dir(void *stream, unsigned long long *pos_out,
/linux/fs/ocfs2/
H A Drefcounttree.h113 loff_t pos_out,
/linux/fs/fuse/
H A Dfile.c2932 struct file *file_out, loff_t pos_out, in __fuse_copy_file_range() argument
2948 .off_out = pos_out, in __fuse_copy_file_range()
2959 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range()
2997 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range()
3042 ALIGN_DOWN(pos_out, PAGE_SIZE), in __fuse_copy_file_range()
3043 ALIGN(pos_out + bytes_copied, PAGE_SIZE) - 1); in __fuse_copy_file_range()
3046 fuse_write_update_attr(inode_out, pos_out + bytes_copied, bytes_copied); in __fuse_copy_file_range()