Searched refs:sc_thread (Results 1 – 11 of 11) sorted by relevance
/openbsd/sys/dev/onewire/ |
H A D | onewire.c | 49 struct proc * sc_thread; member 122 if (sc->sc_thread != NULL) { in onewire_detach() 123 wakeup(sc->sc_thread); in onewire_detach() 403 tsleep_nsec(sc->sc_thread, PWAIT, "owidle", ONEWIRE_SCANTIME); in onewire_thread() 406 sc->sc_thread = NULL; in onewire_thread() 416 if (kthread_create(onewire_thread, sc, &sc->sc_thread, in onewire_createthread()
|
/openbsd/sys/arch/hppa/dev/ |
H A D | power.c | 47 struct proc *sc_thread; member 135 if (kthread_create(sc->sc_kicker, sc, &sc->sc_thread, in power_thread_create()
|
/openbsd/sys/dev/hil/ |
H A D | hilvar.h | 77 struct proc *sc_thread; /* event handling thread */ member
|
H A D | hil.c | 253 if (kthread_create(hil_thread, sc, &sc->sc_thread, in hil_attach_deferred()
|
/openbsd/sys/dev/ic/ |
H A D | twevar.h | 54 struct proc *sc_thread; member
|
H A D | twe.c | 416 if (kthread_create(twe_thread, sc, &sc->sc_thread, in twe_thread_create()
|
/openbsd/sys/dev/ |
H A D | ipmivar.h | 129 struct ipmi_thread *sc_thread; member
|
H A D | ipmi.c | 1548 if (kthread_create(ipmi_poll_thread, sc->sc_thread, NULL, in ipmi_create_thread() 1564 sc->sc_thread = malloc(sizeof(struct ipmi_thread), M_DEVBUF, M_NOWAIT); in ipmi_attach_common() 1565 if (sc->sc_thread == NULL) { in ipmi_attach_common() 1569 sc->sc_thread->sc = sc; in ipmi_attach_common() 1570 sc->sc_thread->running = 1; in ipmi_attach_common()
|
/openbsd/sys/dev/acpi/ |
H A D | acpivar.h | 257 struct acpi_thread *sc_thread; member
|
H A D | acpi.c | 1304 sc->sc_thread = malloc(sizeof(struct acpi_thread), M_DEVBUF, M_WAITOK); in acpi_attach_common() 1305 sc->sc_thread->sc = sc; in acpi_attach_common() 1306 sc->sc_thread->running = 1; in acpi_attach_common() 2775 if (kthread_create(acpi_thread, sc->sc_thread, NULL, DEVNAME(sc)) in acpi_create_thread()
|
/openbsd/sys/arch/i386/i386/ |
H A D | apm.c | 82 struct proc *sc_thread; member 887 if (kthread_create(apm_thread, sc, &sc->sc_thread, in apm_thread_create()
|