Home
last modified time | relevance | path

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

/freebsd-13.1/sys/geom/mountver/
H A Dg_mountver.c169 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mountver_queue()
182 while ((bp = TAILQ_FIRST(&sc->sc_queue)) != NULL && !sc->sc_orphaned) { in g_mountver_send_queued()
183 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mountver_send_queued()
201 while ((bp = TAILQ_FIRST(&sc->sc_queue)) != NULL) { in g_mountver_discard_queued()
202 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mountver_discard_queued()
227 if (sc->sc_orphaned || !TAILQ_EMPTY(&sc->sc_queue)) { in g_mountver_start()
299 TAILQ_INIT(&sc->sc_queue); in g_mountver_create()
H A Dg_mountver.h47 TAILQ_HEAD(, bio) sc_queue;
/freebsd-13.1/sys/geom/eli/
H A Dg_eli.c268 bioq_insert_tail(&sc->sc_queue, pbp); in g_eli_read_done()
464 bioq_insert_tail(&sc->sc_queue, bp); in g_eli_start()
578 while ((bp = bioq_takefirst(&sc->sc_queue)) != NULL) { in g_eli_cancel()
593 return (bioq_takefirst(&sc->sc_queue)); in g_eli_takefirst()
597 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) { in g_eli_takefirst()
602 bioq_remove(&sc->sc_queue, bp); in g_eli_takefirst()
881 bioq_init(&sc->sc_queue); in g_eli_create()
H A Dg_eli_privacy.c230 bioq_insert_tail(&sc->sc_queue, bp); in g_eli_crypto_read()
H A Dg_eli.h212 struct bio_queue_head sc_queue; member
/freebsd-13.1/sys/geom/raid3/
H A Dg_raid3.c315 wakeup(&sc->sc_queue); in g_raid3_event_send()
1264 bioq_insert_head(&sc->sc_queue, bp); in g_raid3_done()
1267 wakeup(&sc->sc_queue); in g_raid3_done()
1372 bioq_insert_head(&sc->sc_queue, bp); in g_raid3_sync_done()
1375 wakeup(&sc->sc_queue); in g_raid3_sync_done()
1559 wakeup(&sc->sc_queue); in g_raid3_regular_release()
2086 bp = bioq_first(&sc->sc_queue); in g_raid3_worker()
2115 bioq_remove(&sc->sc_queue, bp); in g_raid3_worker()
2363 bioq_remove(&sc->sc_queue, bp); in g_raid3_destroy_provider()
3149 bioq_init(&sc->sc_queue); in g_raid3_create()
[all …]
H A Dg_raid3.h192 struct bio_queue_head sc_queue; member
/freebsd-13.1/sys/geom/mirror/
H A Dg_mirror.c325 TAILQ_FOREACH(bp, &sc->sc_queue, bio_queue) { in g_mirror_nrequests()
918 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_done()
1053 TAILQ_INSERT_TAIL(&sc->sc_queue, pbp, bio_queue); in g_mirror_regular_request()
1097 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_sync_done()
1191 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_start()
1982 bp = TAILQ_FIRST(&sc->sc_queue); in g_mirror_worker()
1984 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mirror_worker()
1995 if (!TAILQ_EMPTY(&sc->sc_queue)) { in g_mirror_worker()
2279 while ((bp = TAILQ_FIRST(&sc->sc_queue)) != NULL) { in g_mirror_destroy_provider()
2280 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mirror_destroy_provider()
[all …]
H A Dg_mirror.h186 struct bio_queue sc_queue; member
/freebsd-13.1/sys/geom/raid/
H A Dg_raid.c804 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) { in g_raid_nrequests()
1130 bioq_insert_tail(&sc->sc_queue, bp); in g_raid_start()
1342 bioq_insert_tail(&sc->sc_queue, bp); in g_raid_unlock_range()
1436 bioq_insert_tail(&sc->sc_queue, bp); in g_raid_disk_done()
1523 else if ((bp = bioq_takefirst(&sc->sc_queue)) != NULL) in g_raid_worker()
1605 bp = bioq_takefirst(&sc->sc_queue); in g_raid_poll()
1700 TAILQ_FOREACH_SAFE(bp, &sc->sc_queue.queue, bio_queue, tmp) { in g_raid_destroy_provider()
1703 bioq_remove(&sc->sc_queue, bp); in g_raid_destroy_provider()
1898 bioq_init(&sc->sc_queue); in g_raid_create_node()
H A Dg_raid.h303 struct bio_queue_head sc_queue; /* Worker I/O queue. */ member