Lines Matching refs:tcap
3195 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local
3234 tcap = __get_cap_for_mds(ci, target); in handle_cap_export()
3235 if (tcap) { in handle_cap_export()
3237 if (tcap->cap_id != t_cap_id || in handle_cap_export()
3238 ceph_seq_cmp(tcap->seq, t_seq) < 0) { in handle_cap_export()
3239 dout(" updating import cap %p mds%d\n", tcap, target); in handle_cap_export()
3240 tcap->cap_id = t_cap_id; in handle_cap_export()
3241 tcap->seq = t_seq - 1; in handle_cap_export()
3242 tcap->issue_seq = t_seq - 1; in handle_cap_export()
3243 tcap->mseq = t_mseq; in handle_cap_export()
3244 tcap->issued |= issued; in handle_cap_export()
3245 tcap->implemented |= issued; in handle_cap_export()
3247 ci->i_auth_cap = tcap; in handle_cap_export()
3248 if (ci->i_flushing_caps && ci->i_auth_cap == tcap) { in handle_cap_export()
3251 &tcap->session->s_cap_flushing); in handle_cap_export()