bioq_first
bp = bioq_first(&isc->write_queue);
if (bioq_first(&isc->bio_queue) && isc->current_read_bias) {
bp = bioq_first(&isc->trim_queue);
bp = bioq_first(&isc->trim_queue);
if (bioq_first(&isc->bio_queue) && isc->current_read_bias) {
for (bp = bioq_first(&isc->bio_queue); bp != NULL;
bp = bioq_first(&isc->bio_queue);
while (bioq_first(&isc->trim_queue) &&
struct bio *rbp = bioq_first(&isc->bio_queue);
struct bio *wbp = bioq_first(&isc->write_queue);
return bioq_first(&isc->bio_queue) != NULL;
bp = bioq_first(&isc->trim_queue);
bp = bioq_first(&part->bio_queue);
(bp = bioq_first(&softc->part[part_index]->bio_queue)) != NULL)
bp = bioq_first(&softc->part[softc->part_curr]->bio_queue);
(bp = bioq_first(&softc->part[i]->bio_queue)) != NULL)
if (bioq_first(&softc->bio_queue) != NULL)
if (bioq_first(&softc->bio_queue) != NULL)
if (bioq_first(&softc->bio_queue) != NULL)
if (bioq_first(&softc->bio_queue) != NULL)
bp = bioq_first(&softc->bio_queue);
bp = bioq_first(&softc->bio_queue);
bp = bioq_first(&softc->bio_queue);
bp = bioq_first(&softc->bio_queue);
bp = bioq_first(&softc->bio_queue);
if (bioq_first(&softc->bio_queue) != NULL) {
bp = bioq_first(&softc->bio_queue);
bp = bioq_first(&softc->bio_queue);
if ((bp = bioq_first(&sc->aac_bioq)) != NULL) {
bp = bioq_first(&sc->bio_queue);
bp = bioq_first(&sc->sc_bio_queue);
bp = bioq_first(&sc->sc_bio_queue);
bp = bioq_first(&sc->sc_bio_queue);
bp = bioq_first(&ida->bio_queue);
iobuf = bioq_first(&sc->queue);
if ((bp = bioq_first(&sc->mfi_bioq)) != NULL) {
if ((bp = bioq_first(&sc->mlx_bioq)) == NULL)
ndisk->cur_depth == 0 && bioq_first(&ndisk->bioq) == NULL) {
(bp = bioq_first(&psc->queue))) {
if (bioq_first(bioq) == NULL)
while (bioq_first(bioq) != NULL) {
if ((bp = bioq_first(&sc->xbd_bioq)) != NULL) {
bp = bioq_first(&sc->sc_inqueue);
bp = bioq_first(&sc->sc_back_queue);
bp = bioq_first(&sc->sc_regular_queue);
for (b = bioq_first(bq); b != NULL; b = bioq_first(bq)) {
for (cb = bioq_first(&bq); cb != NULL; cb = bioq_first(&bq)) {
if (bioq_first(&vol->v_inflight) == NULL &&
if (bioq_first(&vol->v_inflight) == NULL &&
for (cbp = bioq_first(&queue); cbp != NULL;
cbp = bioq_first(&queue)) {
for (cbp = bioq_first(&queue); cbp != NULL; cbp = bioq_first(&queue)) {
bp = bioq_first(&sc->sc_queue);
while ((bp = bioq_first(&sc->sc_queue)) != NULL) {
for (cbp = bioq_first(&queue); cbp != NULL;
cbp = bioq_first(&queue)) {
for (cbp = bioq_first(&queue); cbp != NULL; cbp = bioq_first(&queue)) {
for (cb = bioq_first(&bq); cb != NULL; cb = bioq_first(&bq)) {
for (b = bioq_first(bq); b != NULL; b = bioq_first(bq)) {
bp = bioq_first(&sc->bio_queue);
bp = bioq_first(&sc->sc_bio_queue);
if (bioq_first(&sc->sc_deferredq) != NULL)
struct bio *bioq_first(struct bio_queue_head *head);