Home
last modified time | relevance | path

Searched refs:sc_queue (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/geom/mountver/
H A Dg_mountver.c167 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mountver_queue()
180 while ((bp = TAILQ_FIRST(&sc->sc_queue)) != NULL && !sc->sc_orphaned) { in g_mountver_send_queued()
181 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mountver_send_queued()
199 while ((bp = TAILQ_FIRST(&sc->sc_queue)) != NULL) { in g_mountver_discard_queued()
200 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mountver_discard_queued()
225 if (sc->sc_orphaned || !TAILQ_EMPTY(&sc->sc_queue)) { in g_mountver_start()
297 TAILQ_INIT(&sc->sc_queue); in g_mountver_create()
H A Dg_mountver.h45 TAILQ_HEAD(, bio) sc_queue;
/freebsd/sys/geom/raid3/
H A Dg_raid3.c317 wakeup(&sc->sc_queue); in g_raid3_event_dispatch()
419 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) { in g_raid3_nrequests()
1296 bioq_insert_head(&sc->sc_queue, bp); in g_raid3_done()
1299 wakeup(&sc->sc_queue); in g_raid3_done()
1404 bioq_insert_head(&sc->sc_queue, bp); in g_raid3_sync_done()
1407 wakeup(&sc->sc_queue); in g_raid3_sync_done()
1485 bioq_insert_tail(&sc->sc_queue, bp); in g_raid3_start()
1585 bioq_insert_head(&sc->sc_queue, bp); in g_raid3_regular_release()
1591 wakeup(&sc->sc_queue); in g_raid3_regular_release()
2116 bp = bioq_first(&sc->sc_queue); in g_raid3_worker()
[all...]
H A Dg_raid3.h190 struct bio_queue_head sc_queue; member
/freebsd/sys/geom/eli/
H A Dg_eli.c313 bioq_insert_tail(&sc->sc_queue, pbp); in g_eli_read_done()
509 bioq_insert_tail(&sc->sc_queue, bp); in g_eli_start()
623 while ((bp = bioq_takefirst(&sc->sc_queue)) != NULL) { in g_eli_cancel()
638 return (bioq_takefirst(&sc->sc_queue)); in g_eli_takefirst()
642 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) { in g_eli_takefirst()
647 bioq_remove(&sc->sc_queue, bp); in g_eli_takefirst()
1046 bioq_init(&sc->sc_queue); in g_eli_create()
H A Dg_eli_privacy.c223 bioq_insert_tail(&sc->sc_queue, bp); in g_eli_crypto_read()
H A Dg_eli.h218 struct bio_queue_head sc_queue; member
/freebsd/sys/geom/mirror/
H A Dg_mirror.c324 TAILQ_FOREACH(bp, &sc->sc_queue, bio_queue) { in g_mirror_nrequests()
921 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_done()
1056 TAILQ_INSERT_TAIL(&sc->sc_queue, pbp, bio_queue); in g_mirror_regular_request()
1100 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_sync_done()
1218 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_start()
1316 TAILQ_CONCAT(&sc->sc_regular_delayed, &sc->sc_queue, bio_queue); in g_mirror_regular_release()
1317 TAILQ_SWAP(&sc->sc_regular_delayed, &sc->sc_queue, bio, bio_queue); in g_mirror_regular_release()
2009 bp = TAILQ_FIRST(&sc->sc_queue); in g_mirror_worker()
2011 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mirror_worker()
2022 if (!TAILQ_EMPTY(&sc->sc_queue)) { in g_mirror_worker()
[all …]
H A Dg_mirror.h185 struct bio_queue sc_queue; member
/freebsd/sys/geom/raid/
H A Dg_raid.c804 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) { in g_raid_nrequests()
1128 bioq_insert_tail(&sc->sc_queue, bp); in g_raid_start()
1340 bioq_insert_tail(&sc->sc_queue, bp); in g_raid_unlock_range()
1432 bioq_insert_tail(&sc->sc_queue, bp); in g_raid_disk_done()
1519 else if ((bp = bioq_takefirst(&sc->sc_queue)) != NULL) in g_raid_worker()
1601 bp = bioq_takefirst(&sc->sc_queue); in g_raid_poll()
1696 TAILQ_FOREACH_SAFE(bp, &sc->sc_queue.queue, bio_queue, tmp) { in g_raid_destroy_provider()
1699 bioq_remove(&sc->sc_queue, bp); in g_raid_destroy_provider()
1894 bioq_init(&sc->sc_queue); in g_raid_create_node()
H A Dg_raid.h301 struct bio_queue_head sc_queue; /* Worker I/O queue. */ member