Lines Matching defs:bp
123 struct bio *bp;
126 bp = bioq_first(&sc->sc_bioq);
127 if (bp == NULL)
131 * If the time isn't yet ripe for this bp to be let loose,
140 if (bintime_cmp(&bp->bio_t0, &bt, >))
145 * The bp has mellowed enough, let it through and update stats.
150 bp = bioq_takefirst(&sc->sc_bioq);
151 return (bp);
163 g_delay_start(void *data, struct bio *bp)
170 bp->bio_caller1 = sc;
171 getbinuptime(&bp->bio_t0); /* BIO's bio_t0 is uptime */
172 bintime_addx(&bp->bio_t0, BTFRAC_1US * me.latency);
180 bioq_insert_tail(&sc->sc_bioq, bp);
236 g_delay_done(void *data, struct bio *bp)