Home
last modified time | relevance | path

Searched refs:pos_out (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-6.6/fs/
H A Dremap_range.c32 struct file *file_out, loff_t pos_out, in generic_remap_checks()
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_i in generic_remap_checks()
31 generic_remap_checks(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t *req_count, unsigned int remap_flags) generic_remap_checks() argument
127 generic_remap_check_len(struct inode *inode_in, struct inode *inode_out, loff_t pos_out, loff_t *len, unsigned int remap_flags) generic_remap_check_len() argument
271 __generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t *len, unsigned int remap_flags, const struct iomap_ops *dax_read_ops) __generic_remap_file_range_prep() argument
361 generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t *len, unsigned int remap_flags) generic_remap_file_range_prep() argument
370 do_clone_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t len, unsigned int remap_flags) do_clone_file_range() argument
407 vfs_clone_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t len, unsigned int remap_flags) vfs_clone_file_range() argument
[all...]
H A Dread_write.c1370 * @pos_out: file offset to write data to
1387 struct file *file_out, loff_t pos_out, in generic_copy_file_range()
1392 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1405 struct file *file_out, loff_t pos_out, in generic_copy_file_checks()
1446 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks()
1456 ret = generic_write_check_limits(file_out, pos_out, &count); 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()
1386 generic_copy_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t len, unsigned int flags) generic_copy_file_range() argument
1404 generic_copy_file_checks(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t *req_count, unsigned int flags) generic_copy_file_checks() argument
1475 vfs_copy_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t len, unsigned int flags) vfs_copy_file_range() argument
1563 loff_t pos_out; SYSCALL_DEFINE6() local
[all...]
/kernel/linux/linux-5.10/fs/
H A Dremap_range.c30 struct file *file_out, loff_t pos_out, in generic_remap_checks()
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()
75 (!(remap_flags & REMAP_FILE_DEDUP) || pos_out + count == size_out)) { in generic_remap_checks()
85 pos_out + bcount > pos_in && in generic_remap_checks()
86 pos_out < pos_i in generic_remap_checks()
29 generic_remap_checks(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t *req_count, unsigned int remap_flags) generic_remap_checks() argument
135 generic_remap_check_len(struct inode *inode_in, struct inode *inode_out, loff_t pos_out, loff_t *len, unsigned int remap_flags) generic_remap_check_len() argument
293 generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t *len, unsigned int remap_flags) generic_remap_file_range_prep() argument
376 do_clone_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t len, unsigned int remap_flags) do_clone_file_range() argument
418 vfs_clone_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t len, unsigned int remap_flags) vfs_clone_file_range() argument
[all...]
H A Dread_write.c1361 * @pos_out: file offset to write data to
1378 struct file *file_out, loff_t pos_out, in generic_copy_file_range()
1381 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1394 struct file *file_out, loff_t pos_out, in generic_copy_file_checks()
1435 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks()
1445 ret = generic_write_check_limits(file_out, pos_out, &count); in generic_copy_file_checks()
1451 pos_out + count > pos_in && in generic_copy_file_checks()
1452 pos_out < pos_in + count) in generic_copy_file_checks()
1465 struct file *file_out, loff_t pos_out, in vfs_copy_file_range()
1377 generic_copy_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t len, unsigned int flags) generic_copy_file_range() argument
1393 generic_copy_file_checks(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t *req_count, unsigned int flags) generic_copy_file_checks() argument
1464 vfs_copy_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t len, unsigned int flags) vfs_copy_file_range() argument
1552 loff_t pos_out; SYSCALL_DEFINE6() local
[all...]
/kernel/linux/linux-5.10/fs/xfs/
H A 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,
H A Dxfs_reflink.c1162 loff_t pos_out, in xfs_reflink_remap_blocks()
1169 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); in xfs_reflink_remap_blocks()
1172 xfs_off_t new_isize = pos_out + remap_len; in xfs_reflink_remap_blocks()
1286 loff_t pos_out, in xfs_reflink_remap_prep()
1311 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in xfs_reflink_remap_prep()
1325 ret = xfs_reflink_zero_posteof(dest, pos_out); in xfs_reflink_remap_prep()
1335 * If pos_out > EOF, we may have dirtied blocks between EOF and in xfs_reflink_remap_prep()
1336 * pos_out. In that case, we need to extend the flush and unmap to cover in xfs_reflink_remap_prep()
1339 if (pos_out > XFS_ISIZE(dest)) { in xfs_reflink_remap_prep()
1340 loff_t flen = *len + (pos_out in xfs_reflink_remap_prep()
1158 xfs_reflink_remap_blocks( struct xfs_inode *src, loff_t pos_in, struct xfs_inode *dest, loff_t pos_out, loff_t remap_len, loff_t *remapped) xfs_reflink_remap_blocks() argument
1282 xfs_reflink_remap_prep( struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t *len, unsigned int remap_flags) xfs_reflink_remap_prep() argument
[all...]
H A Dxfs_file.c1078 loff_t pos_out, in xfs_file_remap_range()
1101 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range()
1106 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); in xfs_file_remap_range()
1108 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, in xfs_file_remap_range()
1121 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range()
1125 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, in xfs_file_remap_range()
1074 xfs_file_remap_range( struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t len, unsigned int remap_flags) xfs_file_remap_range() argument
/kernel/linux/linux-6.6/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.c1355 loff_t pos_out, in xfs_reflink_remap_blocks()
1362 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); in xfs_reflink_remap_blocks()
1365 xfs_off_t new_isize = pos_out + remap_len; in xfs_reflink_remap_blocks()
1478 loff_t pos_out, in xfs_reflink_remap_prep()
1505 pos_out, len, remap_flags); in xfs_reflink_remap_prep()
1508 pos_out, len, remap_flags, &xfs_read_iomap_ops); in xfs_reflink_remap_prep()
1521 ret = xfs_reflink_zero_posteof(dest, pos_out); in xfs_reflink_remap_prep()
1531 * If pos_out > EOF, we may have dirtied blocks between EOF and in xfs_reflink_remap_prep()
1532 * pos_out. In that case, we need to extend the flush and unmap to cover in xfs_reflink_remap_prep()
1535 if (pos_out > XFS_ISIZ in xfs_reflink_remap_prep()
1351 xfs_reflink_remap_blocks( struct xfs_inode *src, loff_t pos_in, struct xfs_inode *dest, loff_t pos_out, loff_t remap_len, loff_t *remapped) xfs_reflink_remap_blocks() argument
1474 xfs_reflink_remap_prep( struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t *len, unsigned int remap_flags) xfs_reflink_remap_prep() argument
[all...]
H A Dxfs_file.c1165 loff_t pos_out, in xfs_file_remap_range()
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()
1161 xfs_file_remap_range( struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t len, unsigned int remap_flags) xfs_file_remap_range() argument
/kernel/linux/linux-6.6/fs/overlayfs/
H A Dfile.c609 struct file *file_out, loff_t pos_out, in ovl_copyfile()
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()
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()
699 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
608 ovl_copyfile(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t len, unsigned int flags, enum ovl_copyop op) ovl_copyfile() argument
668 ovl_copy_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t len, unsigned int flags) ovl_copy_file_range() argument
676 ovl_remap_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t len, unsigned int remap_flags) ovl_remap_file_range() argument
/kernel/linux/linux-5.10/fs/nfs/
H A Dnfs4file.c139 struct file *file_out, loff_t pos_out, in __nfs4_copy_file_range()
184 ret = nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count, in __nfs4_copy_file_range()
195 struct file *file_out, loff_t pos_out, in nfs4_copy_file_range()
200 ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, in nfs4_copy_file_range()
204 pos_out, count, flags); in nfs4_copy_file_range()
138 __nfs4_copy_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t count, unsigned int flags) __nfs4_copy_file_range() argument
194 nfs4_copy_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t count, unsigned int flags) nfs4_copy_file_range() argument
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs4file.c136 struct file *file_out, loff_t pos_out, in __nfs4_copy_file_range()
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()
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()
135 __nfs4_copy_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t count, unsigned int flags) __nfs4_copy_file_range() argument
189 nfs4_copy_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t count, unsigned int flags) nfs4_copy_file_range() argument
/kernel/linux/linux-5.10/fs/overlayfs/
H A Dfile.c689 struct file *file_out, loff_t pos_out, in ovl_copyfile()
720 real_out.file, pos_out, len, flags); in ovl_copyfile()
725 real_out.file, pos_out, len, flags); in ovl_copyfile()
730 real_out.file, pos_out, len, in ovl_copyfile()
749 struct file *file_out, loff_t pos_out, in ovl_copy_file_range()
752 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range()
757 struct file *file_out, loff_t pos_out, in ovl_remap_file_range()
779 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
688 ovl_copyfile(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t len, unsigned int flags, enum ovl_copyop op) ovl_copyfile() argument
748 ovl_copy_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t len, unsigned int flags) ovl_copy_file_range() argument
756 ovl_remap_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t len, unsigned int remap_flags) ovl_remap_file_range() argument
/kernel/linux/linux-5.10/fs/btrfs/
H A Dreflink.h9 struct file *file_out, loff_t pos_out,
H A Dreflink.c747 struct file *file_out, loff_t pos_out, in btrfs_remap_file_range_prep()
827 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), in btrfs_remap_file_range_prep()
832 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in btrfs_remap_file_range_prep()
746 btrfs_remap_file_range_prep(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, loff_t *len, unsigned int remap_flags) btrfs_remap_file_range_prep() argument
/kernel/linux/linux-6.6/fs/btrfs/
H A Dreflink.h9 struct file *file_out, loff_t pos_out,
/kernel/linux/linux-5.10/fs/hostfs/
H A Dhostfs.h75 extern char *read_dir(void *stream, unsigned long long *pos_out,
H A 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()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Df2fs.h72 __u64 pos_out; /* start position in dst_fd */ member
/kernel/linux/linux-6.6/fs/hostfs/
H A Dhostfs.h76 extern char *read_dir(void *stream, unsigned long long *pos_out,
H A Dhostfs_user.c108 char *read_dir(void *stream, unsigned long long *pos_out, in read_dir() argument
121 *pos_out = ent->d_off; in read_dir()
/kernel/linux/linux-6.6/include/uapi/linux/
H A Df2fs.h79 __u64 pos_out; /* start position in dst_fd */ member
/kernel/linux/linux-5.10/fs/ocfs2/
H A Drefcounttree.h115 loff_t pos_out,
/kernel/linux/linux-6.6/fs/ocfs2/
H A Drefcounttree.h113 loff_t pos_out,

Completed in 20 milliseconds

12