| /freebsd-12.1/sys/geom/mountver/ |
| H A D | g_mountver.c | 141 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mountver_queue() 154 while ((bp = TAILQ_FIRST(&sc->sc_queue)) != NULL) { in g_mountver_send_queued() 155 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mountver_send_queued() 171 while ((bp = TAILQ_FIRST(&sc->sc_queue)) != NULL) { in g_mountver_discard_queued() 172 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mountver_discard_queued() 194 if (sc->sc_orphaned || !TAILQ_EMPTY(&sc->sc_queue)) { in g_mountver_start() 263 TAILQ_INIT(&sc->sc_queue); in g_mountver_create()
|
| H A D | g_mountver.h | 62 TAILQ_HEAD(, bio) sc_queue;
|
| /freebsd-12.1/sys/geom/eli/ |
| H A D | g_eli.c | 262 bioq_insert_tail(&sc->sc_queue, pbp); in g_eli_read_done() 387 bioq_insert_tail(&sc->sc_queue, bp); in g_eli_start() 485 while ((bp = bioq_takefirst(&sc->sc_queue)) != NULL) { in g_eli_cancel() 500 return (bioq_takefirst(&sc->sc_queue)); in g_eli_takefirst() 504 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) { in g_eli_takefirst() 509 bioq_remove(&sc->sc_queue, bp); in g_eli_takefirst() 775 bioq_init(&sc->sc_queue); in g_eli_create()
|
| H A D | g_eli_privacy.c | 200 bioq_insert_tail(&sc->sc_queue, bp); in g_eli_crypto_read()
|
| H A D | g_eli.h | 222 struct bio_queue_head sc_queue; member
|
| /freebsd-12.1/sys/geom/raid3/ |
| H A D | g_raid3.c | 315 wakeup(&sc->sc_queue); in g_raid3_event_send() 1269 bioq_insert_head(&sc->sc_queue, bp); in g_raid3_done() 1272 wakeup(&sc->sc_queue); in g_raid3_done() 1377 bioq_insert_head(&sc->sc_queue, bp); in g_raid3_sync_done() 1380 wakeup(&sc->sc_queue); in g_raid3_sync_done() 1563 wakeup(&sc->sc_queue); in g_raid3_regular_release() 2090 bp = bioq_first(&sc->sc_queue); in g_raid3_worker() 2119 bioq_remove(&sc->sc_queue, bp); in g_raid3_worker() 2367 bioq_remove(&sc->sc_queue, bp); in g_raid3_destroy_provider() 3153 bioq_init(&sc->sc_queue); in g_raid3_create() [all …]
|
| H A D | g_raid3.h | 210 struct bio_queue_head sc_queue; member
|
| /freebsd-12.1/sys/geom/mirror/ |
| H A D | g_mirror.c | 310 TAILQ_FOREACH(bp, &sc->sc_queue, bio_queue) { in g_mirror_nrequests() 906 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_done() 1025 TAILQ_INSERT_TAIL(&sc->sc_queue, pbp, bio_queue); in g_mirror_regular_request() 1068 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_sync_done() 1161 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mirror_start() 1951 bp = TAILQ_FIRST(&sc->sc_queue); in g_mirror_worker() 1953 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mirror_worker() 1964 if (!TAILQ_EMPTY(&sc->sc_queue)) { in g_mirror_worker() 2248 while ((bp = TAILQ_FIRST(&sc->sc_queue)) != NULL) { in g_mirror_destroy_provider() 2249 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mirror_destroy_provider() [all …]
|
| H A D | g_mirror.h | 200 struct bio_queue sc_queue; member
|
| /freebsd-12.1/sys/geom/raid/ |
| H A D | g_raid.c | 802 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) { in g_raid_nrequests() 1127 bioq_insert_tail(&sc->sc_queue, bp); in g_raid_start() 1339 bioq_insert_tail(&sc->sc_queue, bp); in g_raid_unlock_range() 1433 bioq_insert_tail(&sc->sc_queue, bp); in g_raid_disk_done() 1520 else if ((bp = bioq_takefirst(&sc->sc_queue)) != NULL) in g_raid_worker() 1602 bp = bioq_takefirst(&sc->sc_queue); in g_raid_poll() 1697 TAILQ_FOREACH_SAFE(bp, &sc->sc_queue.queue, bio_queue, tmp) { in g_raid_destroy_provider() 1700 bioq_remove(&sc->sc_queue, bp); in g_raid_destroy_provider() 1895 bioq_init(&sc->sc_queue); in g_raid_create_node()
|
| H A D | g_raid.h | 329 struct bio_queue_head sc_queue; /* Worker I/O queue. */ member
|
| /freebsd-12.1/sys/dev/ubsec/ |
| H A D | ubsecvar.h | 190 SIMPLEQ_HEAD(,ubsec_q) sc_queue; /* packet queue, mcr1 */
|
| H A D | ubsec.c | 277 SIMPLEQ_INIT(&sc->sc_queue); in ubsec_attach() 736 SIMPLEQ_FOREACH(q, &sc->sc_queue, q_next) { in ubsec_feed() 767 q = SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed() 768 SIMPLEQ_REMOVE_HEAD(&sc->sc_queue, q_next); in ubsec_feed() 778 q2 = SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed() 784 SIMPLEQ_REMOVE_HEAD(&sc->sc_queue, q_next); in ubsec_feed() 803 q = SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed() 819 SIMPLEQ_REMOVE_HEAD(&sc->sc_queue, q_next); in ubsec_feed() 1457 SIMPLEQ_INSERT_TAIL(&sc->sc_queue, q, q_next); in ubsec_process()
|