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

12

/freebsd-10.2-release/sys/geom/sched/
H A Dsubr_disk.c124 TAILQ_REMOVE(&head->queue, bp, bio_queue);
142 TAILQ_INSERT_HEAD(&head->queue, bp, bio_queue);
149 TAILQ_INSERT_TAIL(&head->queue, bp, bio_queue);
214 cur = TAILQ_NEXT(head->insert_point, bio_queue);
219 cur = TAILQ_NEXT(cur, bio_queue);
223 TAILQ_INSERT_HEAD(&head->queue, bp, bio_queue);
225 TAILQ_INSERT_AFTER(&head->queue, prev, bp, bio_queue);
H A Dgs_rr.c232 TAILQ_FOREACH(bp, &(qp->q_bioq.queue), bio_queue) {
/freebsd-10.2-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-10.2-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-10.2-release/sys/cam/scsi/
H A Dscsi_pt.c78 struct bio_queue_head bio_queue; member in struct:pt_softc
221 bioq_insert_tail(&softc->bio_queue, bp);
273 bioq_init(&softc->bio_queue);
334 bioq_flush(&softc->bio_queue, NULL, ENXIO);
424 bp = bioq_first(&softc->bio_queue);
428 bioq_remove(&softc->bio_queue, bp);
453 bp = bioq_first(&softc->bio_queue);
515 bioq_flush(&softc->bio_queue, NULL, EIO);
H A Dscsi_da.c203 struct bio_queue_head bio_queue; member in struct:da_softc
1412 if (bioq_first(&softc->bio_queue) ||
1452 bioq_disksort(&softc->bio_queue, bp);
1454 bioq_insert_tail(&softc->bio_queue, bp);
1616 bioq_flush(&softc->bio_queue, NULL, ENXIO);
2092 bioq_init(&softc->bio_queue);
2301 bp = bioq_takefirst(&softc->bio_queue);
3000 bioq_flush(&softc->bio_queue, NULL,
3048 TAILQ_CONCAT(&queue, &softc->delete_run_queue.queue, bio_queue);
3054 TAILQ_REMOVE(&queue, bp1, bio_queue);
[all...]
H A Dscsi_sa.c326 struct bio_queue_head bio_queue; member in struct:sa_softc
997 bioq_insert_tail(&softc->bio_queue, bp);
2205 bioq_flush(&softc->bio_queue, NULL, ENXIO);
2375 bioq_init(&softc->bio_queue);
2571 bp = bioq_first(&softc->bio_queue);
2578 bioq_remove(&softc->bio_queue, bp);
2618 if (bioq_first(&softc->bio_queue) != NULL) {
2626 bp = bioq_first(&softc->bio_queue);
2643 bioq_remove(&softc->bio_queue, bp);
2721 bp = bioq_first(&softc->bio_queue);
[all...]
H A Dscsi_cd.c145 struct bio_queue_head bio_queue; member in struct:cd_softc
351 bioq_flush(&softc->bio_queue, NULL, ENXIO);
571 bioq_init(&softc->bio_queue);
856 bioq_disksort(&softc->bio_queue, bp);
879 bp = bioq_first(&softc->bio_queue);
900 bioq_remove(&softc->bio_queue, bp);
940 bp = bioq_first(&softc->bio_queue);
1018 bioq_flush(&softc->bio_queue, NULL, EIO);
/freebsd-10.2-release/sys/sys/
H A Dbio.h98 TAILQ_ENTRY(bio) bio_queue; /* Disksort queue. */ member in struct:bio
129 TAILQ_HEAD(bio_queue, bio) queue;
/freebsd-10.2-release/sys/geom/
H A Dgeom_io.c115 TAILQ_INIT(&bq->bio_queue);
124 bp = TAILQ_FIRST(&bq->bio_queue);
129 TAILQ_REMOVE(&bq->bio_queue, bp, bio_queue);
569 first = TAILQ_EMPTY(&g_bio_run_down.bio_queue);
570 TAILQ_INSERT_TAIL(&g_bio_run_down.bio_queue, bp, bio_queue);
672 first = TAILQ_EMPTY(&g_bio_run_up.bio_queue);
673 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.h160 TAILQ_HEAD(, bio) bio_queue; member in struct:g_bioq
/freebsd-10.2-release/sys/dev/flash/
H A Dat45d.c60 struct bio_queue_head bio_queue; member in struct:at45d_softc
262 bioq_init(&sc->bio_queue);
293 bioq_disksort(&sc->bio_queue, bp);
323 bp = bioq_takefirst(&sc->bio_queue);
/freebsd-10.2-release/sys/dev/mmc/
H A Dmmcsd.c86 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-10.2-release/sys/geom/stripe/
H A Dg_stripe.c328 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
350 cbp = TAILQ_NEXT(cbp, bio_queue);
380 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
405 TAILQ_REMOVE(&queue, cbp, bio_queue);
425 TAILQ_REMOVE(&queue, cbp, bio_queue);
455 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
488 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
520 TAILQ_REMOVE(&queue, cbp, bio_queue);
530 TAILQ_REMOVE(&queue, cbp, bio_queue);
/freebsd-10.2-release/sys/dev/virtio/block/
H A Dvirtio_blk.c97 struct bio_queue vtblk_dump_queue;
162 struct bio_queue *);
164 struct bio_queue *);
963 vtblk_queue_completed(struct vtblk_softc *sc, struct bio_queue *queue)
976 TAILQ_INSERT_TAIL(queue, bp, bio_queue);
983 vtblk_done_completed(struct vtblk_softc *sc, struct bio_queue *queue)
987 TAILQ_FOREACH_SAFE(bp, queue, bio_queue, tmp) {
1016 struct bio_queue queue;
1216 struct bio_queue queue;
/freebsd-10.2-release/sys/cam/ata/
H A Data_da.c131 struct bio_queue_head bio_queue; member in struct:ada_softc
726 if (bioq_first(&softc->bio_queue) ||
770 bioq_disksort(&softc->bio_queue, bp);
772 bioq_insert_tail(&softc->bio_queue, bp);
934 bioq_flush(&softc->bio_queue, NULL, ENXIO);
1185 bioq_init(&softc->bio_queue);
1470 TAILQ_INSERT_TAIL(&req->bps, bp, bio_queue);
1501 TAILQ_INSERT_TAIL(&req->bps, bp, bio_queue);
1548 bp = bioq_first(&softc->bio_queue);
1553 bioq_remove(&softc->bio_queue, b
[all...]
/freebsd-10.2-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-10.2-release/sys/geom/gate/
H A Dg_gate.c349 TAILQ_FOREACH_SAFE(bp, &sc->sc_inqueue.queue, bio_queue, bp2) {
356 TAILQ_FOREACH_SAFE(bp, &sc->sc_outqueue.queue, bio_queue, bp2) {
768 TAILQ_FOREACH_SAFE(bp, &sc->sc_outqueue.queue, bio_queue, tbp) {
781 lbp, bp, bio_queue);
869 TAILQ_FOREACH(bp, &sc->sc_outqueue.queue, bio_queue) {
/freebsd-10.2-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-10.2-release/sys/geom/shsec/
H A Dg_shsec.c349 TAILQ_INSERT_TAIL(&queue, cbp, bio_queue);
378 TAILQ_REMOVE(&queue, cbp, bio_queue);
388 TAILQ_REMOVE(&queue, cbp, bio_queue);
/freebsd-10.2-release/sys/dev/md/
H A Dmd.c190 struct bio_queue_head bio_queue; member in struct:md_s
425 bioq_disksort(&sc->bio_queue, bp);
934 bp = bioq_takefirst(&sc->bio_queue);
994 bioq_init(&sc->bio_queue);
/freebsd-10.2-release/sys/geom/raid/
H A Dg_raid.c815 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) {
1254 TAILQ_FOREACH(nbp, &vol->v_inflight.queue, bio_queue) {
1314 TAILQ_FOREACH(bp, &vol->v_inflight.queue, bio_queue) {
1732 TAILQ_FOREACH_SAFE(bp, &sc->sc_queue.queue, bio_queue, tmp) {
/freebsd-10.2-release/sys/powerpc/ps3/
H A Dps3disk.c430 TAILQ_FOREACH(bp, &sc->sc_bioq.queue, bio_queue) {

Completed in 159 milliseconds

12