Lines Matching refs:sl_softc
171 static struct sl_softc sl_softc[NSL]; variable
178 static int slinit (struct sl_softc *);
179 static struct mbuf *sl_btom (struct sl_softc *, int);
203 struct sl_softc *sc; in slattach()
208 for (sc = sl_softc; i < NSL; sc++) { in slattach()
228 slinit(struct sl_softc *sc) in slinit()
247 struct sl_softc *sc; in slopen()
261 for (nsl = NSL, sc = sl_softc; --nsl >= 0; sc++) { in slopen()
305 struct sl_softc *sc; in slclose()
313 sc = (struct sl_softc *)tp->t_slsc; in slclose()
348 struct sl_softc *sc = (struct sl_softc *)tp->t_slsc, *nc, *tmpnc; in sltioctl()
361 for (nsl = NSL, nc = sl_softc; --nsl >= 0; nc++) { in sltioctl()
454 struct sl_softc *sc = &sl_softc[ifp->if_dunit]; in sloutput_serialized()
531 struct sl_softc *sc = (struct sl_softc *)tp->t_slsc; in slstart()
719 sl_btom(struct sl_softc *sc, int len) in sl_btom()
761 struct sl_softc *sc; in slinput()
774 sc = (struct sl_softc *)tp->t_slsc; in slinput()
963 if (sl_softc[ifp->if_dunit].sc_ttyp == NULL) { in slioctl()
973 if (sl_softc[ifp->if_dunit].sc_ttyp != NULL) in slioctl()
999 tp = sl_softc[ifp->if_dunit].sc_ttyp; in slioctl()
1015 struct sl_softc *sc = chan; in sl_keepalive()
1042 struct sl_softc *sc = chan; in sl_outfill()