Lines Matching refs:etid
713 mtx_init(&t->etid_lock, "etid lock", NULL, MTX_DEF);
741 /* etid services */
749 int etid = -1;
755 etid = p - t->etid_tab + t->etid_base;
761 return (etid);
765 lookup_etid(struct adapter *sc, int etid)
769 return (t->etid_tab[etid - t->etid_base].cst);
773 free_etid(struct adapter *sc, int etid)
776 union etid_entry *p = &t->etid_tab[etid - t->etid_base];
823 cst->etid = alloc_etid(sc, cst);
824 if (cst->etid < 0) {
912 if (cst->etid >= 0)
913 free_etid(sc, cst->etid);
936 * credits for the etid otherwise.