Lines Matching defs:bp
58 #define DTRACE_DEVSTAT_BIO_START() SDT_PROBE2(io, , , start, bp, ds)
60 #define DTRACE_DEVSTAT_BIO_DONE() SDT_PROBE2(io, , , done, bp, ds)
252 devstat_start_transaction_bio(struct devstat *ds, struct bio *bp)
261 binuptime(&bp->bio_t0);
262 devstat_start_transaction(ds, &bp->bio_t0);
339 devstat_end_transaction_bio(struct devstat *ds, struct bio *bp)
342 devstat_end_transaction_bio_bt(ds, bp, NULL);
346 devstat_end_transaction_bio_bt(struct devstat *ds, struct bio *bp,
355 if (bp->bio_cmd == BIO_DELETE)
357 else if ((bp->bio_cmd == BIO_READ)
358 || ((bp->bio_cmd == BIO_ZONE)
359 && (bp->bio_zone.zone_cmd == DISK_ZONE_REPORT_ZONES)))
361 else if (bp->bio_cmd == BIO_WRITE)
366 devstat_end_transaction(ds, bp->bio_bcount - bp->bio_resid,
367 DEVSTAT_TAG_SIMPLE, flg, now, &bp->bio_t0);