Lines Matching refs:tcap
4085 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local
4133 tcap = __get_cap_for_mds(ci, target); in handle_cap_export()
4134 if (tcap) { in handle_cap_export()
4136 if (tcap->cap_id == t_cap_id && in handle_cap_export()
4137 ceph_seq_cmp(tcap->seq, t_seq) < 0) { in handle_cap_export()
4138 doutc(cl, " updating import cap %p mds%d\n", tcap, in handle_cap_export()
4140 tcap->cap_id = t_cap_id; in handle_cap_export()
4141 tcap->seq = t_seq - 1; in handle_cap_export()
4142 tcap->issue_seq = t_seq - 1; in handle_cap_export()
4143 tcap->issued |= issued; in handle_cap_export()
4144 tcap->implemented |= issued; in handle_cap_export()
4146 ci->i_auth_cap = tcap; in handle_cap_export()
4147 change_auth_cap_ses(ci, tcap->session); in handle_cap_export()
4155 tcap = new_cap; in handle_cap_export()
4160 ci->i_auth_cap == tcap) { in handle_cap_export()
4163 &tcap->session->s_cap_flushing); in handle_cap_export()