Home
last modified time | relevance | path

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

/openbmc/linux/fs/
H A Dremap_range.c32 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()
129 loff_t pos_out, in generic_remap_check_len() argument
272 struct file *file_out, loff_t pos_out, in __generic_remap_file_range_prep() argument
324 pos_out, pos_out + *len - 1); in __generic_remap_file_range_prep()
336 file_out, pos_out, *len, &is_same); in __generic_remap_file_range_prep()
339 inode_out, pos_out, *len, &is_same, in __generic_remap_file_range_prep()
[all …]
H A Dread_write.c1387 struct file *file_out, loff_t pos_out, in generic_copy_file_range() argument
1446 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks()
1462 pos_out + count > pos_in && in generic_copy_file_checks()
1463 pos_out < pos_in + count) in generic_copy_file_checks()
1476 struct file *file_out, loff_t pos_out, in vfs_copy_file_range() argument
1510 file_out, pos_out, in vfs_copy_file_range()
1518 file_out, pos_out, in vfs_copy_file_range()
1563 loff_t pos_out; in SYSCALL_DEFINE6() local
1588 pos_out = f_out.file->f_pos; in SYSCALL_DEFINE6()
1599 pos_out += ret; in SYSCALL_DEFINE6()
[all …]
H A Ddax.c2064 struct file *file_out, loff_t pos_out, in dax_remap_file_range_prep() argument
2069 pos_out, len, remap_flags, ops); in dax_remap_file_range_prep()
/openbmc/linux/fs/xfs/
H A Dxfs_reflink.h39 struct file *file_out, loff_t pos_out, loff_t len,
48 struct file *file_out, loff_t pos_out, loff_t *len,
51 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len,
H A Dxfs_reflink.c1335 loff_t pos_out, in xfs_reflink_remap_blocks() argument
1342 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); in xfs_reflink_remap_blocks()
1345 xfs_off_t new_isize = pos_out + remap_len; in xfs_reflink_remap_blocks()
1458 loff_t pos_out, in xfs_reflink_remap_prep() argument
1485 pos_out, len, remap_flags); in xfs_reflink_remap_prep()
1488 pos_out, len, remap_flags, &xfs_read_iomap_ops); in xfs_reflink_remap_prep()
1501 ret = xfs_reflink_zero_posteof(dest, pos_out); in xfs_reflink_remap_prep()
1515 if (pos_out > XFS_ISIZE(dest)) { in xfs_reflink_remap_prep()
1516 loff_t flen = *len + (pos_out - XFS_ISIZE(dest)); in xfs_reflink_remap_prep()
1519 ret = xfs_flush_unmap_range(dest, pos_out, *len); in xfs_reflink_remap_prep()
H A Dxfs_file.c1165 loff_t pos_out, in xfs_file_remap_range() argument
1188 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range()
1193 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); in xfs_file_remap_range()
1195 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, in xfs_file_remap_range()
1208 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
1212 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, in xfs_file_remap_range()
/openbmc/linux/fs/overlayfs/
H A Dfile.c609 struct file *file_out, loff_t pos_out, in ovl_copyfile() argument
640 real_out.file, pos_out, len, flags); in ovl_copyfile()
645 real_out.file, pos_out, len, flags); in ovl_copyfile()
650 real_out.file, pos_out, len, in ovl_copyfile()
669 struct file *file_out, loff_t pos_out, in ovl_copy_file_range() argument
672 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range()
677 struct file *file_out, loff_t pos_out, in ovl_remap_file_range() argument
699 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
/openbmc/linux/fs/nfs/
H A Dnfs4file.c136 struct file *file_out, loff_t pos_out, in __nfs4_copy_file_range() argument
179 ret = nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count, in __nfs4_copy_file_range()
190 struct file *file_out, loff_t pos_out, in nfs4_copy_file_range() argument
195 ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, in nfs4_copy_file_range()
199 pos_out, count, flags); in nfs4_copy_file_range()
/openbmc/linux/fs/btrfs/
H A Dreflink.h9 struct file *file_out, loff_t pos_out,
H A Dreflink.c795 struct file *file_out, loff_t pos_out, in btrfs_remap_file_range_prep() argument
863 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), in btrfs_remap_file_range_prep()
868 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in btrfs_remap_file_range_prep()
/openbmc/linux/include/uapi/linux/
H A Df2fs.h79 __u64 pos_out; /* start position in dst_fd */ member
/openbmc/linux/fs/hostfs/
H A Dhostfs.h77 extern char *read_dir(void *stream, unsigned long long *pos_out,
H A Dhostfs_user.c109 char *read_dir(void *stream, unsigned long long *pos_out, in read_dir() argument
122 *pos_out = ent->d_off; in read_dir()
/openbmc/linux/fs/ocfs2/
H A Drefcounttree.h113 loff_t pos_out,
H A Dfile.c2679 struct file *file_out, loff_t pos_out, in ocfs2_remap_file_range() argument
2708 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range()
2721 round_down(pos_out, PAGE_SIZE), in ocfs2_remap_file_range()
2722 round_up(pos_out + len, PAGE_SIZE) - 1); in ocfs2_remap_file_range()
2725 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range()
2742 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
H A Drefcounttree.c4500 loff_t pos_out, in ocfs2_reflink_remap_extent() argument
4522 tpos = ocfs2_bytes_to_clusters(t_inode->i_sb, pos_out); in ocfs2_reflink_remap_extent()
4614 loff_t pos_out, in ocfs2_reflink_remap_blocks() argument
4632 if (pos_in == pos_out && pos_in == 0 && len == i_size_read(s_inode) && in ocfs2_reflink_remap_blocks()
4692 pos_out, len, &dealloc); in ocfs2_reflink_remap_blocks()
/openbmc/linux/fs/f2fs/
H A Dfile.c2885 if (pos_out < 0 || pos_in < 0) in f2fs_move_file_range()
2889 if (pos_in == pos_out) in f2fs_move_file_range()
2891 if (pos_out > pos_in && pos_out < pos_in + len) in f2fs_move_file_range()
2926 if (pos_out + olen > dst->i_size) in f2fs_move_file_range()
2927 dst_max_i_size = pos_out + olen; in f2fs_move_file_range()
2932 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) in f2fs_move_file_range()
2950 pos_out, pos_out + len); in f2fs_move_file_range()
2965 pos_out >> F2FS_BLKSIZE_BITS, in f2fs_move_file_range()
3023 range->pos_out, range->len); in __f2fs_ioc_move_range()
5038 compat_u64 pos_out; member
[all …]
/openbmc/linux/include/linux/
H A Ddax.h256 struct file *file_out, loff_t pos_out,
H A Dfs.h1951 struct file *file_out, loff_t pos_out,
2031 struct file *file_out, loff_t pos_out,
2034 struct file *file_out, loff_t pos_out,
2038 struct file *file_out, loff_t pos_out,
2041 struct file *file_out, loff_t pos_out,
2044 struct file *file_out, loff_t pos_out,
/openbmc/linux/fs/fuse/
H A Dfile.c3092 struct file *file_out, loff_t pos_out, in __fuse_copy_file_range() argument
3108 .off_out = pos_out, in __fuse_copy_file_range()
3117 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range()
3155 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range()
3179 ALIGN_DOWN(pos_out, PAGE_SIZE), in __fuse_copy_file_range()
3180 ALIGN(pos_out + outarg.size, PAGE_SIZE) - 1); in __fuse_copy_file_range()
3183 fuse_write_update_attr(inode_out, pos_out + outarg.size, outarg.size); in __fuse_copy_file_range()
/openbmc/linux/Documentation/filesystems/
H A Dlocking.rst550 struct file *file_out, loff_t pos_out,
H A Dvfs.rst1108 struct file *file_out, loff_t pos_out,
1213 file into the dest file at pos_out. Implementations must handle