Home
last modified time | relevance | path

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

/Linux-v5.15/fs/
Dremap_range.c30 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()
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
[all …]
Dread_write.c1379 struct file *file_out, loff_t pos_out, in generic_copy_file_range() argument
1382 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1388 struct file *file_out, loff_t pos_out, in do_copy_file_range() argument
1402 file_out, pos_out, in do_copy_file_range()
1405 return generic_copy_file_range(file_in, pos_in, file_out, pos_out, len, in do_copy_file_range()
1417 struct file *file_out, loff_t pos_out, in generic_copy_file_checks() argument
1438 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks()
1448 ret = generic_write_check_limits(file_out, pos_out, &count); in generic_copy_file_checks()
1454 pos_out + count > pos_in && in generic_copy_file_checks()
1455 pos_out < pos_in + count) in generic_copy_file_checks()
[all …]
/Linux-v5.15/fs/xfs/
Dxfs_reflink.h42 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,
Dxfs_reflink.c1186 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()
Dxfs_file.c1140 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-v5.15/fs/overlayfs/
Dfile.c550 struct file *file_out, loff_t pos_out, in ovl_copyfile() argument
572 real_out.file, pos_out, len, flags); in ovl_copyfile()
577 real_out.file, pos_out, len, flags); in ovl_copyfile()
582 real_out.file, 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-v5.15/fs/nfs/
Dnfs4file.c137 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-v5.15/fs/btrfs/
Dreflink.h9 struct file *file_out, loff_t pos_out,
Dreflink.c759 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-v5.15/include/uapi/linux/
Df2fs.h78 __u64 pos_out; /* start position in dst_fd */ member
/Linux-v5.15/fs/hostfs/
Dhostfs.h75 extern char *read_dir(void *stream, unsigned long long *pos_out,
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()
/Linux-v5.15/fs/ocfs2/
Drefcounttree.h113 loff_t pos_out,
Dfile.c2634 struct file *file_out, loff_t pos_out, in ocfs2_remap_file_range() argument
2663 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range()
2676 round_down(pos_out, PAGE_SIZE), in ocfs2_remap_file_range()
2677 round_up(pos_out + len, PAGE_SIZE) - 1); in ocfs2_remap_file_range()
2680 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range()
2697 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()
/Linux-v5.15/fs/f2fs/
Dfile.c2735 struct file *file_out, loff_t pos_out, size_t len) in f2fs_move_file_range() argument
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()
[all …]
/Linux-v5.15/fs/fuse/
Dfile.c3009 struct file *file_out, loff_t pos_out, in __fuse_copy_file_range() argument
3025 .off_out = pos_out, in __fuse_copy_file_range()
3034 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range()
3072 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range()
3096 ALIGN_DOWN(pos_out, PAGE_SIZE), in __fuse_copy_file_range()
3097 ALIGN(pos_out + outarg.size, PAGE_SIZE) - 1); in __fuse_copy_file_range()
3100 fuse_write_update_size(inode_out, pos_out + outarg.size); in __fuse_copy_file_range()
/Linux-v5.15/include/linux/
Dfs.h2108 struct file *file_out, loff_t pos_out,
2176 struct file *file_out, loff_t pos_out,
2179 struct file *file_out, loff_t pos_out,
2183 struct file *file_out, loff_t pos_out,
2186 struct file *file_out, loff_t pos_out,
/Linux-v5.15/Documentation/filesystems/
Dlocking.rst542 struct file *file_out, loff_t pos_out,
Dvfs.rst1022 struct file *file_out, loff_t pos_out,
1131 file into the dest file at pos_out. Implementations must handle