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

/freebsd-12-stable/sys/geom/journal/
H A Dg_journal.h167 struct proc *sc_worker; member in struct:g_journal_softc
H A Dg_journal.c2107 sc->sc_worker = NULL;
2108 wakeup(&sc->sc_worker);
2243 sc->sc_worker = NULL;
2353 error = kproc_create(g_journal_worker, sc, &sc->sc_worker, 0, 0,
2416 while (sc->sc_worker != NULL)
2417 msleep(&sc->sc_worker, &sc->sc_mtx, PRIBIO, "gj:destroy", 0);
/freebsd-12-stable/sys/geom/mirror/
H A Dg_mirror.h202 struct proc *sc_worker; member in struct:g_mirror_softc
H A Dg_mirror.c1863 &sc->sc_worker);
1866 wakeup(&sc->sc_worker);
1867 sc->sc_worker = NULL;
3093 error = kproc_create(g_mirror_worker, sc, &sc->sc_worker, 0, 0,
3161 G_MIRROR_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker);
3162 while (sc->sc_worker != NULL)
3163 tsleep(&sc->sc_worker, PRIBIO, "m:destroy", hz / 5);
3164 G_MIRROR_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker);
/freebsd-12-stable/sys/geom/raid/
H A Dg_raid.h326 struct proc *sc_worker; /* Worker process. */ member in struct:g_raid_softc
H A Dg_raid.c1897 error = kproc_create(g_raid_worker, sc, &sc->sc_worker, 0, 0,
/freebsd-12-stable/sys/geom/raid3/
H A Dg_raid3.h212 struct proc *sc_worker; member in struct:g_raid3_softc
H A Dg_raid3.c2001 &sc->sc_worker);
2004 wakeup(&sc->sc_worker);
2005 sc->sc_worker = NULL;
3197 error = kproc_create(g_raid3_worker, sc, &sc->sc_worker, 0, 0,
3281 G_RAID3_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker);
3282 while (sc->sc_worker != NULL)
3283 tsleep(&sc->sc_worker, PRIBIO, "r3:destroy", hz / 5);
3284 G_RAID3_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker);

Completed in 72 milliseconds