Searched refs:sc_opened (Results 1 – 8 of 8) sorted by relevance
160 if (!atomic_cmpset_acq_ptr((uintptr_t *)&sc->sc_opened, in cfi_devopen()174 if (sc->sc_opened != td->td_proc) in cfi_devclose()178 sc->sc_opened = NULL; in cfi_devclose()
76 struct proc *sc_opened; /* Process that has us opened. */ member
173 sc->sc_opened = 1; in uart_tty_open()183 if (sc == NULL || sc->sc_leaving || !sc->sc_opened) in uart_tty_close()194 sc->sc_opened = 0; in uart_tty_close()
305 if (sc->sc_opened) in uart_intr_break()330 if (sc->sc_opened) { in uart_intr_overrun()360 if (sc->sc_opened) in uart_intr_rxready()403 if (sc->sc_opened) in uart_intr_sigchg()
97 int sc_opened:1; /* This UART is open for business. */ member
291 sc->sc_opened = 1; in sunkbd_attach()
54 int sc_opened; member
492 sc->sc_opened += dr + dw + de; in g_multipath_access()493 if (sc->sc_stopping && sc->sc_opened == 0) in g_multipath_access()657 if (sc->sc_opened != 0) { in g_multipath_destroy()