Searched refs:sc_worker (Results 1 - 8 of 8) sorted by relevance

/freebsd-11.0-release/sys/geom/journal/
H A Dg_journal.h165 struct proc *sc_worker; member in struct:g_journal_softc
H A Dg_journal.c2152 sc->sc_worker = NULL;
2153 wakeup(&sc->sc_worker);
2288 sc->sc_worker = NULL;
2394 error = kproc_create(g_journal_worker, sc, &sc->sc_worker, 0, 0,
2457 while (sc->sc_worker != NULL)
2458 msleep(&sc->sc_worker, &sc->sc_mtx, PRIBIO, "gj:destroy", 0);
/freebsd-11.0-release/sys/geom/mirror/
H A Dg_mirror.h188 struct proc *sc_worker; member in struct:g_mirror_softc
H A Dg_mirror.c1780 &sc->sc_worker);
1783 wakeup(&sc->sc_worker);
1784 sc->sc_worker = NULL;
2965 error = kproc_create(g_mirror_worker, sc, &sc->sc_worker, 0, 0,
3047 G_MIRROR_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker);
3048 while (sc->sc_worker != NULL)
3049 tsleep(&sc->sc_worker, PRIBIO, "m:destroy", hz / 5);
3050 G_MIRROR_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker);
/freebsd-11.0-release/sys/geom/raid/
H A Dg_raid.h324 struct proc *sc_worker; /* Worker process. */ member in struct:g_raid_softc
H A Dg_raid.c1901 error = kproc_create(g_raid_worker, sc, &sc->sc_worker, 0, 0,
/freebsd-11.0-release/sys/geom/raid3/
H A Dg_raid3.h210 struct proc *sc_worker; member in struct:g_raid3_softc
H A Dg_raid3.c1999 &sc->sc_worker);
2002 wakeup(&sc->sc_worker);
2003 sc->sc_worker = NULL;
3196 error = kproc_create(g_raid3_worker, sc, &sc->sc_worker, 0, 0,
3280 G_RAID3_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker);
3281 while (sc->sc_worker != NULL)
3282 tsleep(&sc->sc_worker, PRIBIO, "r3:destroy", hz / 5);
3283 G_RAID3_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker);

Completed in 124 milliseconds