Lines Matching defs:atid
64 /* atid services */
73 int atid = -1;
79 atid = p - t->atid_tab;
85 return (atid);
89 lookup_atid(struct adapter *sc, int atid)
93 return (t->atid_tab[atid].data);
97 free_atid(struct adapter *sc, int atid)
100 union aopen_entry *p = &t->atid_tab[atid];
119 u_int atid = G_TID_TID(ntohl(cpl->tos_atid));
120 struct toepcb *toep = lookup_atid(sc, atid);
124 KASSERT(toep->tid == atid, ("%s: toep tid/atid mismatch", __func__));
126 CTR3(KTR_CXGBE, "%s: atid %u, tid %u", __func__, atid, tid);
127 free_atid(sc, atid);
182 act_open_failure_cleanup(struct adapter *sc, u_int atid, u_int status)
184 struct toepcb *toep = lookup_atid(sc, atid);
188 free_atid(sc, atid);
206 u_int atid = G_TID_TID(G_AOPEN_ATID(be32toh(cpl->atid_status)));
208 struct toepcb *toep = lookup_atid(sc, atid);
212 KASSERT(toep->tid == atid, ("%s: toep tid/atid mismatch", __func__));
214 CTR3(KTR_CXGBE, "%s: atid %u, status %u ", __func__, atid, status);
224 act_open_failure_cleanup(sc, atid, rc);
442 CTR5(KTR_CXGBE, "%s: atid %u (%s), toep %p, inp %p", __func__,