Home
last modified time | relevance | path

Searched refs:bioq_first (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/sys/cam/
H A Dcam_iosched.c779 struct bio *rbp = bioq_first(&isc->bio_queue); in cam_iosched_has_io()
780 struct bio *wbp = bioq_first(&isc->write_queue); in cam_iosched_has_io()
793 return bioq_first(&isc->bio_queue) != NULL; in cam_iosched_has_io()
801 bp = bioq_first(&isc->trim_queue); in cam_iosched_has_more_trim()
1367 bp = bioq_first(&isc->write_queue); in cam_iosched_get_write()
1378 if (bioq_first(&isc->bio_queue) && isc->current_read_bias) { in cam_iosched_get_write()
1446 bp = bioq_first(&isc->trim_queue); in cam_iosched_next_trim()
1477 bp = bioq_first(&isc->trim_queue); in cam_iosched_get_trim()
1487 if (bioq_first(&isc->bio_queue) && isc->current_read_bias) { in cam_iosched_get_trim()
1585 for (bp = bioq_first(&isc->bio_queue); bp != NULL; in cam_iosched_next_bio()
[all …]
/freebsd/sys/sys/
H A Dbio.h170 struct bio *bioq_first(struct bio_queue_head *head);
/freebsd/sys/cam/scsi/
H A Dscsi_pt.c429 bp = bioq_first(&softc->bio_queue); in ptstart()
458 bp = bioq_first(&softc->bio_queue); in ptstart()
H A Dscsi_cd.c891 bp = bioq_first(&softc->bio_queue); in cdstart()
958 bp = bioq_first(&softc->bio_queue); in cdstart()
1439 if (bioq_first(&softc->bio_queue) != NULL) in cddone()
1569 if (bioq_first(&softc->bio_queue) != NULL) in cddone()
1608 if (bioq_first(&softc->bio_queue) != NULL) in cddone()
1676 if (bioq_first(&softc->bio_queue) != NULL) in cddone()
/freebsd/sys/kern/
H A Dsubr_disk.c210 bioq_first(struct bio_queue_head *head) in bioq_first() function
/freebsd/sys/geom/linux_lvm/
H A Dg_linux_lvm.c155 for (b = bioq_first(bq); b != NULL; b = bioq_first(bq)) { in bioq_dismantle()
299 for (cb = bioq_first(&bq); cb != NULL; cb = bioq_first(&bq)) { in g_llvm_start()
/freebsd/sys/geom/stripe/
H A Dg_stripe.c541 for (cbp = bioq_first(&queue); cbp != NULL; in g_stripe_pushdown()
542 cbp = bioq_first(&queue)) { in g_stripe_pushdown()
556 for (cbp = bioq_first(&queue); cbp != NULL; cbp = bioq_first(&queue)) { in g_stripe_pushdown()
/freebsd/sys/powerpc/mambo/
H A Dmambo_disk.c209 bp = bioq_first(&sc->bio_queue); in mambodisk_task()
/freebsd/sys/dev/xen/blkfront/
H A Dblock.h337 if ((bp = bioq_first(&sc->xbd_bioq)) != NULL) { in xbd_dequeue_bio()
/freebsd/sys/powerpc/powernv/
H A Dopal_flash.c293 bp = bioq_first(&sc->sc_bio_queue); in opalflash_task()
/freebsd/sys/geom/virstor/
H A Dg_virstor.c1750 for (cb = bioq_first(&bq); cb != NULL; cb = bioq_first(&bq)) { in g_virstor_start()
1853 for (b = bioq_first(bq); b != NULL; b = bioq_first(bq)) { in bioq_dismantle()
/freebsd/sys/dev/flash/
H A Dn25q.c442 bp = bioq_first(&sc->sc_bio_queue); in n25q_task()
H A Dw25n.c558 bp = bioq_first(&sc->sc_bio_queue); in w25n_task()
H A Dmx25l.c645 bp = bioq_first(&sc->sc_bio_queue); in mx25l_task()
/freebsd/sys/dev/pst/
H A Dpst-raid.c225 (bp = bioq_first(&psc->queue))) { in pst_start()
/freebsd/sys/cam/mmc/
H A Dmmc_da.c504 bp = bioq_first(&softc->part[softc->part_curr]->bio_queue); in sddaschedule()
508 (bp = bioq_first(&softc->part[i]->bio_queue)) != NULL) in sddaschedule()
1804 bp = bioq_first(&part->bio_queue); in sddastart()
1808 (bp = bioq_first(&softc->part[part_index]->bio_queue)) != NULL) in sddastart()
/freebsd/sys/geom/raid3/
H A Dg_raid3.c1426 for (cbp = bioq_first(&queue); cbp != NULL; in g_raid3_flush()
1427 cbp = bioq_first(&queue)) { in g_raid3_flush()
1441 for (cbp = bioq_first(&queue); cbp != NULL; cbp = bioq_first(&queue)) { in g_raid3_flush()
2116 bp = bioq_first(&sc->sc_queue); in g_raid3_worker()
2394 while ((bp = bioq_first(&sc->sc_queue)) != NULL) { in g_raid3_destroy_provider()
/freebsd/sys/dev/nvd/
H A Dnvd.c227 ndisk->cur_depth == 0 && bioq_first(&ndisk->bioq) == NULL) { in nvd_strategy()
/freebsd/sys/dev/mfi/
H A Dmfivar.h559 if ((bp = bioq_first(&sc->mfi_bioq)) != NULL) { in mfi_dequeue_bio()
/freebsd/sys/dev/aac/
H A Daacvar.h614 if ((bp = bioq_first(&sc->aac_bioq)) != NULL) { in aac_dequeue_bio()
/freebsd/sys/dev/virtio/block/
H A Dvirtio_blk.c953 if (bioq_first(bioq) == NULL) in vtblk_request_bio()
1278 while (bioq_first(bioq) != NULL) {
/freebsd/sys/dev/ips/
H A Dips_commands.c156 iobuf = bioq_first(&sc->queue); in ips_start_io_request()
/freebsd/sys/powerpc/ps3/
H A Dps3disk.c458 if (bioq_first(&sc->sc_deferredq) != NULL) in ps3disk_intr()
/freebsd/sys/dev/ida/
H A Dida.c502 bp = bioq_first(&ida->bio_queue); in ida_startio()
/freebsd/sys/dev/flash/flexspi/
H A Dflex_spi.c943 bp = bioq_first(&sc->bio_queue); in flex_spi_task()

12