Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/sys/dev/uart/
H A Duart_tty.c174 sc->sc_opened = 1; in uart_tty_open()
184 if (sc == NULL || sc->sc_leaving || !sc->sc_opened) in uart_tty_close()
195 sc->sc_opened = 0; in uart_tty_close()
H A Duart_core.c302 if (sc->sc_opened) in uart_intr_break()
327 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()
H A Duart_bus.h95 bool sc_opened:1; /* This UART is open for business. */ member
/freebsd-14.2/sys/geom/multipath/
H A Dg_multipath.h52 int sc_opened; member
H A Dg_multipath.c515 sc->sc_opened += dr + dw + de; in g_multipath_access()
516 if (sc->sc_stopping && sc->sc_opened == 0) in g_multipath_access()
679 if (sc->sc_opened != 0) { in g_multipath_destroy()