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

/freebsd-10.1-release/sys/geom/journal/
H A Dg_journal.h165 struct proc *sc_worker; member in struct:g_journal_softc
H A Dg_journal.c2155 sc->sc_worker = NULL;
2156 wakeup(&sc->sc_worker);
2291 sc->sc_worker = NULL;
2397 error = kproc_create(g_journal_worker, sc, &sc->sc_worker, 0, 0,
2460 while (sc->sc_worker != NULL)
2461 msleep(&sc->sc_worker, &sc->sc_mtx, PRIBIO, "gj:destroy", 0);
/freebsd-10.1-release/sys/geom/mirror/
H A Dg_mirror.h188 struct proc *sc_worker; member in struct:g_mirror_softc
H A Dg_mirror.c1764 &sc->sc_worker);
1767 wakeup(&sc->sc_worker);
1768 sc->sc_worker = NULL;
2937 error = kproc_create(g_mirror_worker, sc, &sc->sc_worker, 0, 0,
3018 G_MIRROR_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker);
3019 while (sc->sc_worker != NULL)
3020 tsleep(&sc->sc_worker, PRIBIO, "m:destroy", hz / 5);
3021 G_MIRROR_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker);
/freebsd-10.1-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.c1932 error = kproc_create(g_raid_worker, sc, &sc->sc_worker, 0, 0,
/freebsd-10.1-release/sys/geom/raid3/
H A Dg_raid3.h210 struct proc *sc_worker; member in struct:g_raid3_softc
H A Dg_raid3.c2009 &sc->sc_worker);
2012 wakeup(&sc->sc_worker);
2013 sc->sc_worker = NULL;
3206 error = kproc_create(g_raid3_worker, sc, &sc->sc_worker, 0, 0,
3290 G_RAID3_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker);
3291 while (sc->sc_worker != NULL)
3292 tsleep(&sc->sc_worker, PRIBIO, "r3:destroy", hz / 5);
3293 G_RAID3_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker);

Completed in 79 milliseconds