| /freebsd-14.2/sys/kern/ |
| H A D | subr_disk.c | 172 TAILQ_REMOVE(&head->queue, bp, bio_queue); in bioq_remove() 193 TAILQ_INSERT_HEAD(&head->queue, bp, bio_queue); in bioq_insert_head() 202 TAILQ_INSERT_TAIL(&head->queue, bp, bio_queue); in bioq_insert_tail() 285 cur = TAILQ_NEXT(head->insert_point, bio_queue); in bioq_disksort() 290 cur = TAILQ_NEXT(cur, bio_queue); in bioq_disksort() 294 TAILQ_INSERT_HEAD(&head->queue, bp, bio_queue); in bioq_disksort() 296 TAILQ_INSERT_AFTER(&head->queue, prev, bp, bio_queue); in bioq_disksort()
|
| /freebsd-14.2/sys/powerpc/mambo/ |
| H A D | mambo_disk.c | 49 struct bio_queue_head bio_queue; member 135 bioq_init(&sc->bio_queue); in mambodisk_attach() 188 bioq_disksort(&sc->bio_queue, bp); in mambodisk_strategy() 210 bp = bioq_first(&sc->bio_queue); in mambodisk_task() 215 bioq_remove(&sc->bio_queue, bp); in mambodisk_task()
|
| /freebsd-14.2/sys/cam/scsi/ |
| H A D | scsi_pt.c | 78 struct bio_queue_head bio_queue; member 216 bioq_insert_tail(&softc->bio_queue, bp); in ptstrategy() 270 bioq_init(&softc->bio_queue); in ptctor() 339 bioq_flush(&softc->bio_queue, NULL, ENXIO); in ptoninvalidate() 430 bp = bioq_first(&softc->bio_queue); in ptstart() 434 bioq_remove(&softc->bio_queue, bp); in ptstart() 459 bp = bioq_first(&softc->bio_queue); in ptstart() 521 bioq_flush(&softc->bio_queue, NULL, EIO); in ptdone()
|
| H A D | scsi_cd.c | 165 struct bio_queue_head bio_queue; member 387 bioq_flush(&softc->bio_queue, NULL, ENXIO); in cdoninvalidate() 614 bioq_init(&softc->bio_queue); in cdregister() 873 bioq_disksort(&softc->bio_queue, bp); in cdstrategy() 903 bp = bioq_first(&softc->bio_queue); in cdstart() 924 bioq_remove(&softc->bio_queue, bp); in cdstart() 970 bp = bioq_first(&softc->bio_queue); in cdstart() 1174 bioq_flush(&softc->bio_queue, NULL, EIO); in cddone() 1449 if (bioq_first(&softc->bio_queue) != NULL) in cddone() 1579 if (bioq_first(&softc->bio_queue) != NULL) in cddone() [all …]
|
| H A D | scsi_sa.c | 384 struct bio_queue_head bio_queue; member 1051 bioq_insert_tail(&softc->bio_queue, bp); in sastrategy() 2258 bioq_flush(&softc->bio_queue, NULL, ENXIO); in saoninvalidate() 2498 bioq_init(&softc->bio_queue); in saregister() 2771 bp = bioq_first(&softc->bio_queue); in sastart() 2797 bioq_remove(&softc->bio_queue, bp); in sastart() 2837 if (bioq_first(&softc->bio_queue) != NULL) { in sastart() 2845 bp = bioq_first(&softc->bio_queue); in sastart() 2862 bioq_remove(&softc->bio_queue, bp); in sastart() 2948 bp = bioq_first(&softc->bio_queue); in sastart() [all …]
|
| /freebsd-14.2/sys/cam/ |
| H A D | cam_iosched.c | 315 struct bio_queue_head bio_queue; member 775 struct bio *rbp = bioq_first(&isc->bio_queue); in cam_iosched_has_io() 789 return bioq_first(&isc->bio_queue) != NULL; in cam_iosched_has_io() 1152 bioq_init(&(*iscp)->bio_queue); in cam_iosched_init() 1320 bioq_flush(&isc->bio_queue, stp, err); in cam_iosched_flush() 1508 bp = TAILQ_NEXT(bp, bio_queue); in bio_next() 1601 bp = bioq_first(&isc->bio_queue); in cam_iosched_next_bio() 1605 bioq_remove(&isc->bio_queue, bp); in cam_iosched_next_bio() 1708 bioq_disksort(&isc->bio_queue, bp); in cam_iosched_queue_work() 1710 bioq_insert_tail(&isc->bio_queue, bp); in cam_iosched_queue_work() [all …]
|
| /freebsd-14.2/sys/geom/ |
| H A D | geom_io.c | 121 TAILQ_INIT(&bq->bio_queue); in g_bioq_init() 130 bp = TAILQ_FIRST(&bq->bio_queue); in g_bioq_first() 135 TAILQ_REMOVE(&bq->bio_queue, bp, bio_queue); in g_bioq_first() 590 first = TAILQ_EMPTY(&g_bio_run_down.bio_queue); in g_io_request() 591 TAILQ_INSERT_TAIL(&g_bio_run_down.bio_queue, bp, bio_queue); in g_io_request() 692 first = TAILQ_EMPTY(&g_bio_run_up.bio_queue); in g_io_deliver() 693 TAILQ_INSERT_TAIL(&g_bio_run_up.bio_queue, bp, bio_queue); in g_io_deliver()
|
| /freebsd-14.2/sys/geom/mirror/ |
| H A D | g_mirror.c | 325 TAILQ_FOREACH(bp, &sc->sc_queue, bio_queue) { in g_mirror_nrequests() 1644 struct bio_queue queue; in g_mirror_request_split() 1675 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_mirror_request_split() 1683 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_mirror_request_split() 1697 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_mirror_request_split() 1713 struct bio_queue queue; in g_mirror_register_request() 1794 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_mirror_register_request() 1802 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_mirror_register_request() 1819 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_mirror_register_request() 1841 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_mirror_register_request() [all …]
|
| H A D | g_mirror.h | 185 struct bio_queue sc_queue; 188 struct bio_queue sc_inflight; /* In-flight regular write requests. */ 189 struct bio_queue sc_regular_delayed; /* Delayed I/O requests due to 191 struct bio_queue sc_sync_delayed; /* Delayed sync requests due to
|
| /freebsd-14.2/sys/sys/ |
| H A D | bio.h | 107 TAILQ_ENTRY(bio) bio_queue; /* Disksort queue. */ 142 TAILQ_HEAD(bio_queue, bio) queue;
|
| /freebsd-14.2/sys/dev/flash/ |
| H A D | at45d.c | 86 struct bio_queue_head bio_queue; member 290 bioq_flush(&sc->bio_queue, NULL, ENXIO); in at45d_detach() 381 bioq_init(&sc->bio_queue); in at45d_delayed_attach() 431 bioq_disksort(&sc->bio_queue, bp); in at45d_strategy() 467 bp = bioq_takefirst(&sc->bio_queue); in at45d_task()
|
| /freebsd-14.2/sys/geom/stripe/ |
| H A D | g_stripe.c | 321 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_stripe_start_fast() 343 cbp = TAILQ_NEXT(cbp, bio_queue); in g_stripe_start_fast() 373 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_stripe_start_fast() 398 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_stripe_start_fast() 418 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_stripe_start_fast() 448 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_stripe_start_economic() 481 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_stripe_start_economic() 513 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_stripe_start_economic() 523 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_stripe_start_economic()
|
| /freebsd-14.2/sys/geom/uzip/ |
| H A D | g_uzip_softc.h | 49 struct bio_queue_head bio_queue; member
|
| H A D | g_uzip_wrkthr.c | 60 bp = bioq_takefirst(&sc->bio_queue); in g_uzip_wrkthr()
|
| /freebsd-14.2/sys/dev/flash/flexspi/ |
| H A D | flex_spi.c | 90 struct bio_queue_head bio_queue; member 802 bioq_init(&sc->bio_queue); in flex_spi_attach() 842 bioq_flush(&sc->bio_queue, NULL, ENXIO); in flex_spi_detach() 896 bioq_disksort(&sc->bio_queue, bp); in flex_spi_strategy() 943 bp = bioq_first(&sc->bio_queue); in flex_spi_task() 948 bioq_remove(&sc->bio_queue, bp); in flex_spi_task()
|
| /freebsd-14.2/sys/dev/virtio/block/ |
| H A D | virtio_blk.c | 108 struct bio_queue vtblk_dump_queue; 178 struct bio_queue *); 180 struct bio_queue *); 1182 vtblk_queue_completed(struct vtblk_softc *sc, struct bio_queue *queue) in vtblk_queue_completed() 1211 TAILQ_INSERT_TAIL(queue, bp, bio_queue); in vtblk_queue_completed() 1218 vtblk_done_completed(struct vtblk_softc *sc, struct bio_queue *queue) in vtblk_done_completed() 1222 TAILQ_FOREACH_SAFE(bp, queue, bio_queue, tmp) { in vtblk_done_completed() 1258 struct bio_queue queue; in vtblk_drain() 1475 struct bio_queue queue; in vtblk_vq_intr()
|
| /freebsd-14.2/sys/geom/gate/ |
| H A D | g_gate.c | 376 TAILQ_FOREACH_SAFE(bp, &sc->sc_inqueue.queue, bio_queue, bp2) { in g_gate_guard() 383 TAILQ_FOREACH_SAFE(bp, &sc->sc_outqueue.queue, bio_queue, bp2) { in g_gate_guard() 811 TAILQ_FOREACH_SAFE(bp, &sc->sc_outqueue.queue, bio_queue, tbp) { in g_gate_ioctl() 824 lbp, bp, bio_queue); in g_gate_ioctl() 912 TAILQ_FOREACH(bp, &sc->sc_outqueue.queue, bio_queue) { in g_gate_ioctl()
|
| /freebsd-14.2/sys/dev/ida/ |
| H A D | ida.c | 204 bioq_init(&ida->bio_queue); in ida_setup() 487 bioq_insert_tail(&ida->bio_queue, bp); in ida_submit_buf() 505 bp = bioq_first(&ida->bio_queue); in ida_startio() 513 bioq_remove(&ida->bio_queue, bp); in ida_startio()
|
| H A D | idavar.h | 165 struct bio_queue_head bio_queue; member
|
| /freebsd-14.2/sys/cam/mmc/ |
| H A D | mmc_da.c | 105 struct bio_queue_head bio_queue; member 505 bp = bioq_first(&softc->part[softc->part_curr]->bio_queue); in sddaschedule() 509 (bp = bioq_first(&softc->part[i]->bio_queue)) != NULL) in sddaschedule() 550 bioq_disksort(&part->bio_queue, bp); in sddastrategy() 618 bioq_flush(&part->bio_queue, NULL, ENXIO); in sddaoninvalidate() 1546 bioq_init(&part->bio_queue); in sdda_add_part() 1805 bp = bioq_first(&part->bio_queue); in sddastart() 1809 (bp = bioq_first(&softc->part[part_index]->bio_queue)) != NULL) in sddastart() 1836 bioq_remove(&part->bio_queue, bp); in sddastart()
|
| /freebsd-14.2/sys/geom/mountver/ |
| H A D | g_mountver.c | 167 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mountver_queue() 181 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mountver_send_queued() 200 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mountver_discard_queued()
|
| /freebsd-14.2/sys/geom/shsec/ |
| H A D | g_shsec.c | 346 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_shsec_start() 377 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_shsec_start() 387 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_shsec_start()
|
| /freebsd-14.2/sys/dev/mmc/ |
| H A D | mmcsd.c | 105 struct bio_queue_head bio_queue; member 555 bioq_init(&part->bio_queue); in mmcsd_add_part() 689 bioq_flush(&part->bio_queue, NULL, ENXIO); in mmcsd_detach() 802 bioq_disksort(&part->bio_queue, bp); in mmcsd_strategy() 1439 bp = bioq_takefirst(&part->bio_queue); in mmcsd_task()
|
| /freebsd-14.2/sys/cam/nvme/ |
| H A D | nvme_da.c | 1093 TAILQ_INSERT_TAIL(&trim->bps, bp1, bio_queue); in ndastart() 1219 TAILQ_CONCAT(&queue, &trim->bps, bio_queue); in ndadone() 1240 TAILQ_REMOVE(&queue, bp2, bio_queue); in ndadone()
|
| /freebsd-14.2/sys/dev/md/ |
| H A D | md.c | 252 struct bio_queue_head bio_queue; member 487 bioq_disksort(&sc->bio_queue, bp); in g_md_start() 1226 bp = bioq_takefirst(&sc->bio_queue); in md_kthread() 1285 bioq_init(&sc->bio_queue); in mdnew()
|