/src/sys/dev/usb/ |
uhid.c | 115 bool sc_closing; member in struct:uhid_softc 284 if (sc->sc_open != UHID_CLOSED || sc->sc_closing) { 352 sc->sc_closing = true; 371 KASSERT(sc->sc_closing); 403 sc->sc_closing = false; 439 if (sc->sc_closing) {
|
udsir.c | 109 char sc_closing; member in struct:udsir_softc 249 sc->sc_closing = sc->sc_dying = 1; 254 tsleep(&sc->sc_closing, PWAIT, "usircl", 0); 361 sc->sc_closing = 0; 413 sc->sc_closing = 1; 418 tsleep(&sc->sc_closing, PWAIT, "usircl", 0); 819 while (!sc->sc_closing) { 823 if (!sc->sc_closing) { 841 wakeup(&sc->sc_closing); 964 if (status == USBD_CANCELLED || sc->sc_closing) /* this is normal * [all...] |
ustir.c | 140 char sc_closing; member in struct:ustir_softc 332 sc->sc_closing = sc->sc_dying = 1; 337 tsleep(&sc->sc_closing, PWAIT, "usircl", 0); 530 while (!sc->sc_closing) { 534 if (!sc->sc_closing) { 554 wakeup(&sc->sc_closing); 574 if (status == USBD_CANCELLED || sc->sc_closing) /* this is normal */ 735 sc->sc_closing = 0; 789 sc->sc_closing = 1; 794 tsleep(&sc->sc_closing, PWAIT, "usircl", 0) [all...] |
ucom.c | 187 bool sc_closing; /* software is closing */ member in struct:ucom_softc 295 sc->sc_closing = false; 569 if (state == UCOM_OPENING || sc->sc_closing) { 705 * We set sc_closing to block new opens until ucomclose runs. 735 sc->sc_closing = true; 754 * point, but they will block until sc_closing is set to false. 811 KASSERT(sc->sc_closing); 813 sc->sc_closing = false; 1317 !sc->sc_closing) { 1450 sc->sc_closing) { [all...] |