| /linux/fs/ |
| H A D | remap_range.c | 32 struct file *file_out, loff_t pos_out, 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() 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_in + bcount) in generic_remap_checks() 135 loff_t pos_out, in generic_remap_check_len() argument 145 if (pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len() [all …]
|
| H A D | dax.c | 2274 struct file *file_out, loff_t pos_out, in dax_remap_file_range_prep() argument 2279 pos_out, len, remap_flags, ops); in dax_remap_file_range_prep()
|
| /linux/fs/overlayfs/ |
| H A D | file.c | 528 struct file *file_out, loff_t pos_out, in ovl_copyfile() argument 572 realfile_out, pos_out, len, flags); in ovl_copyfile() 577 realfile_out, pos_out, len, flags); in ovl_copyfile() 582 realfile_out, 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/fs/nfs/ |
| H A D | nfs4file.c | 139 struct file *file_out, loff_t pos_out, in __nfs4_copy_file_range() argument 181 ret = nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count, in __nfs4_copy_file_range() 192 struct file *file_out, loff_t pos_out, in nfs4_copy_file_range() argument 197 ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, in nfs4_copy_file_range() 201 pos_out, count); in nfs4_copy_file_range()
|
| /linux/fs/xfs/ |
| H A D | xfs_reflink.h | 58 struct file *file_out, loff_t pos_out, loff_t *len, 61 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len,
|
| H A D | xfs_reflink.c | 1567 loff_t pos_out, in xfs_reflink_remap_blocks() argument 1574 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); in xfs_reflink_remap_blocks() 1577 xfs_off_t new_isize = pos_out + remap_len; in xfs_reflink_remap_blocks() 1692 loff_t pos_out, in xfs_reflink_remap_prep() argument 1719 pos_out, len, remap_flags); in xfs_reflink_remap_prep() 1722 pos_out, len, remap_flags, &xfs_read_iomap_ops); in xfs_reflink_remap_prep() 1735 ret = xfs_reflink_zero_posteof(dest, pos_out); in xfs_reflink_remap_prep() 1749 if (pos_out > XFS_ISIZE(dest)) { in xfs_reflink_remap_prep() 1750 loff_t flen = *len + (pos_out - XFS_ISIZE(dest)); in xfs_reflink_remap_prep() 1753 ret = xfs_flush_unmap_range(dest, pos_out, *len); in xfs_reflink_remap_prep()
|
| H A D | xfs_file.c | 1702 loff_t pos_out, in xfs_file_remap_range() argument 1725 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range() 1730 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); in xfs_file_remap_range() 1732 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, in xfs_file_remap_range() 1745 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range() 1749 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, in xfs_file_remap_range()
|
| /linux/include/linux/ |
| H A D | splice.h | 92 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()
|
| H A D | fs.h | 1956 struct file *file_out, loff_t pos_out, 2078 struct file *file_out, loff_t pos_out, 2082 struct file *file_out, loff_t pos_out, 2085 struct file *file_out, loff_t pos_out,
|
| /linux/fs/btrfs/ |
| H A D | reflink.h | 11 struct file *file_out, loff_t pos_out,
|
| H A D | reflink.c | 837 struct file *file_out, loff_t pos_out, in btrfs_remap_file_range_prep() argument 908 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), wb_len); in btrfs_remap_file_range_prep() 912 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in btrfs_remap_file_range_prep()
|
| /linux/fs/hostfs/ |
| H A D | hostfs.h | 45 extern char *read_dir(void *stream, unsigned long long *pos_out,
|
| /linux/include/uapi/linux/ |
| H A D | f2fs.h | 94 __u64 pos_out; /* start position in dst_fd */ member
|
| /linux/fs/ocfs2/ |
| H A D | refcounttree.h | 113 loff_t pos_out,
|
| /linux/fs/f2fs/ |
| H A D | file.c | 3214 struct file *file_out, loff_t pos_out, size_t len) in f2fs_move_file_range() argument 3239 if (pos_out < 0 || pos_in < 0) in f2fs_move_file_range() 3243 if (pos_in == pos_out) in f2fs_move_file_range() 3270 if (src == dst && pos_out > pos_in && pos_out < pos_in + len) in f2fs_move_file_range() 3280 if (olen > LLONG_MAX - pos_out) in f2fs_move_file_range() 3282 dst_end = pos_out + olen; in f2fs_move_file_range() 3293 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) in f2fs_move_file_range() 3311 pos_out, pos_out + len); in f2fs_move_file_range() 3326 F2FS_BYTES_TO_BLK(pos_out), in f2fs_move_file_range() 3381 range->pos_out, range->len); in __f2fs_ioc_move_range() [all …]
|
| /linux/fs/fuse/ |
| H A D | file.c | 2932 struct file *file_out, loff_t pos_out, in __fuse_copy_file_range() argument 2948 .off_out = pos_out, in __fuse_copy_file_range() 2959 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range() 2997 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range() 3042 ALIGN_DOWN(pos_out, PAGE_SIZE), in __fuse_copy_file_range() 3043 ALIGN(pos_out + bytes_copied, PAGE_SIZE) - 1); in __fuse_copy_file_range() 3046 fuse_write_update_attr(inode_out, pos_out + bytes_copied, bytes_copied); in __fuse_copy_file_range()
|
| /linux/Documentation/filesystems/ |
| H A D | locking.rst | 485 struct file *file_out, loff_t pos_out,
|
| H A D | vfs.rst | 1038 struct file *file_out, loff_t pos_out, 1151 file into the dest file at pos_out. Implementations must handle
|