/fs/ |
D | remap_range.c | 29 static int generic_remap_checks(struct file *file_in, loff_t pos_in, in generic_remap_checks() argument 33 struct inode *inode_in = file_in->f_mapping->host; in generic_remap_checks() 293 int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, in generic_remap_file_range_prep() argument 297 struct inode *inode_in = file_inode(file_in); in generic_remap_file_range_prep() 329 ret = generic_remap_checks(file_in, pos_in, file_out, pos_out, len, in generic_remap_file_range_prep() 376 loff_t do_clone_file_range(struct file *file_in, loff_t pos_in, in do_clone_file_range() argument 389 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in do_clone_file_range() 392 ret = generic_file_rw_checks(file_in, file_out); in do_clone_file_range() 396 if (!file_in->f_op->remap_file_range) in do_clone_file_range() 399 ret = remap_verify_area(file_in, pos_in, len, false); in do_clone_file_range() [all …]
|
D | read_write.c | 1382 ssize_t generic_copy_file_range(struct file *file_in, loff_t pos_in, in generic_copy_file_range() argument 1386 return do_splice_direct(file_in, &pos_in, file_out, &pos_out, in generic_copy_file_range() 1398 static int generic_copy_file_checks(struct file *file_in, loff_t pos_in, in generic_copy_file_checks() argument 1402 struct inode *inode_in = file_inode(file_in); in generic_copy_file_checks() 1408 ret = generic_file_rw_checks(file_in, file_out); in generic_copy_file_checks() 1425 if (file_in->f_op->copy_file_range != in generic_copy_file_checks() 1428 } else if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) { in generic_copy_file_checks() 1469 ssize_t vfs_copy_file_range(struct file *file_in, loff_t pos_in, in vfs_copy_file_range() argument 1479 ret = generic_copy_file_checks(file_in, pos_in, file_out, pos_out, &len, in vfs_copy_file_range() 1484 ret = rw_verify_area(READ, file_in, &pos_in, len); in vfs_copy_file_range() [all …]
|
/fs/nfs/ |
D | nfs4file.c | 138 static ssize_t __nfs4_copy_file_range(struct file *file_in, loff_t pos_in, in __nfs4_copy_file_range() argument 149 if (file_in->f_op != &nfs4_file_operations) in __nfs4_copy_file_range() 152 !nfs_server_capable(file_inode(file_in), NFS_CAP_COPY)) in __nfs4_copy_file_range() 154 if (file_inode(file_in) == file_inode(file_out)) in __nfs4_copy_file_range() 159 if (count <= 2 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range() 162 if (!nfs42_files_from_same_server(file_in, file_out)) { in __nfs4_copy_file_range() 169 count <= 14 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range() 176 ret = nfs42_proc_copy_notify(file_in, file_out, cn_resp); in __nfs4_copy_file_range() 184 ret = nfs42_proc_copy(file_in, pos_in, file_out, pos_out, count, in __nfs4_copy_file_range() 187 if (!nfs42_files_from_same_server(file_in, file_out)) in __nfs4_copy_file_range() [all …]
|
/fs/overlayfs/ |
D | file.c | 676 static loff_t ovl_copyfile(struct file *file_in, loff_t pos_in, in ovl_copyfile() argument 698 ret = ovl_real_fdget(file_in, &real_in); in ovl_copyfile() 736 static ssize_t ovl_copy_file_range(struct file *file_in, loff_t pos_in, in ovl_copy_file_range() argument 740 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, flags, in ovl_copy_file_range() 744 static loff_t ovl_remap_file_range(struct file *file_in, loff_t pos_in, in ovl_remap_file_range() argument 763 (!ovl_inode_upper(file_inode(file_in)) || in ovl_remap_file_range() 767 return ovl_copyfile(file_in, pos_in, file_out, pos_out, len, in ovl_remap_file_range()
|
/fs/xfs/ |
D | xfs_reflink.h | 42 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,
|
D | xfs_file.c | 1075 struct file *file_in, in xfs_file_remap_range() argument 1082 struct inode *inode_in = file_inode(file_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() 1130 if (xfs_file_sync_writes(file_in) || xfs_file_sync_writes(file_out)) in xfs_file_remap_range()
|
D | xfs_reflink.c | 1283 struct file *file_in, in xfs_reflink_remap_prep() argument 1290 struct inode *inode_in = file_inode(file_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()
|
/fs/btrfs/ |
D | reflink.h | 8 loff_t btrfs_remap_file_range(struct file *file_in, loff_t pos_in,
|
D | reflink.c | 746 static int btrfs_remap_file_range_prep(struct file *file_in, loff_t pos_in, in btrfs_remap_file_range_prep() argument 750 struct inode *inode_in = file_inode(file_in); in btrfs_remap_file_range_prep() 763 if (file_in->f_path.mnt != file_out->f_path.mnt || 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()
|
/fs/fuse/ |
D | backing.c | 491 struct file *file_in, loff_t pos_in, struct file *file_out, in fuse_copy_file_range_initialize() argument 494 struct fuse_file *fuse_file_in = file_in->private_data; in fuse_copy_file_range_initialize() 509 .nodeid = get_node_id(file_in->f_inode), in fuse_copy_file_range_initialize() 522 int fuse_copy_file_range_backing(struct fuse_bpf_args *fa, struct file *file_in, loff_t pos_in, in fuse_copy_file_range_backing() argument 527 struct fuse_file *fuse_file_in = file_in->private_data; in fuse_copy_file_range_backing() 537 return generic_copy_file_range(file_in, pos_in, file_out, pos_out, len, in fuse_copy_file_range_backing() 541 void *fuse_copy_file_range_finalize(struct fuse_bpf_args *fa, struct file *file_in, loff_t pos_in, in fuse_copy_file_range_finalize() argument
|
D | fuse_i.h | 1492 struct file *file_in, loff_t pos_in, 1496 struct file *file_in, loff_t pos_in, 1500 struct file *file_in, loff_t pos_in,
|
D | file.c | 3524 static ssize_t __fuse_copy_file_range(struct file *file_in, loff_t pos_in, in __fuse_copy_file_range() argument 3528 struct fuse_file *ff_in = file_in->private_data; in __fuse_copy_file_range() 3530 struct inode *inode_in = file_inode(file_in); in __fuse_copy_file_range() 3555 fer = fuse_bpf_backing(file_in->f_inode, struct fuse_copy_file_range_io, in __fuse_copy_file_range() 3559 file_in, pos_in, file_out, pos_out, len, flags); in __fuse_copy_file_range() 3567 if (file_inode(file_in)->i_sb != file_inode(file_out)->i_sb) in __fuse_copy_file_range() 3640 file_accessed(file_in); in __fuse_copy_file_range()
|
/fs/ocfs2/ |
D | file.c | 2643 static loff_t ocfs2_remap_file_range(struct file *file_in, loff_t pos_in, in ocfs2_remap_file_range() argument 2647 struct inode *inode_in = file_inode(file_in); in ocfs2_remap_file_range() 2673 ret = generic_remap_file_range_prep(file_in, pos_in, file_out, pos_out, in ocfs2_remap_file_range()
|
/fs/f2fs/ |
D | file.c | 2812 static int f2fs_move_file_range(struct file *file_in, loff_t pos_in, in f2fs_move_file_range() argument 2815 struct inode *src = file_inode(file_in); in f2fs_move_file_range() 2822 if (file_in->f_path.mnt != file_out->f_path.mnt || in f2fs_move_file_range()
|