Lines Matching refs:src_ci
2787 static void put_rd_wr_caps(struct ceph_inode_info *src_ci, int src_got, in put_rd_wr_caps() argument
2790 ceph_put_cap_refs(src_ci, src_got); in put_rd_wr_caps()
2878 static ssize_t ceph_do_objects_copy(struct ceph_inode_info *src_ci, u64 *src_off, in ceph_do_objects_copy() argument
2890 u32 object_size = src_ci->i_layout.object_size; in ceph_do_objects_copy()
2894 src_oloc.pool = src_ci->i_layout.pool_id; in ceph_do_objects_copy()
2895 src_oloc.pool_ns = ceph_try_get_string(src_ci->i_layout.pool_ns); in ceph_do_objects_copy()
2901 ceph_calc_file_object_mapping(&src_ci->i_layout, *src_off, in ceph_do_objects_copy()
2909 src_ci->i_vino.ino, src_objnum); in ceph_do_objects_copy()
2914 req = ceph_alloc_copyfrom_request(osdc, src_ci->i_vino.snap, in ceph_do_objects_copy()
2959 struct ceph_inode_info *src_ci = ceph_inode(src_inode); in __ceph_copy_file_range() local
3002 if ((src_ci->i_layout.stripe_unit != dst_ci->i_layout.stripe_unit) || in __ceph_copy_file_range()
3003 (src_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
3005 (src_ci->i_layout.object_size != dst_ci->i_layout.object_size)) { in __ceph_copy_file_range()
3014 if (len < src_ci->i_layout.object_size) in __ceph_copy_file_range()
3060 ceph_calc_file_object_mapping(&src_ci->i_layout, src_off, in __ceph_copy_file_range()
3061 src_ci->i_layout.object_size, in __ceph_copy_file_range()
3084 put_rd_wr_caps(src_ci, src_got, dst_ci, dst_got); in __ceph_copy_file_range()
3104 bytes = ceph_do_objects_copy(src_ci, &src_off, dst_ci, &dst_off, in __ceph_copy_file_range()
3132 put_rd_wr_caps(src_ci, src_got, dst_ci, dst_got); in __ceph_copy_file_range()
3138 if (len && (len < src_ci->i_layout.object_size)) { in __ceph_copy_file_range()