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

/freebsd-13-stable/sys/geom/journal/
H A Dg_journal.h149 struct proc *sc_worker; member in struct:g_journal_softc
H A Dg_journal.c2115 sc->sc_worker = NULL;
2116 wakeup(&sc->sc_worker);
2251 sc->sc_worker = NULL;
2361 error = kproc_create(g_journal_worker, sc, &sc->sc_worker, 0, 0,
2424 while (sc->sc_worker != NULL)
2425 msleep(&sc->sc_worker, &sc->sc_mtx, PRIBIO, "gj:destroy", 0);
/freebsd-13-stable/sys/geom/mirror/
H A Dg_mirror.h188 struct proc *sc_worker; member in struct:g_mirror_softc
H A Dg_mirror.c1891 &sc->sc_worker);
1894 wakeup(&sc->sc_worker);
1895 sc->sc_worker = NULL;
3162 error = kproc_create(g_mirror_worker, sc, &sc->sc_worker, 0, 0,
3233 G_MIRROR_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker);
3234 while (sc->sc_worker != NULL)
3235 tsleep(&sc->sc_worker, PRIBIO, "m:destroy", hz / 5);
3236 G_MIRROR_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker);
/freebsd-13-stable/sys/geom/raid/
H A Dg_raid.h300 struct proc *sc_worker; /* Worker process. */ member in struct:g_raid_softc
H A Dg_raid.c1900 error = kproc_create(g_raid_worker, sc, &sc->sc_worker, 0, 0,
/freebsd-13-stable/sys/geom/raid3/
H A Dg_raid3.h194 struct proc *sc_worker; member in struct:g_raid3_softc
H A Dg_raid3.c2002 &sc->sc_worker);
2005 wakeup(&sc->sc_worker);
2006 sc->sc_worker = NULL;
3198 error = kproc_create(g_raid3_worker, sc, &sc->sc_worker, 0, 0,
3282 G_RAID3_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker);
3283 while (sc->sc_worker != NULL)
3284 tsleep(&sc->sc_worker, PRIBIO, "r3:destroy", hz / 5);
3285 G_RAID3_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker);

Completed in 140 milliseconds