Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/cfi/
H A Dcfi_dev.c160 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()
H A Dcfi_var.h76 struct proc *sc_opened; /* Process that has us opened. */ member
/freebsd-12.1/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.c305 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()
H A Duart_bus.h97 int sc_opened:1; /* This UART is open for business. */ member
H A Duart_kbd_sun.c291 sc->sc_opened = 1; in sunkbd_attach()
/freebsd-12.1/sys/geom/multipath/
H A Dg_multipath.h54 int sc_opened; member
H A Dg_multipath.c492 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()