Home
last modified time | relevance | path

Searched refs:sc_opened (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/cfi/
H A Dcfi_dev.c159 if (!atomic_cmpset_acq_ptr((uintptr_t *)&sc->sc_opened, in cfi_devopen()
173 if (sc->sc_opened != td->td_proc) in cfi_devclose()
177 sc->sc_opened = NULL; in cfi_devclose()
H A Dcfi_var.h74 struct proc *sc_opened; /* Process that has us opened. */ member
/freebsd/sys/dev/uart/
H A Duart_tty.c173 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()
H A Duart_core.c301 if (sc->sc_opened) in uart_intr_break()
326 if (sc->sc_opened) { in uart_intr_overrun()
359 if (sc->sc_opened) in uart_intr_rxready()
402 if (sc->sc_opened) in uart_intr_sigchg()
H A Duart_bus.h97 bool sc_opened:1; /* This UART is open for business. */ member
/freebsd/sys/geom/multipath/
H A Dg_multipath.h52 int sc_opened; member
H A Dg_multipath.c514 sc->sc_opened += dr + dw + de; in g_multipath_access()
515 if (sc->sc_stopping && sc->sc_opened == 0) in g_multipath_access()
678 if (sc->sc_opened != 0) { in g_multipath_destroy()