| /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 | 2234 struct file *file_out, loff_t pos_out, in dax_remap_file_range_prep() argument 2239 pos_out, len, remap_flags, ops); in dax_remap_file_range_prep()
|
| /linux/fs/xfs/ |
| H A D | xfs_reflink.h | 52 struct file *file_out, loff_t pos_out, loff_t len, 61 struct file *file_out, loff_t pos_out, loff_t *len, 64 struct xfs_inode *dest, loff_t pos_out, loff_t remap_len,
|
| H A D | xfs_file.c | 1569 loff_t pos_out, in xfs_file_remap_range() argument 1592 ret = xfs_reflink_remap_prep(file_in, pos_in, file_out, pos_out, in xfs_file_remap_range() 1597 trace_xfs_reflink_remap_range(src, pos_in, len, dest, pos_out); in xfs_file_remap_range() 1599 ret = xfs_reflink_remap_blocks(src, pos_in, dest, pos_out, len, in xfs_file_remap_range() 1612 pos_out == 0 && len >= i_size_read(inode_out) && in xfs_file_remap_range() 1616 ret = xfs_reflink_update_dest(dest, pos_out + len, cowextsize, in xfs_file_remap_range()
|
| /linux/fs/overlayfs/ |
| H A D | file.c | 528 struct file *file_out, loff_t pos_out, in ovl_copyfile() argument 558 realfile_out, pos_out, len, flags); in ovl_copyfile() 563 realfile_out, pos_out, len, flags); in ovl_copyfile() 568 realfile_out, pos_out, len, in ovl_copyfile() 584 struct file *file_out, loff_t pos_out, in ovl_copy_file_range() argument 587 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range() 592 struct file *file_out, loff_t pos_out, in ovl_remap_file_range() argument 614 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 | 137 struct file *file_out, loff_t pos_out, 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() 190 struct file *file_out, loff_t pos_out, 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() 199 pos_out, count); in nfs4_copy_file_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 | dax.h | 282 struct file *file_out, loff_t pos_out,
|
| H A D | fs.h | 1963 struct file *file_out, loff_t pos_out, 2084 struct file *file_out, loff_t pos_out, 2088 struct file *file_out, loff_t pos_out, 2091 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 | 783 struct file *file_out, loff_t pos_out, in btrfs_remap_file_range_prep() argument 854 ret = btrfs_wait_ordered_range(inode_out, ALIGN_DOWN(pos_out, bs), wb_len); in btrfs_remap_file_range_prep() 858 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 | 87 __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 | 2702 struct file *file_out, loff_t pos_out, in ocfs2_remap_file_range() argument 2731 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range() 2744 round_down(pos_out, PAGE_SIZE), in ocfs2_remap_file_range() 2745 round_up(pos_out + len, PAGE_SIZE) - 1); in ocfs2_remap_file_range() 2748 inode_out, out_bh, pos_out, len); in ocfs2_remap_file_range() 2765 ret = ocfs2_reflink_update_dest(inode_out, out_bh, pos_out + len); in ocfs2_remap_file_range()
|
| H A D | refcounttree.c | 4485 /* Remap the range pos_in:len in s_inode to pos_out:len in t_inode. */ 4491 loff_t pos_out, in ocfs2_reflink_remap_extent() argument 4513 tpos = ocfs2_bytes_to_clusters(t_inode->i_sb, pos_out); in ocfs2_reflink_remap_extent() 4605 loff_t pos_out, in ocfs2_reflink_remap_blocks() argument 4623 if (pos_in == pos_out && pos_in == 0 && len == i_size_read(s_inode) && in ocfs2_reflink_remap_blocks() 4683 pos_out, len, &dealloc); in ocfs2_reflink_remap_blocks()
|
| /linux/fs/fuse/ |
| H A D | file.c | 3017 struct file *file_out, loff_t pos_out, in __fuse_copy_file_range() argument 3033 .off_out = pos_out, in __fuse_copy_file_range() 3044 ((pos_out + len) > inode_out->i_size); in __fuse_copy_file_range() 3082 err = fuse_writeback_range(inode_out, pos_out, pos_out + len - 1); in __fuse_copy_file_range() 3127 ALIGN_DOWN(pos_out, PAGE_SIZE), in __fuse_copy_file_range() 3128 ALIGN(pos_out + bytes_copied, PAGE_SIZE) - 1); in __fuse_copy_file_range() 3131 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 | 501 struct file *file_out, loff_t pos_out,
|