Lines Matching refs:src_off
2801 loff_t src_off, loff_t dst_off, size_t len) in is_file_size_ok() argument
2813 if (src_off + len > size) { in is_file_size_ok()
2814 doutc(cl, "Copy beyond EOF (%llu + %zu > %llu)\n", src_off, in is_file_size_ok()
2878 static ssize_t ceph_do_objects_copy(struct ceph_inode_info *src_ci, u64 *src_off, in ceph_do_objects_copy() argument
2901 ceph_calc_file_object_mapping(&src_ci->i_layout, *src_off, in ceph_do_objects_copy()
2943 *src_off += object_size; in ceph_do_objects_copy()
2953 static ssize_t __ceph_copy_file_range(struct file *src_file, loff_t src_off, in __ceph_copy_file_range() argument
3022 ret = file_write_and_wait_range(src_file, src_off, (src_off + len)); in __ceph_copy_file_range()
3046 ret = is_file_size_ok(src_inode, dst_inode, src_off, dst_off, len); in __ceph_copy_file_range()
3060 ceph_calc_file_object_mapping(&src_ci->i_layout, src_off, in __ceph_copy_file_range()
3085 ret = splice_file_range(src_file, &src_off, dst_file, &dst_off, in __ceph_copy_file_range()
3098 src_off, dst_off, len); in __ceph_copy_file_range()
3104 bytes = ceph_do_objects_copy(src_ci, &src_off, dst_ci, &dst_off, in __ceph_copy_file_range()
3140 bytes = splice_file_range(src_file, &src_off, dst_file, in __ceph_copy_file_range()
3154 static ssize_t ceph_copy_file_range(struct file *src_file, loff_t src_off, in ceph_copy_file_range() argument
3160 ret = __ceph_copy_file_range(src_file, src_off, dst_file, dst_off, in ceph_copy_file_range()
3164 ret = splice_copy_file_range(src_file, src_off, dst_file, in ceph_copy_file_range()