Lines Matching refs:tcap
4072 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local
4119 tcap = __get_cap_for_mds(ci, target); in handle_cap_export()
4120 if (tcap) { in handle_cap_export()
4122 if (tcap->cap_id == t_cap_id && in handle_cap_export()
4123 ceph_seq_cmp(tcap->seq, t_issue_seq) < 0) { in handle_cap_export()
4124 doutc(cl, " updating import cap %p mds%d\n", tcap, in handle_cap_export()
4126 tcap->cap_id = t_cap_id; in handle_cap_export()
4127 tcap->seq = t_issue_seq - 1; in handle_cap_export()
4128 tcap->issue_seq = t_issue_seq - 1; in handle_cap_export()
4129 tcap->issued |= issued; in handle_cap_export()
4130 tcap->implemented |= issued; in handle_cap_export()
4132 ci->i_auth_cap = tcap; in handle_cap_export()
4133 change_auth_cap_ses(ci, tcap->session); in handle_cap_export()
4141 tcap = new_cap; in handle_cap_export()
4146 ci->i_auth_cap == tcap) { in handle_cap_export()
4149 &tcap->session->s_cap_flushing); in handle_cap_export()