Lines Matching refs:tcap
3512 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local
3560 tcap = __get_cap_for_mds(ci, target); in handle_cap_export()
3561 if (tcap) { in handle_cap_export()
3563 if (tcap->cap_id == t_cap_id && in handle_cap_export()
3564 ceph_seq_cmp(tcap->seq, t_seq) < 0) { in handle_cap_export()
3565 dout(" updating import cap %p mds%d\n", tcap, target); in handle_cap_export()
3566 tcap->cap_id = t_cap_id; in handle_cap_export()
3567 tcap->seq = t_seq - 1; in handle_cap_export()
3568 tcap->issue_seq = t_seq - 1; in handle_cap_export()
3569 tcap->mseq = t_mseq; in handle_cap_export()
3570 tcap->issued |= issued; in handle_cap_export()
3571 tcap->implemented |= issued; in handle_cap_export()
3573 ci->i_auth_cap = tcap; in handle_cap_export()
3576 ci->i_auth_cap == tcap) { in handle_cap_export()
3579 &tcap->session->s_cap_flushing); in handle_cap_export()
3588 tcap = new_cap; in handle_cap_export()
3593 ci->i_auth_cap == tcap) { in handle_cap_export()
3596 &tcap->session->s_cap_flushing); in handle_cap_export()