Lines Matching refs:tcap
3875 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export() local
3922 tcap = __get_cap_for_mds(ci, target); in handle_cap_export()
3923 if (tcap) { in handle_cap_export()
3925 if (tcap->cap_id == t_cap_id && in handle_cap_export()
3926 ceph_seq_cmp(tcap->seq, t_seq) < 0) { in handle_cap_export()
3927 dout(" updating import cap %p mds%d\n", tcap, target); in handle_cap_export()
3928 tcap->cap_id = t_cap_id; in handle_cap_export()
3929 tcap->seq = t_seq - 1; in handle_cap_export()
3930 tcap->issue_seq = t_seq - 1; in handle_cap_export()
3931 tcap->issued |= issued; in handle_cap_export()
3932 tcap->implemented |= issued; in handle_cap_export()
3934 ci->i_auth_cap = tcap; in handle_cap_export()
3935 change_auth_cap_ses(ci, tcap->session); in handle_cap_export()
3943 tcap = new_cap; in handle_cap_export()
3948 ci->i_auth_cap == tcap) { in handle_cap_export()
3951 &tcap->session->s_cap_flushing); in handle_cap_export()