Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/sys/geom/raid3/
H A Dg_raid3.c317 wakeup(&sc->sc_queue); in g_raid3_event_dispatch()
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()
1591 wakeup(&sc->sc_queue); in g_raid3_regular_release()
2116 bp = bioq_first(&sc->sc_queue); in g_raid3_worker()
2145 bioq_remove(&sc->sc_queue, bp); in g_raid3_worker()
2395 bioq_remove(&sc->sc_queue, bp); in g_raid3_destroy_provider()
3193 bioq_init(&sc->sc_queue); in g_raid3_create()
[all …]
H A Dg_raid3.h190 struct bio_queue_head sc_queue; member
/freebsd-14.2/sys/geom/eli/
H A Dg_eli.c314 bioq_insert_tail(&sc->sc_queue, pbp); in g_eli_read_done()
510 bioq_insert_tail(&sc->sc_queue, bp); in g_eli_start()
624 while ((bp = bioq_takefirst(&sc->sc_queue)) != NULL) { in g_eli_cancel()
639 return (bioq_takefirst(&sc->sc_queue)); in g_eli_takefirst()
643 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) { in g_eli_takefirst()
648 bioq_remove(&sc->sc_queue, bp); in g_eli_takefirst()
1047 bioq_init(&sc->sc_queue); in g_eli_create()
H A Dg_eli_privacy.c224 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-14.2/sys/geom/mirror/
H A Dg_mirror.c325 TAILQ_FOREACH(bp, &sc->sc_queue, bio_queue) { in g_mirror_nrequests()
922 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_done()
1057 TAILQ_INSERT_TAIL(&sc->sc_queue, pbp, bio_queue); in g_mirror_regular_request()
1101 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_sync_done()
1219 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_start()
2010 bp = TAILQ_FIRST(&sc->sc_queue); in g_mirror_worker()
2012 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mirror_worker()
2023 if (!TAILQ_EMPTY(&sc->sc_queue)) { in g_mirror_worker()
2307 while ((bp = TAILQ_FIRST(&sc->sc_queue)) != NULL) { in g_mirror_destroy_provider()
2308 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mirror_destroy_provider()
[all …]
H A Dg_mirror.h185 struct bio_queue sc_queue; member
/freebsd-14.2/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