Lines Matching defs:atid
175 tp->t_state == TCPS_SYN_SENT ? "atid" : "tid", toep->tp_tid,
196 int atid = -1;
202 atid = (p - t->atid_tab) + t->atid_base;
209 return (atid);
213 free_atid(struct tid_info *t, int atid)
215 union active_open_entry *p = atid2entry(t, atid);
912 unsigned int atid = G_TID(ntohl(rpl->atid));
913 struct toepcb *toep = lookup_atid(&td->tid_maps, atid);
917 CTR3(KTR_CXGB, "%s: atid %u, status %u ", __func__, atid, s);
919 free_atid(&td->tid_maps, atid);
960 int atid = -1, mtu_idx, rscale, cpu_idx, qset;
971 atid = alloc_atid(&td->tid_maps, toep);
972 if (atid < 0)
987 toep->tp_tid = atid; /* used to double check response */
1011 OPCODE_TID(cpl) = htobe32(MK_OPCODE_TID(CPL_ACT_OPEN_REQ, atid));
1019 CTR5(KTR_CXGB, "%s: atid %u (%s), toep %p, inp %p", __func__,
1028 CTR5(KTR_CXGB, "%s: FAILED, atid %d, toep %p, l2te %p, mbuf %p",
1029 __func__, atid, toep, e, m);
1031 if (atid >= 0)
1032 free_atid(&td->tid_maps, atid);
1653 unsigned int atid = G_PASS_OPEN_TID(ntohl(req->tos_tid));
1654 struct toepcb *toep = lookup_atid(&td->tid_maps, atid);
1659 CTR3(KTR_CXGB, "%s: atid %u, tid %u", __func__, atid, tid);
1661 free_atid(&td->tid_maps, atid);
1668 KASSERT(toep->tp_tid == atid,
1669 ("%s atid mismatch %d %d", __func__, toep->tp_tid, atid));