Lines Matching refs:dst_ci
2633 * This function tries to get FILE_WR capabilities for dst_ci and FILE_RD for
2659 /* Start by dropping dst_ci caps and getting src_ci caps */
2680 struct ceph_inode_info *dst_ci, int dst_got)
2683 ceph_put_cap_refs(dst_ci, dst_got);
2770 struct ceph_inode_info *dst_ci, u64 *dst_off,
2786 dst_oloc.pool = dst_ci->i_layout.pool_id;
2787 dst_oloc.pool_ns = ceph_try_get_string(dst_ci->i_layout.pool_ns);
2794 ceph_calc_file_object_mapping(&dst_ci->i_layout, *dst_off,
2802 dst_ci->i_vino.ino, dst_objnum);
2807 dst_ci->i_truncate_seq,
2808 dst_ci->i_truncate_size);
2849 struct ceph_inode_info *dst_ci = ceph_inode(dst_inode);
2890 if ((src_ci->i_layout.stripe_unit != dst_ci->i_layout.stripe_unit) ||
2892 (dst_ci->i_layout.stripe_count != 1) ||
2893 (src_ci->i_layout.object_size != dst_ci->i_layout.object_size)) {
2922 * We need FILE_WR caps for dst_ci and FILE_RD for src_ci as other
2950 ceph_calc_file_object_mapping(&dst_ci->i_layout, dst_off,
2951 dst_ci->i_layout.object_size,
2971 put_rd_wr_caps(src_ci, src_got, dst_ci, dst_got);
2991 bytes = ceph_do_objects_copy(src_ci, &src_off, dst_ci, &dst_off,
3009 ceph_check_caps(dst_ci, CHECK_CAPS_AUTHONLY | CHECK_CAPS_FLUSH);
3012 spin_lock(&dst_ci->i_ceph_lock);
3013 dirty = __ceph_mark_dirty_caps(dst_ci, CEPH_CAP_FILE_WR, &prealloc_cf);
3014 spin_unlock(&dst_ci->i_ceph_lock);
3019 put_rd_wr_caps(src_ci, src_got, dst_ci, dst_got);