Lines Matching refs:tcap
2887 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local
2926 tcap = __get_cap_for_mds(ci, target); in handle_cap_export()
2927 if (tcap) { in handle_cap_export()
2929 if (tcap->cap_id != t_cap_id || in handle_cap_export()
2930 ceph_seq_cmp(tcap->seq, t_seq) < 0) { in handle_cap_export()
2931 dout(" updating import cap %p mds%d\n", tcap, target); in handle_cap_export()
2932 tcap->cap_id = t_cap_id; in handle_cap_export()
2933 tcap->seq = t_seq - 1; in handle_cap_export()
2934 tcap->issue_seq = t_seq - 1; in handle_cap_export()
2935 tcap->mseq = t_mseq; in handle_cap_export()
2936 tcap->issued |= issued; in handle_cap_export()
2937 tcap->implemented |= issued; in handle_cap_export()
2939 ci->i_auth_cap = tcap; in handle_cap_export()
2940 if (ci->i_flushing_caps && ci->i_auth_cap == tcap) { in handle_cap_export()
2943 &tcap->session->s_cap_flushing); in handle_cap_export()