Home
last modified time | relevance | path

Searched refs:pos_in (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/fs/
H A Dremap_range.c31 static int generic_remap_checks(struct file *file_in, loff_t pos_in, 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()
56 (pos_in >= size_in || pos_in + count > size_in || in generic_remap_checks()
61 if (pos_in >= size_in) in generic_remap_checks()
63 count = min(count, size_in - (uint64_t)pos_in); in generic_remap_checks()
76 if (pos_in + count == size_in && in generic_remap_checks()
78 bcount = ALIGN(size_in, bs) - pos_in; in generic_remap_checks()
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.c1368 * @pos_in: file offset to read from
1386 ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in, in generic_copy_file_range() argument
1392 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1404 static int generic_copy_file_checks(struct file *file_in, loff_t pos_in, in generic_copy_file_checks() argument
1446 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks()
1451 if (pos_in >= size_in) in generic_copy_file_checks()
1454 count = min(count, size_in - (uint64_t)pos_in); in generic_copy_file_checks()
1462 pos_out + count > pos_in && in generic_copy_file_checks()
1463 pos_out < pos_in in generic_copy_file_checks()
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
1562 loff_t pos_in; SYSCALL_DEFINE6() local
[all...]
/kernel/linux/linux-5.10/fs/
H A Dremap_range.c29 static int generic_remap_checks(struct file *file_in, loff_t pos_in, 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()
54 (pos_in >= size_in || pos_in + count > size_in || in generic_remap_checks()
59 if (pos_in >= size_in) in generic_remap_checks()
61 count = min(count, size_in - (uint64_t)pos_in); in generic_remap_checks()
74 if (pos_in + count == size_in && in generic_remap_checks()
76 bcount = ALIGN(size_in, bs) - pos_in; in generic_remap_checks()
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.c1359 * @pos_in: file offset to read from
1377 ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in, in generic_copy_file_range() argument
1381 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range()
1393 static int generic_copy_file_checks(struct file *file_in, loff_t pos_in, in generic_copy_file_checks() argument
1435 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks()
1440 if (pos_in >= size_in) in generic_copy_file_checks()
1443 count = min(count, size_in - (uint64_t)pos_in); in generic_copy_file_checks()
1451 pos_out + count > pos_in && in generic_copy_file_checks()
1452 pos_out < pos_in in generic_copy_file_checks()
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
1551 loff_t pos_in; SYSCALL_DEFINE6() local
[all...]
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_reflink.h42 extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in,
51 extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in,
54 extern int xfs_reflink_remap_blocks(struct xfs_inode *src, loff_t pos_in,
H A Dxfs_reflink.c1160 loff_t pos_in, in xfs_reflink_remap_blocks()
1168 xfs_fileoff_t srcoff = XFS_B_TO_FSBT(mp, pos_in); in xfs_reflink_remap_blocks()
1284 loff_t pos_in, 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()
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
H A Dxfs_file.c1076 loff_t pos_in, 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()
1119 if (pos_in == 0 && len == i_size_read(inode_in) && 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.h38 extern loff_t xfs_reflink_remap_range(struct file *file_in, loff_t pos_in,
47 extern int xfs_reflink_remap_prep(struct file *file_in, loff_t pos_in,
50 extern int xfs_reflink_remap_blocks(struct xfs_inode *src, loff_t pos_in,
H A Dxfs_file.c1163 loff_t pos_in, 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()
1206 if (pos_in == 0 && len == i_size_read(inode_in) && 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
H A Dxfs_reflink.c1353 loff_t pos_in, in xfs_reflink_remap_blocks()
1361 xfs_fileoff_t srcoff = XFS_B_TO_FSBT(mp, pos_in); in xfs_reflink_remap_blocks()
1476 loff_t pos_in, in xfs_reflink_remap_prep()
1504 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, in xfs_reflink_remap_prep()
1507 ret = dax_remap_file_range_prep(file_in, pos_in, file_out, 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
/kernel/linux/linux-6.6/fs/overlayfs/
H A Dfile.c608 static loff_t ovl_copyfile(struct file *file_in, loff_t pos_in, in ovl_copyfile() argument
639 ret = vfs_copy_file_range(real_in.file, pos_in, in ovl_copyfile()
644 ret = vfs_clone_file_range(real_in.file, pos_in, in ovl_copyfile()
649 ret = vfs_dedupe_file_range_one(real_in.file, pos_in, in ovl_copyfile()
668 static ssize_t ovl_copy_file_range(struct file *file_in, loff_t pos_in, 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()
676 static loff_t ovl_remap_file_range(struct file *file_in, loff_t pos_in, in ovl_remap_file_range() argument
699 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
/kernel/linux/linux-5.10/fs/nfs/
H A Dnfs4file.c138 static ssize_t __nfs4_copy_file_range(struct file *file_in, loff_t pos_in, in __nfs4_copy_file_range() argument
184 ret = nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count, in __nfs4_copy_file_range()
194 static ssize_t nfs4_copy_file_range(struct file *file_in, loff_t pos_in, in nfs4_copy_file_range() argument
200 ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, in nfs4_copy_file_range()
203 ret = generic_copy_file_range(file_in, pos_in, file_out, in nfs4_copy_file_range()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs4file.c135 static ssize_t __nfs4_copy_file_range(struct file *file_in, loff_t pos_in, 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()
189 static ssize_t nfs4_copy_file_range(struct file *file_in, loff_t pos_in, 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()
198 ret = generic_copy_file_range(file_in, pos_in, file_out, in nfs4_copy_file_range()
/kernel/linux/linux-5.10/fs/overlayfs/
H A Dfile.c688 static loff_t ovl_copyfile(struct file *file_in, loff_t pos_in, in ovl_copyfile() argument
719 ret = vfs_copy_file_range(real_in.file, pos_in, in ovl_copyfile()
724 ret = vfs_clone_file_range(real_in.file, pos_in, in ovl_copyfile()
729 ret = vfs_dedupe_file_range_one(real_in.file, pos_in, in ovl_copyfile()
748 static ssize_t ovl_copy_file_range(struct file *file_in, loff_t pos_in, in ovl_copy_file_range() argument
752 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range()
756 static loff_t ovl_remap_file_range(struct file *file_in, loff_t pos_in, in ovl_remap_file_range() argument
779 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dreflink.h8 loff_t btrfs_remap_file_range(struct file *file_in, loff_t pos_in,
H A Dreflink.c746 static int btrfs_remap_file_range_prep(struct file *file_in, loff_t pos_in, in btrfs_remap_file_range_prep() argument
789 wb_len = ALIGN(inode_in->i_size, bs) - ALIGN_DOWN(pos_in, bs); in btrfs_remap_file_range_prep()
823 ret = btrfs_wait_ordered_range(inode_in, ALIGN_DOWN(pos_in, 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()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dreflink.h8 loff_t btrfs_remap_file_range(struct file *file_in, loff_t pos_in,
H A Dreflink.c794 static int btrfs_remap_file_range_prep(struct file *file_in, loff_t pos_in, in btrfs_remap_file_range_prep() argument
834 wb_len = ALIGN(inode_in->i_size, bs) - ALIGN_DOWN(pos_in, bs); in btrfs_remap_file_range_prep()
859 ret = btrfs_wait_ordered_range(inode_in, ALIGN_DOWN(pos_in, 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()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Df2fs.h71 __u64 pos_in; /* start position in src_fd */ member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Df2fs.h78 __u64 pos_in; /* start position in src_fd */ member
/kernel/linux/linux-5.10/fs/ocfs2/
H A Drefcounttree.h112 loff_t pos_in,
/kernel/linux/linux-6.6/fs/ocfs2/
H A Drefcounttree.h110 loff_t pos_in,
/kernel/linux/linux-5.10/fs/f2fs/
H A Dfile.c2779 static int f2fs_move_file_range(struct file *file_in, loff_t pos_in, in f2fs_move_file_range() argument
2802 if (pos_out < 0 || pos_in < 0) in f2fs_move_file_range()
2806 if (pos_in == pos_out) in f2fs_move_file_range()
2808 if (pos_out > pos_in && pos_out < pos_in + len) in f2fs_move_file_range()
2825 if (pos_in + len > src->i_size || pos_in + len < pos_in) in f2fs_move_file_range()
2828 olen = len = src->i_size - pos_in; in f2fs_move_file_range()
2829 if (pos_in in f2fs_move_file_range()
4255 compat_u64 pos_in; global() member
[all...]
/kernel/linux/linux-6.6/fs/f2fs/
H A Dfile.c2771 static int f2fs_move_file_range(struct file *file_in, loff_t pos_in, in f2fs_move_file_range() argument
2794 if (pos_out < 0 || pos_in < 0) in f2fs_move_file_range()
2798 if (pos_in == pos_out) in f2fs_move_file_range()
2800 if (pos_out > pos_in && pos_out < pos_in + len) in f2fs_move_file_range()
2817 if (pos_in + len > src->i_size || pos_in + len < pos_in) in f2fs_move_file_range()
2820 olen = len = src->i_size - pos_in; in f2fs_move_file_range()
2821 if (pos_in in f2fs_move_file_range()
4930 compat_u64 pos_in; global() member
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Ddax.h255 int dax_remap_file_range_prep(struct file *file_in, loff_t pos_in,

Completed in 29 milliseconds

12