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

12

/freebsd-11-stable/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-stable/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);
266 cur = TAILQ_NEXT(head->insert_point, bio_queue);
271 cur = TAILQ_NEXT(cur, bio_queue);
275 TAILQ_INSERT_HEAD(&head->queue, bp, bio_queue);
277 TAILQ_INSERT_AFTER(&head->queue, prev, bp, bio_queue);
/freebsd-11-stable/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-stable/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-stable/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);
341 bioq_flush(&softc->bio_queue, NULL, ENXIO);
432 bp = bioq_first(&softc->bio_queue);
436 bioq_remove(&softc->bio_queue, bp);
461 bp = bioq_first(&softc->bio_queue);
523 bioq_flush(&softc->bio_queue, NULL, EIO);
H A Dscsi_cd.c159 struct bio_queue_head bio_queue; member in struct:cd_softc
367 bioq_flush(&softc->bio_queue, NULL, ENXIO);
588 bioq_init(&softc->bio_queue);
855 bioq_disksort(&softc->bio_queue, bp);
884 bp = bioq_first(&softc->bio_queue);
905 bioq_remove(&softc->bio_queue, bp);
944 bp = bioq_first(&softc->bio_queue);
1148 bioq_flush(&softc->bio_queue, NULL, EIO);
1423 if (bioq_first(&softc->bio_queue) != NULL)
1481 bioq_flush(&softc->bio_queue, NUL
[all...]
/freebsd-11-stable/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-stable/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.c120 TAILQ_REMOVE(&sc->queue, bp, bio_queue);
157 TAILQ_REMOVE(&sc->queue, bp, bio_queue);
229 TAILQ_INSERT_TAIL(&sc->queue, bp, bio_queue);
274 bio_queue);
H A Dgeom.h163 TAILQ_HEAD(, bio) bio_queue; member in struct:g_bioq
/freebsd-11-stable/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;
979 bioq_init(&(*iscp)->bio_queue);
1086 bioq_flush(&isc->bio_queue, stp, err);
1120 if (bioq_first(&isc->bio_queue) && isc->current_read_bias) {
1243 if ((bp = bioq_first(&isc->bio_queue)) == NULL)
1248 * For the netflix scheduler, bio_queue is only for reads, so enforce
1257 bioq_remove(&isc->bio_queue, bp);
1312 bioq_disksort(&isc->bio_queue, b
[all...]
/freebsd-11-stable/sys/geom/mirror/
H A Dg_mirror.h198 struct bio_queue sc_queue;
201 struct bio_queue sc_inflight; /* In-flight regular write requests. */
202 struct bio_queue sc_regular_delayed; /* Delayed I/O requests due to
204 struct bio_queue sc_sync_delayed; /* Delayed sync requests due to
H A Dg_mirror.c309 TAILQ_FOREACH(bp, &sc->sc_queue, bio_queue) {
905 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue);
992 TAILQ_REMOVE(&sc->sc_inflight, pbp, bio_queue);
1024 TAILQ_INSERT_TAIL(&sc->sc_queue, pbp, bio_queue);
1046 TAILQ_REMOVE(&sc->sc_inflight, pbp, bio_queue);
1067 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue);
1161 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue);
1213 TAILQ_FOREACH(bp, &sc->sc_inflight, bio_queue) {
1230 TAILQ_INSERT_TAIL(&sc->sc_regular_delayed, bp, bio_queue);
1241 TAILQ_INSERT_TAIL(&sc->sc_sync_delayed, bp, bio_queue);
[all...]
/freebsd-11-stable/sys/dev/flash/
H A Dat45d.c87 struct bio_queue_head bio_queue; member in struct:at45d_softc
291 bioq_flush(&sc->bio_queue, NULL, ENXIO);
382 bioq_init(&sc->bio_queue);
432 bioq_disksort(&sc->bio_queue, bp);
468 bp = bioq_takefirst(&sc->bio_queue);
/freebsd-11-stable/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-stable/sys/geom/stripe/
H A Dg_stripe.c324 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
346 cbp = TAILQ_NEXT(cbp, bio_queue);
376 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
401 TAILQ_REMOVE(&queue, cbp, bio_queue);
421 TAILQ_REMOVE(&queue, cbp, bio_queue);
451 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
484 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
516 TAILQ_REMOVE(&queue, cbp, bio_queue);
526 TAILQ_REMOVE(&queue, cbp, bio_queue);
/freebsd-11-stable/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-stable/sys/geom/gate/
H A Dg_gate.c376 TAILQ_FOREACH_SAFE(bp, &sc->sc_inqueue.queue, bio_queue, bp2) {
383 TAILQ_FOREACH_SAFE(bp, &sc->sc_outqueue.queue, bio_queue, bp2) {
797 TAILQ_FOREACH_SAFE(bp, &sc->sc_outqueue.queue, bio_queue, tbp) {
810 lbp, bp, bio_queue);
898 TAILQ_FOREACH(bp, &sc->sc_outqueue.queue, bio_queue) {
/freebsd-11-stable/sys/geom/mountver/
H A Dg_mountver.c167 TAILQ_INSERT_TAIL(&sc->sc_queue, bp, bio_queue);
181 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue);
200 TAILQ_REMOVE(&sc->sc_queue, bp, bio_queue);
/freebsd-11-stable/sys/geom/shsec/
H A Dg_shsec.c341 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
370 TAILQ_REMOVE(&queue, cbp, bio_queue);
380 TAILQ_REMOVE(&queue, cbp, bio_queue);
/freebsd-11-stable/sys/dev/mmc/
H A Dmmcsd.c110 struct bio_queue_head bio_queue; member in struct:mmcsd_part
560 bioq_init(&part->bio_queue);
694 bioq_flush(&part->bio_queue, NULL, ENXIO);
809 bioq_disksort(&part->bio_queue, bp);
1446 bp = bioq_takefirst(&part->bio_queue);
/freebsd-11-stable/sys/geom/sched/
H A Dgs_rr.c232 TAILQ_FOREACH(bp, &(qp->q_bioq.queue), bio_queue) {
/freebsd-11-stable/sys/dev/md/
H A Dmd.c202 struct bio_queue_head bio_queue; member in struct:md_s
437 bioq_disksort(&sc->bio_queue, bp);
1164 bp = bioq_takefirst(&sc->bio_queue);
1224 bioq_init(&sc->bio_queue);

Completed in 220 milliseconds

12