Searched refs:bio_queue (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-11.0-release/sys/geom/uzip/
H A Dg_uzip_softc.h51 struct bio_queue_head bio_queue; member in struct:g_uzip_softc
H A Dg_uzip_wrkthr.c62 bp = bioq_takefirst(&sc->bio_queue);
/freebsd-11.0-release/sys/kern/
H A Dsubr_disk.c165 TAILQ_REMOVE(&head->queue, bp, bio_queue);
183 TAILQ_INSERT_HEAD(&head->queue, bp, bio_queue);
190 TAILQ_INSERT_TAIL(&head->queue, bp, bio_queue);
255 cur = TAILQ_NEXT(head->insert_point, bio_queue);
260 cur = TAILQ_NEXT(cur, bio_queue);
264 TAILQ_INSERT_HEAD(&head->queue, bp, bio_queue);
266 TAILQ_INSERT_AFTER(&head->queue, prev, bp, bio_queue);
/freebsd-11.0-release/sys/powerpc/mambo/
H A Dmambo_disk.c49 struct bio_queue_head bio_queue; member in struct:mambodisk_softc
135 bioq_init(&sc->bio_queue);
188 bioq_disksort(&sc->bio_queue, bp);
210 bp = bioq_first(&sc->bio_queue);
215 bioq_remove(&sc->bio_queue, bp);
/freebsd-11.0-release/sys/cam/scsi/
H A Dscsi_pt.c78 struct bio_queue_head bio_queue; member in struct:pt_softc
218 bioq_insert_tail(&softc->bio_queue, bp);
272 bioq_init(&softc->bio_queue);
344 bioq_flush(&softc->bio_queue, NULL, ENXIO);
435 bp = bioq_first(&softc->bio_queue);
439 bioq_remove(&softc->bio_queue, bp);
464 bp = bioq_first(&softc->bio_queue);
526 bioq_flush(&softc->bio_queue, NULL, EIO);
H A Dscsi_sa.c326 struct bio_queue_head bio_queue; member in struct:sa_softc
991 bioq_insert_tail(&softc->bio_queue, bp);
2196 bioq_flush(&softc->bio_queue, NULL, ENXIO);
2369 bioq_init(&softc->bio_queue);
2588 bp = bioq_first(&softc->bio_queue);
2595 bioq_remove(&softc->bio_queue, bp);
2635 if (bioq_first(&softc->bio_queue) != NULL) {
2643 bp = bioq_first(&softc->bio_queue);
2660 bioq_remove(&softc->bio_queue, bp);
2738 bp = bioq_first(&softc->bio_queue);
[all...]
H A Dscsi_cd.c145 struct bio_queue_head bio_queue; member in struct:cd_softc
348 bioq_flush(&softc->bio_queue, NULL, ENXIO);
569 bioq_init(&softc->bio_queue);
854 bioq_disksort(&softc->bio_queue, bp);
877 bp = bioq_first(&softc->bio_queue);
898 bioq_remove(&softc->bio_queue, bp);
938 bp = bioq_first(&softc->bio_queue);
1016 bioq_flush(&softc->bio_queue, NULL, EIO);
/freebsd-11.0-release/sys/sys/
H A Dbio.h101 TAILQ_ENTRY(bio) bio_queue; /* Disksort queue. */ member in struct:bio
133 TAILQ_HEAD(bio_queue, bio) queue;
/freebsd-11.0-release/sys/riscv/htif/
H A Dhtif_block.c90 struct bio_queue_head bio_queue; member in struct:htif_blk_softc
173 bioq_init(&sc->bio_queue);
213 bp = bioq_takefirst(&sc->bio_queue);
275 bioq_disksort(&sc->bio_queue, bp);
/freebsd-11.0-release/sys/geom/
H A Dgeom_io.c125 TAILQ_INIT(&bq->bio_queue);
134 bp = TAILQ_FIRST(&bq->bio_queue);
139 TAILQ_REMOVE(&bq->bio_queue, bp, bio_queue);
629 first = TAILQ_EMPTY(&g_bio_run_down.bio_queue);
630 TAILQ_INSERT_TAIL(&g_bio_run_down.bio_queue, bp, bio_queue);
732 first = TAILQ_EMPTY(&g_bio_run_up.bio_queue);
733 TAILQ_INSERT_TAIL(&g_bio_run_up.bio_queue, bp, bio_queue);
[all...]
H A Dgeom_fox.c118 TAILQ_REMOVE(&sc->queue, bp, bio_queue);
155 TAILQ_REMOVE(&sc->queue, bp, bio_queue);
227 TAILQ_INSERT_TAIL(&sc->queue, bp, bio_queue);
272 bio_queue);
H A Dgeom.h161 TAILQ_HEAD(, bio) bio_queue; member in struct:g_bioq
/freebsd-11.0-release/sys/cam/
H A Dcam_iosched.c252 struct bio_queue_head bio_queue; member in struct:cam_iosched_softc
648 struct bio *rbp = bioq_first(&isc->bio_queue);
662 return bioq_first(&isc->bio_queue) != NULL;
958 bioq_init(&(*iscp)->bio_queue);
1065 bioq_flush(&isc->bio_queue, stp, err);
1099 if (bioq_first(&isc->bio_queue) && isc->current_read_bias) {
1222 if ((bp = bioq_first(&isc->bio_queue)) == NULL)
1227 * For the netflix scheduler, bio_queue is only for reads, so enforce
1236 bioq_remove(&isc->bio_queue, bp);
1291 bioq_disksort(&isc->bio_queue, b
[all...]
/freebsd-11.0-release/sys/dev/flash/
H A Dat45d.c60 struct bio_queue_head bio_queue; member in struct:at45d_softc
264 bioq_init(&sc->bio_queue);
295 bioq_disksort(&sc->bio_queue, bp);
325 bp = bioq_takefirst(&sc->bio_queue);
/freebsd-11.0-release/sys/dev/mmc/
H A Dmmcsd.c87 struct bio_queue_head bio_queue; member in struct:mmcsd_softc
205 bioq_init(&sc->bio_queue);
234 bioq_flush(&sc->bio_queue, NULL, ENXIO);
301 bioq_disksort(&sc->bio_queue, bp);
519 bp = bioq_takefirst(&sc->bio_queue);
/freebsd-11.0-release/sys/dev/virtio/block/
H A Dvirtio_blk.c98 struct bio_queue vtblk_dump_queue;
163 struct bio_queue *);
165 struct bio_queue *);
966 vtblk_queue_completed(struct vtblk_softc *sc, struct bio_queue *queue)
979 TAILQ_INSERT_TAIL(queue, bp, bio_queue);
986 vtblk_done_completed(struct vtblk_softc *sc, struct bio_queue *queue)
990 TAILQ_FOREACH_SAFE(bp, queue, bio_queue, tmp) {
1019 struct bio_queue queue;
1219 struct bio_queue queue;
/freebsd-11.0-release/sys/geom/stripe/
H A Dg_stripe.c325 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
347 cbp = TAILQ_NEXT(cbp, bio_queue);
377 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
402 TAILQ_REMOVE(&queue, cbp, bio_queue);
422 TAILQ_REMOVE(&queue, cbp, bio_queue);
452 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
485 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
517 TAILQ_REMOVE(&queue, cbp, bio_queue);
527 TAILQ_REMOVE(&queue, cbp, bio_queue);
/freebsd-11.0-release/sys/dev/ida/
H A Didavar.h165 struct bio_queue_head bio_queue; member in struct:ida_softc
H A Dida.c204 bioq_init(&ida->bio_queue);
487 bioq_insert_tail(&ida->bio_queue, bp);
505 bp = bioq_first(&ida->bio_queue);
513 bioq_remove(&ida->bio_queue, bp);
/freebsd-11.0-release/sys/geom/gate/
H A Dg_gate.c347 TAILQ_FOREACH_SAFE(bp, &sc->sc_inqueue.queue, bio_queue, bp2) {
354 TAILQ_FOREACH_SAFE(bp, &sc->sc_outqueue.queue, bio_queue, bp2) {
766 TAILQ_FOREACH_SAFE(bp, &sc->sc_outqueue.queue, bio_queue, tbp) {
779 lbp, bp, bio_queue);
867 TAILQ_FOREACH(bp, &sc->sc_outqueue.queue, bio_queue) {
/freebsd-11.0-release/sys/geom/mountver/
H A Dg_mountver.c139 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue);
153 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue);
170 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue);
/freebsd-11.0-release/sys/geom/shsec/
H A Dg_shsec.c347 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
376 TAILQ_REMOVE(&queue, cbp, bio_queue);
386 TAILQ_REMOVE(&queue, cbp, bio_queue);
/freebsd-11.0-release/sys/dev/md/
H A Dmd.c199 struct bio_queue_head bio_queue; member in struct:md_s
434 bioq_disksort(&sc->bio_queue, bp);
1139 bp = bioq_takefirst(&sc->bio_queue);
1199 bioq_init(&sc->bio_queue);
/freebsd-11.0-release/sys/geom/sched/
H A Dgs_rr.c232 TAILQ_FOREACH(bp, &(qp->q_bioq.queue), bio_queue) {
/freebsd-11.0-release/sys/cam/nvme/
H A Dnvme_da.c1028 TAILQ_CONCAT(&queue, &softc->trim_req.bps, bio_queue);
1036 TAILQ_REMOVE(&queue, bp1, bio_queue);

Completed in 273 milliseconds

12