Home
last modified time | relevance | path

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

/linux/fs/
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()
135 loff_t pos_out, in generic_remap_check_len() argument
278 struct file *file_out, loff_t pos_out, in __generic_remap_file_range_prep() argument
330 pos_out, pos_out + *len - 1); in __generic_remap_file_range_prep()
342 file_out, pos_out, *len, &is_same); in __generic_remap_file_range_prep()
345 inode_out, pos_out, *len, &is_same, in __generic_remap_file_range_prep()
[all …]
A Dread_write.c1506 struct file *file_out, loff_t pos_out, in generic_copy_file_checks() argument
1547 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks()
1563 pos_out + count > pos_in && in generic_copy_file_checks()
1564 pos_out < pos_in + count) in generic_copy_file_checks()
1577 struct file *file_out, loff_t pos_out, in vfs_copy_file_range() argument
1612 file_out, pos_out, in vfs_copy_file_range()
1616 file_out, pos_out, in vfs_copy_file_range()
1673 loff_t pos_out; in SYSCALL_DEFINE6() local
1698 pos_out = fd_file(f_out)->f_pos; in SYSCALL_DEFINE6()
1709 pos_out += ret; in SYSCALL_DEFINE6()
[all …]
A Ddax.c2075 struct file *file_out, loff_t pos_out, in dax_remap_file_range_prep() argument
2080 pos_out, len, remap_flags, ops); in dax_remap_file_range_prep()
/linux/fs/xfs/
A Dxfs_reflink.h48 struct file *file_out, loff_t pos_out, loff_t len,
57 struct file *file_out, loff_t pos_out, loff_t *len,
60 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len,
A Dxfs_reflink.c1328 loff_t pos_out, in xfs_reflink_remap_blocks() argument
1335 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); in xfs_reflink_remap_blocks()
1338 xfs_off_t new_isize = pos_out + remap_len; in xfs_reflink_remap_blocks()
1453 loff_t pos_out, in xfs_reflink_remap_prep() argument
1480 pos_out, len, remap_flags); in xfs_reflink_remap_prep()
1483 pos_out, len, remap_flags, &xfs_read_iomap_ops); in xfs_reflink_remap_prep()
1496 ret = xfs_reflink_zero_posteof(dest, pos_out); in xfs_reflink_remap_prep()
1510 if (pos_out > XFS_ISIZE(dest)) { in xfs_reflink_remap_prep()
1511 loff_t flen = *len + (pos_out - XFS_ISIZE(dest)); in xfs_reflink_remap_prep()
1514 ret = xfs_flush_unmap_range(dest, pos_out, *len); in xfs_reflink_remap_prep()
A Dxfs_file.c1173 loff_t pos_out, in xfs_file_remap_range() argument
1196 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range()
1201 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); in xfs_file_remap_range()
1203 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, in xfs_file_remap_range()
1216 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
1220 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, in xfs_file_remap_range()
/linux/fs/overlayfs/
A Dfile.c489 struct file *file_out, loff_t pos_out, in ovl_copyfile() argument
520 fd_file(real_out), pos_out, len, flags); in ovl_copyfile()
525 fd_file(real_out), pos_out, len, flags); in ovl_copyfile()
530 fd_file(real_out), pos_out, len, in ovl_copyfile()
549 struct file *file_out, loff_t pos_out, in ovl_copy_file_range() argument
552 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range()
557 struct file *file_out, loff_t pos_out, in ovl_remap_file_range() argument
579 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
/linux/fs/nfs/
A 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); in nfs4_copy_file_range()
/linux/include/linux/
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()
A Ddax.h257 struct file *file_out, loff_t pos_out,
A Dfs.h2099 struct file *file_out, loff_t pos_out,
2181 struct file *file_out, loff_t pos_out,
2185 struct file *file_out, loff_t pos_out,
2188 struct file *file_out, loff_t pos_out,
/linux/fs/btrfs/
A Dreflink.h11 struct file *file_out, loff_t pos_out,
A Dreflink.c775 struct file *file_out, loff_t pos_out, in btrfs_remap_file_range_prep() argument
843 ret = btrfs_wait_ordered_range(BTRFS_I(inode_out), ALIGN_DOWN(pos_out, bs), in btrfs_remap_file_range_prep()
848 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in btrfs_remap_file_range_prep()
/linux/include/uapi/linux/
A Df2fs.h79 __u64 pos_out; /* start position in dst_fd */ member
/linux/fs/hostfs/
A Dhostfs.h77 extern char *read_dir(void *stream, unsigned long long *pos_out,
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()
/linux/fs/ocfs2/
A Drefcounttree.h113 loff_t pos_out,
A Dfile.c2691 struct file *file_out, loff_t pos_out, in ocfs2_remap_file_range() argument
2720 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range()
2733 round_down(pos_out, PAGE_SIZE), in ocfs2_remap_file_range()
2734 round_up(pos_out + len, PAGE_SIZE) - 1); in ocfs2_remap_file_range()
2737 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range()
2754 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
A Drefcounttree.c4493 loff_t pos_out, in ocfs2_reflink_remap_extent() argument
4515 tpos = ocfs2_bytes_to_clusters(t_inode->i_sb, pos_out); in ocfs2_reflink_remap_extent()
4607 loff_t pos_out, in ocfs2_reflink_remap_blocks() argument
4625 if (pos_in == pos_out && pos_in == 0 && len == i_size_read(s_inode) && in ocfs2_reflink_remap_blocks()
4685 pos_out, len, &dealloc); in ocfs2_reflink_remap_blocks()
/linux/fs/f2fs/
A Dfile.c2924 if (pos_out < 0 || pos_in < 0) in f2fs_move_file_range()
2928 if (pos_in == pos_out) in f2fs_move_file_range()
2930 if (pos_out > pos_in && pos_out < pos_in + len) in f2fs_move_file_range()
2965 if (pos_out + olen > dst->i_size) in f2fs_move_file_range()
2966 dst_max_i_size = pos_out + olen; in f2fs_move_file_range()
2971 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) in f2fs_move_file_range()
2989 pos_out, pos_out + len); in f2fs_move_file_range()
3004 F2FS_BYTES_TO_BLK(pos_out), in f2fs_move_file_range()
3062 range->pos_out, range->len); in __f2fs_ioc_move_range()
5128 compat_u64 pos_out; member
[all …]
/linux/fs/fuse/
A Dfile.c3191 struct file *file_out, loff_t pos_out, in __fuse_copy_file_range() argument
3207 .off_out = pos_out, in __fuse_copy_file_range()
3216 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range()
3254 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range()
3278 ALIGN_DOWN(pos_out, PAGE_SIZE), in __fuse_copy_file_range()
3279 ALIGN(pos_out + outarg.size, PAGE_SIZE) - 1); in __fuse_copy_file_range()
3282 fuse_write_update_attr(inode_out, pos_out + outarg.size, outarg.size); in __fuse_copy_file_range()
/linux/Documentation/filesystems/
A Dlocking.rst550 struct file *file_out, loff_t pos_out,
A Dvfs.rst1107 struct file *file_out, loff_t pos_out,
1212 file into the dest file at pos_out. Implementations must handle

Completed in 87 milliseconds