Searched refs:sc_queue (Results 1 – 11 of 11) sorted by relevance
/freebsd/sys/geom/mountver/ |
H A D | g_mountver.c | 167 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 D | g_mountver.h | 45 TAILQ_HEAD(, bio) sc_queue;
|
/freebsd/sys/geom/raid3/ |
H A D | g_raid3.c | 317 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 D | g_raid3.h | 190 struct bio_queue_head sc_queue; member
|
/freebsd/sys/geom/eli/ |
H A D | g_eli.c | 313 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 D | g_eli_privacy.c | 223 bioq_insert_tail(&sc->sc_queue, bp); in g_eli_crypto_read()
|
H A D | g_eli.h | 218 struct bio_queue_head sc_queue; member
|
/freebsd/sys/geom/mirror/ |
H A D | g_mirror.c | 324 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 D | g_mirror.h | 185 struct bio_queue sc_queue; member
|
/freebsd/sys/geom/raid/ |
H A D | g_raid.c | 804 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 D | g_raid.h | 301 struct bio_queue_head sc_queue; /* Worker I/O queue. */ member
|