Home
last modified time | relevance | path

Searched refs:bio_queue (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-13.1/sys/kern/
H A Dsubr_disk.c174 TAILQ_REMOVE(&head->queue, bp, bio_queue); in bioq_remove()
195 TAILQ_INSERT_HEAD(&head->queue, bp, bio_queue); in bioq_insert_head()
204 TAILQ_INSERT_TAIL(&head->queue, bp, bio_queue); in bioq_insert_tail()
287 cur = TAILQ_NEXT(head->insert_point, bio_queue); in bioq_disksort()
292 cur = TAILQ_NEXT(cur, bio_queue); in bioq_disksort()
296 TAILQ_INSERT_HEAD(&head->queue, bp, bio_queue); in bioq_disksort()
298 TAILQ_INSERT_AFTER(&head->queue, prev, bp, bio_queue); in bioq_disksort()
/freebsd-13.1/sys/powerpc/mambo/
H A Dmambo_disk.c51 struct bio_queue_head bio_queue; member
137 bioq_init(&sc->bio_queue); in mambodisk_attach()
190 bioq_disksort(&sc->bio_queue, bp); in mambodisk_strategy()
212 bp = bioq_first(&sc->bio_queue); in mambodisk_task()
217 bioq_remove(&sc->bio_queue, bp); in mambodisk_task()
/freebsd-13.1/sys/cam/scsi/
H A Dscsi_pt.c80 struct bio_queue_head bio_queue; member
219 bioq_insert_tail(&softc->bio_queue, bp); in ptstrategy()
273 bioq_init(&softc->bio_queue); in ptctor()
342 bioq_flush(&softc->bio_queue, NULL, ENXIO); in ptoninvalidate()
433 bp = bioq_first(&softc->bio_queue); in ptstart()
437 bioq_remove(&softc->bio_queue, bp); in ptstart()
462 bp = bioq_first(&softc->bio_queue); in ptstart()
524 bioq_flush(&softc->bio_queue, NULL, EIO); in ptdone()
H A Dscsi_cd.c168 struct bio_queue_head bio_queue; member
394 bioq_flush(&softc->bio_queue, NULL, ENXIO); in cdoninvalidate()
621 bioq_init(&softc->bio_queue); in cdregister()
891 bioq_disksort(&softc->bio_queue, bp); in cdstrategy()
921 bp = bioq_first(&softc->bio_queue); in cdstart()
942 bioq_remove(&softc->bio_queue, bp); in cdstart()
988 bp = bioq_first(&softc->bio_queue); in cdstart()
1192 bioq_flush(&softc->bio_queue, NULL, EIO); in cddone()
1457 if (bioq_first(&softc->bio_queue) != NULL) in cddone()
1587 if (bioq_first(&softc->bio_queue) != NULL) in cddone()
[all …]
H A Dscsi_sa.c386 struct bio_queue_head bio_queue; member
1054 bioq_insert_tail(&softc->bio_queue, bp); in sastrategy()
2257 bioq_flush(&softc->bio_queue, NULL, ENXIO); in saoninvalidate()
2497 bioq_init(&softc->bio_queue); in saregister()
2769 bp = bioq_first(&softc->bio_queue); in sastart()
2795 bioq_remove(&softc->bio_queue, bp); in sastart()
2835 if (bioq_first(&softc->bio_queue) != NULL) { in sastart()
2843 bp = bioq_first(&softc->bio_queue); in sastart()
2860 bioq_remove(&softc->bio_queue, bp); in sastart()
2946 bp = bioq_first(&softc->bio_queue); in sastart()
[all …]
/freebsd-13.1/sys/geom/
H A Dgeom_io.c119 TAILQ_INIT(&bq->bio_queue); in g_bioq_init()
128 bp = TAILQ_FIRST(&bq->bio_queue); in g_bioq_first()
133 TAILQ_REMOVE(&bq->bio_queue, bp, bio_queue); in g_bioq_first()
588 first = TAILQ_EMPTY(&g_bio_run_down.bio_queue); in g_io_request()
589 TAILQ_INSERT_TAIL(&g_bio_run_down.bio_queue, bp, bio_queue); in g_io_request()
690 first = TAILQ_EMPTY(&g_bio_run_up.bio_queue); in g_io_deliver()
691 TAILQ_INSERT_TAIL(&g_bio_run_up.bio_queue, bp, bio_queue); in g_io_deliver()
H A Dgeom.h165 TAILQ_HEAD(, bio) bio_queue;
/freebsd-13.1/sys/cam/
H A Dcam_iosched.c272 struct bio_queue_head bio_queue; member
732 struct bio *rbp = bioq_first(&isc->bio_queue); in cam_iosched_has_io()
746 return bioq_first(&isc->bio_queue) != NULL; in cam_iosched_has_io()
1109 bioq_init(&(*iscp)->bio_queue); in cam_iosched_init()
1277 bioq_flush(&isc->bio_queue, stp, err); in cam_iosched_flush()
1311 if (bioq_first(&isc->bio_queue) && isc->current_read_bias) { in cam_iosched_get_write()
1495 if ((bp = bioq_first(&isc->bio_queue)) == NULL) in cam_iosched_next_bio()
1512 bioq_remove(&isc->bio_queue, bp); in cam_iosched_next_bio()
1611 bioq_disksort(&isc->bio_queue, bp); in cam_iosched_queue_work()
1613 bioq_insert_tail(&isc->bio_queue, bp); in cam_iosched_queue_work()
[all …]
/freebsd-13.1/sys/geom/mirror/
H A Dg_mirror.c325 TAILQ_FOREACH(bp, &sc->sc_queue, bio_queue) { in g_mirror_nrequests()
1616 struct bio_queue queue; in g_mirror_request_split()
1647 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_mirror_request_split()
1655 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_mirror_request_split()
1669 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_mirror_request_split()
1685 struct bio_queue queue; in g_mirror_register_request()
1766 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_mirror_register_request()
1774 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_mirror_register_request()
1791 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_mirror_register_request()
1813 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_mirror_register_request()
[all …]
H A Dg_mirror.h186 struct bio_queue sc_queue;
189 struct bio_queue sc_inflight; /* In-flight regular write requests. */
190 struct bio_queue sc_regular_delayed; /* Delayed I/O requests due to
192 struct bio_queue sc_sync_delayed; /* Delayed sync requests due to
/freebsd-13.1/sys/sys/
H A Dbio.h107 TAILQ_ENTRY(bio) bio_queue; /* Disksort queue. */
142 TAILQ_HEAD(bio_queue, bio) queue;
/freebsd-13.1/sys/dev/flash/
H A Dat45d.c88 struct bio_queue_head bio_queue; member
292 bioq_flush(&sc->bio_queue, NULL, ENXIO); in at45d_detach()
383 bioq_init(&sc->bio_queue); in at45d_delayed_attach()
433 bioq_disksort(&sc->bio_queue, bp); in at45d_strategy()
469 bp = bioq_takefirst(&sc->bio_queue); in at45d_task()
/freebsd-13.1/sys/geom/stripe/
H A Dg_stripe.c323 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_stripe_start_fast()
345 cbp = TAILQ_NEXT(cbp, bio_queue); in g_stripe_start_fast()
375 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_stripe_start_fast()
400 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_stripe_start_fast()
420 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_stripe_start_fast()
450 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_stripe_start_economic()
483 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_stripe_start_economic()
515 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_stripe_start_economic()
525 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_stripe_start_economic()
/freebsd-13.1/sys/dev/virtio/block/
H A Dvirtio_blk.c99 struct bio_queue vtblk_dump_queue;
168 struct bio_queue *);
170 struct bio_queue *);
1029 vtblk_queue_completed(struct vtblk_softc *sc, struct bio_queue *queue) in vtblk_queue_completed()
1042 TAILQ_INSERT_TAIL(queue, bp, bio_queue); in vtblk_queue_completed()
1049 vtblk_done_completed(struct vtblk_softc *sc, struct bio_queue *queue) in vtblk_done_completed()
1053 TAILQ_FOREACH_SAFE(bp, queue, bio_queue, tmp) { in vtblk_done_completed()
1089 struct bio_queue queue; in vtblk_drain()
1305 struct bio_queue queue; in vtblk_vq_intr()
/freebsd-13.1/sys/geom/uzip/
H A Dg_uzip_softc.h51 struct bio_queue_head bio_queue; member
H A Dg_uzip_wrkthr.c62 bp = bioq_takefirst(&sc->bio_queue); in g_uzip_wrkthr()
/freebsd-13.1/sys/geom/gate/
H A Dg_gate.c379 TAILQ_FOREACH_SAFE(bp, &sc->sc_inqueue.queue, bio_queue, bp2) { in g_gate_guard()
386 TAILQ_FOREACH_SAFE(bp, &sc->sc_outqueue.queue, bio_queue, bp2) { in g_gate_guard()
816 TAILQ_FOREACH_SAFE(bp, &sc->sc_outqueue.queue, bio_queue, tbp) { in g_gate_ioctl()
829 lbp, bp, bio_queue); in g_gate_ioctl()
917 TAILQ_FOREACH(bp, &sc->sc_outqueue.queue, bio_queue) { in g_gate_ioctl()
/freebsd-13.1/sys/dev/ida/
H A Dida.c206 bioq_init(&ida->bio_queue); in ida_setup()
489 bioq_insert_tail(&ida->bio_queue, bp); in ida_submit_buf()
507 bp = bioq_first(&ida->bio_queue); in ida_startio()
515 bioq_remove(&ida->bio_queue, bp); in ida_startio()
H A Didavar.h167 struct bio_queue_head bio_queue; member
/freebsd-13.1/sys/cam/mmc/
H A Dmmc_da.c105 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()
1543 bioq_init(&part->bio_queue); in sdda_add_part()
1799 bp = bioq_first(&part->bio_queue); in sddastart()
1803 (bp = bioq_first(&softc->part[part_index]->bio_queue)) != NULL) in sddastart()
1830 bioq_remove(&part->bio_queue, bp); in sddastart()
/freebsd-13.1/sys/geom/mountver/
H A Dg_mountver.c169 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue); in g_mountver_queue()
183 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mountver_send_queued()
202 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue); in g_mountver_discard_queued()
/freebsd-13.1/sys/geom/shsec/
H A Dg_shsec.c350 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue); in g_shsec_start()
381 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_shsec_start()
391 TAILQ_REMOVE(&queue, cbp, bio_queue); in g_shsec_start()
/freebsd-13.1/sys/dev/mmc/
H A Dmmcsd.c112 struct bio_queue_head bio_queue; member
563 bioq_init(&part->bio_queue); in mmcsd_add_part()
697 bioq_flush(&part->bio_queue, NULL, ENXIO); in mmcsd_detach()
810 bioq_disksort(&part->bio_queue, bp); in mmcsd_strategy()
1448 bp = bioq_takefirst(&part->bio_queue); in mmcsd_task()
/freebsd-13.1/sys/cam/nvme/
H A Dnvme_da.c1096 TAILQ_INSERT_TAIL(&trim->bps, bp1, bio_queue); in ndastart()
1222 TAILQ_CONCAT(&queue, &trim->bps, bio_queue); in ndadone()
1243 TAILQ_REMOVE(&queue, bp2, bio_queue); in ndadone()
/freebsd-13.1/sys/dev/md/
H A Dmd.c246 struct bio_queue_head bio_queue; member
479 bioq_disksort(&sc->bio_queue, bp); in g_md_start()
1227 bp = bioq_takefirst(&sc->bio_queue); in md_kthread()
1286 bioq_init(&sc->bio_queue); in mdnew()

12