| /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_i in generic_remap_checks() 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 278 __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 368 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 377 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 D | read_write.c | 1463 struct file *file_out, loff_t pos_out, in COMPAT_SYSCALL_DEFINE4() 1504 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks() 1515 ret = generic_write_check_limits(file_out, pos_out, &count); in generic_copy_file_checks() 1522 pos_out + count > pos_in && in generic_copy_file_checks() 1523 pos_out < pos_in + count) in generic_copy_file_checks() 1536 struct file *file_out, loff_t pos_out, in generic_copy_file_checks() 1546 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len, in generic_copy_file_checks() 1555 ret = rw_verify_area(WRITE, file_out, &pos_out, len); in vfs_copy_file_range() 1578 file_out, pos_out, in vfs_copy_file_range() 1483 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 1554 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 1654 loff_t pos_out; SYSCALL_DEFINE6() local [all...] |
| H A D | dax.c | 2267 struct file *file_out, loff_t pos_out, in dax_remap_file_range_prep() 2272 pos_out, len, remap_flags, 2264 dax_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 * ops) dax_remap_file_range_prep() argument
|
| /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 | 1572 loff_t pos_out, in xfs_reflink_remap_blocks() argument 1579 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); in xfs_reflink_remap_blocks() 1582 xfs_off_t new_isize = pos_out + remap_len; in xfs_reflink_remap_blocks() 1697 loff_t pos_out, in xfs_reflink_remap_prep() argument 1724 pos_out, len, remap_flags); in xfs_reflink_remap_prep() 1727 pos_out, len, remap_flags, xfs_read_iomap_next); in xfs_reflink_remap_prep() 1740 ret = xfs_reflink_zero_posteof(dest, pos_out); in xfs_reflink_remap_prep() 1750 * If pos_out > EOF, we may have dirtied blocks between EOF and in xfs_reflink_remap_prep() 1751 * pos_out. In that case, we need to extend the flush and unmap to cover in xfs_reflink_remap_prep() 1754 if (pos_out > XFS_ISIZ in xfs_reflink_remap_prep() [all...] |
| H A D | xfs_file.c | 1720 loff_t pos_out, in xfs_file_remap_range() 1743 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range() 1748 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); in xfs_file_remap_range() 1750 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, in xfs_file_remap_range() 1763 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range() 1767 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, in xfs_file_remap_range() 1701 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
|
| /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 | dax.h | 278 struct file *file_out, loff_t pos_out,
|
| H A D | fs.h | 1960 struct file *file_out, loff_t pos_out, 2085 struct file *file_out, loff_t pos_out, 2091 struct file *file_out, loff_t pos_out, 2094 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 | 848 struct file *file_out, loff_t pos_out, in btrfs_remap_file_range_prep() 916 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), wb_len); in file_sync_write() 920 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in file_sync_write() 837 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
|
| /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,
|
| H A D | file.c | 2743 struct file *file_out, loff_t pos_out, in ocfs2_remap_file_range() 2772 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range() 2785 round_down(pos_out, PAGE_SIZE), in ocfs2_dir_llseek() 2786 round_up(pos_out + len, PAGE_SIZE) - 1); in ocfs2_dir_llseek() 2789 inode_out, out_bh, pos_out, len); 2806 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); 2707 ocfs2_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) ocfs2_remap_file_range() argument
|
| /linux/fs/f2fs/ |
| H A D | file.c | 3228 struct file *file_out, loff_t pos_out, size_t len) in f2fs_move_file_range() 3253 if (pos_out < 0 || pos_in < 0) in f2fs_move_file_range() 3257 if (pos_in == pos_out) in f2fs_move_file_range() 3284 if (src == dst && pos_out > pos_in && pos_out < pos_in + len) in f2fs_move_file_range() 3294 if (olen > LLONG_MAX - pos_out) in f2fs_move_file_range() 3296 dst_end = pos_out + olen; in f2fs_move_file_range() 3307 !IS_ALIGNED(pos_out, F2FS_BLKSIZE(sbi))) in f2fs_move_file_range() 3325 pos_out, pos_out in f2fs_move_file_range() 3214 f2fs_move_file_range(struct file * file_in,loff_t pos_in,struct file * file_out,loff_t pos_out,size_t len) f2fs_move_file_range() argument 5804 compat_u64 pos_out; global() member [all...] |
| /linux/fs/fuse/ |
| H A D | file.c | 2994 struct file *file_out, loff_t pos_out, in __fuse_copy_file_range() 3010 .off_out = pos_out, in __fuse_copy_file_range() 3022 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range() 3047 if (pos_out > old_size) in __fuse_copy_file_range() 3048 truncate_pagecache_range(inode_out, old_size, pos_out - 1); in __fuse_copy_file_range() 3070 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in fuse_copy_file_range() 3116 pos_out >> PAGE_SHIFT, in fuse_init_file_inode() 3117 (pos_out + bytes_copied - 1) >> PAGE_SHIFT); in fuse_init_file_inode() 3120 fuse_write_update_attr(inode_out, pos_out in fuse_init_file_inode() 2932 __fuse_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) __fuse_copy_file_range() argument [all...] |
| /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
|