Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/geom/mirror/
Dg_mirror.c1873 &sc->sc_worker); in g_mirror_try_destroy()
1876 wakeup(&sc->sc_worker); in g_mirror_try_destroy()
1877 sc->sc_worker = NULL; in g_mirror_try_destroy()
3103 error = kproc_create(g_mirror_worker, sc, &sc->sc_worker, 0, 0, in g_mirror_create()
3171 G_MIRROR_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker); in g_mirror_destroy()
3172 while (sc->sc_worker != NULL) in g_mirror_destroy()
3173 tsleep(&sc->sc_worker, PRIBIO, "m:destroy", hz / 5); in g_mirror_destroy()
3174 G_MIRROR_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker); in g_mirror_destroy()
Dg_mirror.h202 struct proc *sc_worker; member
/freebsd-12-stable/sys/geom/raid3/
Dg_raid3.c2001 &sc->sc_worker); in g_raid3_try_destroy()
2004 wakeup(&sc->sc_worker); in g_raid3_try_destroy()
2005 sc->sc_worker = NULL; in g_raid3_try_destroy()
3197 error = kproc_create(g_raid3_worker, sc, &sc->sc_worker, 0, 0, in g_raid3_create()
3281 G_RAID3_DEBUG(4, "%s: Sleeping %p.", __func__, &sc->sc_worker); in g_raid3_destroy()
3282 while (sc->sc_worker != NULL) in g_raid3_destroy()
3283 tsleep(&sc->sc_worker, PRIBIO, "r3:destroy", hz / 5); in g_raid3_destroy()
3284 G_RAID3_DEBUG(4, "%s: Woken up %p.", __func__, &sc->sc_worker); in g_raid3_destroy()
Dg_raid3.h212 struct proc *sc_worker; member
/freebsd-12-stable/sys/geom/journal/
Dg_journal.h167 struct proc *sc_worker; member
Dg_journal.c2107 sc->sc_worker = NULL; in g_journal_worker()
2108 wakeup(&sc->sc_worker); in g_journal_worker()
2243 sc->sc_worker = NULL; in g_journal_create()
2353 error = kproc_create(g_journal_worker, sc, &sc->sc_worker, 0, 0, in g_journal_create()
2416 while (sc->sc_worker != NULL) in g_journal_destroy()
2417 msleep(&sc->sc_worker, &sc->sc_mtx, PRIBIO, "gj:destroy", 0); in g_journal_destroy()
/freebsd-12-stable/sys/geom/raid/
Dg_raid.h326 struct proc *sc_worker; /* Worker process. */ member
Dg_raid.c1897 error = kproc_create(g_raid_worker, sc, &sc->sc_worker, 0, 0, in g_raid_create_node()