/linux-master/fs/btrfs/ |
H A D | reflink.h | 11 struct file *file_out, loff_t pos_out,
|
H A D | reflink.c | 794 struct file *file_out, loff_t pos_out, 862 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), 867 return generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, 793 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) argument
|
/linux-master/fs/ |
H A D | remap_range.c | 32 struct file *file_out, loff_t pos_out, 44 if (!IS_ALIGNED(pos_in, bs) || !IS_ALIGNED(pos_out, bs)) 48 if (pos_in + count < pos_in || pos_out + count < pos_out) 57 pos_out >= size_out || pos_out + count > size_out)) 65 ret = generic_write_check_limits(file_out, pos_out, &count); 77 (!(remap_flags & REMAP_FILE_DEDUP) || pos_out + count == size_out)) { 87 pos_out + bcount > pos_in && 88 pos_out < pos_i 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) argument 133 generic_remap_check_len(struct inode *inode_in, struct inode *inode_out, loff_t pos_out, loff_t *len, unsigned int remap_flags) argument 277 __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) argument 367 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) argument 376 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) argument [all...] |
H A D | read_write.c | 1413 struct file *file_out, loff_t pos_out, 1454 if (pos_in + count < pos_in || pos_out + count < pos_out) 1464 ret = generic_write_check_limits(file_out, pos_out, &count); 1470 pos_out + count > pos_in && 1471 pos_out < pos_in + count) 1484 struct file *file_out, loff_t pos_out, 1494 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len, 1503 ret = rw_verify_area(WRITE, file_out, &pos_out, len); 1519 file_out, pos_out, 1412 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) argument 1483 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) argument 1580 loff_t pos_out; local [all...] |
H A D | dax.c | 2060 struct file *file_out, loff_t pos_out, 2065 pos_out, len, remap_flags, ops); 2059 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) argument
|
/linux-master/fs/xfs/ |
H A D | xfs_reflink.h | 39 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 D | xfs_reflink.c | 1358 loff_t pos_out, 1365 xfs_fileoff_t destoff = XFS_B_TO_FSBT(mp, pos_out); 1368 xfs_off_t new_isize = pos_out + remap_len; 1482 loff_t pos_out, 1509 pos_out, len, remap_flags); 1512 pos_out, len, remap_flags, &xfs_read_iomap_ops); 1525 ret = xfs_reflink_zero_posteof(dest, pos_out); 1535 * If pos_out > EOF, we may have dirtied blocks between EOF and 1536 * pos_out. In that case, we need to extend the flush and unmap to cover 1539 if (pos_out > XFS_ISIZ 1354 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) argument 1478 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) argument [all...] |
H A D | xfs_file.c | 1165 loff_t pos_out, 1188 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, 1193 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); 1195 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, 1208 pos_out == 0 && len >= i_size_read(inode_out) && 1212 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, 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) argument
|
/linux-master/include/linux/ |
H A D | splice.h | 92 struct file *out, loff_t pos_out, 95 return splice_file_range(in, &pos_in, out, &pos_out, len); 91 splice_copy_file_range(struct file *in, loff_t pos_in, struct file *out, loff_t pos_out, size_t len) argument
|
H A D | dax.h | 257 struct file *file_out, loff_t pos_out,
|
H A D | fs.h | 2043 struct file *file_out, loff_t pos_out, 2123 struct file *file_out, loff_t pos_out, 2127 struct file *file_out, loff_t pos_out, 2130 struct file *file_out, loff_t pos_out,
|
/linux-master/fs/overlayfs/ |
H A D | file.c | 485 struct file *file_out, loff_t pos_out, 516 real_out.file, pos_out, len, flags); 521 real_out.file, pos_out, len, flags); 526 real_out.file, pos_out, len, 545 struct file *file_out, loff_t pos_out, 548 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, 553 struct file *file_out, loff_t pos_out, 575 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, 484 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) argument 544 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) argument 552 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) argument
|
/linux-master/include/uapi/linux/ |
H A D | f2fs.h | 79 __u64 pos_out; /* start position in dst_fd */ member in struct:f2fs_move_range
|
/linux-master/fs/hostfs/ |
H A D | hostfs.h | 76 extern char *read_dir(void *stream, unsigned long long *pos_out,
|
H A D | hostfs_user.c | 108 char *read_dir(void *stream, unsigned long long *pos_out, argument 121 *pos_out = ent->d_off;
|
/linux-master/fs/nfs/ |
H A D | nfs4file.c | 137 struct file *file_out, loff_t pos_out, 180 ret = nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count, 191 struct file *file_out, loff_t pos_out, 196 ret = __nfs4_copy_file_range(file_in, pos_in, file_out, pos_out, count, 200 pos_out, count); 136 __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) argument 190 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) argument
|
/linux-master/fs/ocfs2/ |
H A D | refcounttree.h | 113 loff_t pos_out,
|
H A D | file.c | 2677 struct file *file_out, loff_t pos_out, 2706 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, 2719 round_down(pos_out, PAGE_SIZE), 2720 round_up(pos_out + len, PAGE_SIZE) - 1); 2723 inode_out, out_bh, pos_out, len); 2740 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); 2676 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) argument
|
H A D | refcounttree.c | 4472 /* Remap the range pos_in:len in s_inode to pos_out:len in t_inode. */ 4478 loff_t pos_out, 4500 tpos = ocfs2_bytes_to_clusters(t_inode->i_sb, pos_out); 4592 loff_t pos_out, 4610 if (pos_in == pos_out && pos_in == 0 && len == i_size_read(s_inode) && 4670 pos_out, len, &dealloc); 4473 ocfs2_reflink_remap_extent(struct inode *s_inode, struct buffer_head *s_bh, loff_t pos_in, struct inode *t_inode, struct buffer_head *t_bh, loff_t pos_out, loff_t len, struct ocfs2_cached_dealloc_ctxt *dealloc) argument 4587 ocfs2_reflink_remap_blocks(struct inode *s_inode, struct buffer_head *s_bh, loff_t pos_in, struct inode *t_inode, struct buffer_head *t_bh, loff_t pos_out, loff_t len) argument
|
/linux-master/fs/f2fs/ |
H A D | file.c | 2801 struct file *file_out, loff_t pos_out, size_t len) 2823 if (pos_out < 0 || pos_in < 0) 2827 if (pos_in == pos_out) 2829 if (pos_out > pos_in && pos_out < pos_in + len) 2858 if (pos_out + olen > dst->i_size) 2859 dst_max_i_size = pos_out + olen; 2864 !IS_ALIGNED(pos_out, F2FS_BLKSIZE)) 2882 pos_out, pos_out 2800 f2fs_move_file_range(struct file *file_in, loff_t pos_in, struct file *file_out, loff_t pos_out, size_t len) argument 4945 compat_u64 pos_out; member in struct:compat_f2fs_move_range [all...] |
/linux-master/fs/fuse/ |
H A D | file.c | 3182 struct file *file_out, loff_t pos_out, 3198 .off_out = pos_out, 3207 ((pos_out + len) > inode_out->i_size); 3245 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); 3269 ALIGN_DOWN(pos_out, PAGE_SIZE), 3270 ALIGN(pos_out + outarg.size, PAGE_SIZE) - 1); 3273 fuse_write_update_attr(inode_out, pos_out + outarg.size, outarg.size); 3181 __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) argument
|