Searched refs:sc_worker (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/geom/mirror/ |
H A D | g_mirror.c | 1921 &sc->sc_worker); in g_mirror_try_destroy() 1924 wakeup(&sc->sc_worker); in g_mirror_try_destroy() 1925 sc->sc_worker = NULL; in g_mirror_try_destroy() 3192 error = kproc_create(g_mirror_worker, sc, &sc->sc_worker, 0, 0, in g_mirror_create() 3263 G_MIRROR_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker); in g_mirror_destroy() 3264 while (sc->sc_worker != NULL) in g_mirror_destroy() 3265 tsleep(&sc->sc_worker, PRIBIO, "m:destroy", hz / 5); in g_mirror_destroy() 3266 G_MIRROR_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker); in g_mirror_destroy()
|
H A D | g_mirror.h | 187 struct proc *sc_worker; member
|
/freebsd/sys/geom/journal/ |
H A D | g_journal.h | 147 struct proc *sc_worker; member
|
H A D | g_journal.c | 2113 sc->sc_worker = NULL; in g_journal_worker() 2114 wakeup(&sc->sc_worker); in g_journal_worker() 2249 sc->sc_worker = NULL; in g_journal_create() 2359 error = kproc_create(g_journal_worker, sc, &sc->sc_worker, 0, 0, in g_journal_create() 2422 while (sc->sc_worker != NULL) in g_journal_destroy() 2423 msleep(&sc->sc_worker, &sc->sc_mtx, PRIBIO, "gj:destroy", 0); in g_journal_destroy()
|
/freebsd/sys/geom/raid3/ |
H A D | g_raid3.c | 2029 &sc->sc_worker); in g_raid3_try_destroy() 2032 wakeup(&sc->sc_worker); in g_raid3_try_destroy() 2033 sc->sc_worker = NULL; in g_raid3_try_destroy() 3237 error = kproc_create(g_raid3_worker, sc, &sc->sc_worker, 0, 0, in g_raid3_create() 3311 G_RAID3_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker); in g_raid3_destroy() 3312 while (sc->sc_worker != NULL) in g_raid3_destroy() 3313 tsleep(&sc->sc_worker, PRIBIO, "r3:destroy", hz / 5); in g_raid3_destroy() 3314 G_RAID3_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker); in g_raid3_destroy()
|
H A D | g_raid3.h | 192 struct proc *sc_worker; member
|
/freebsd/sys/geom/raid/ |
H A D | g_raid.h | 298 struct proc *sc_worker; /* Worker process. */ member
|
H A D | g_raid.c | 1896 error = kproc_create(g_raid_worker, sc, &sc->sc_worker, 0, 0, in g_raid_create_node()
|