Changeset View
Changeset View
Standalone View
Standalone View
head/sys/geom/geom_subr.c
Show First 20 Lines • Show All 1,502 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
struct bio *bp; | struct bio *bp; | ||||
if (have_addr) { | if (have_addr) { | ||||
bp = (struct bio *)addr; | bp = (struct bio *)addr; | ||||
db_printf("BIO %p\n", bp); | db_printf("BIO %p\n", bp); | ||||
db_print_bio_cmd(bp); | db_print_bio_cmd(bp); | ||||
db_print_bio_flags(bp); | db_print_bio_flags(bp); | ||||
db_printf(" cflags: 0x%hhx\n", bp->bio_cflags); | db_printf(" cflags: 0x%hx\n", bp->bio_cflags); | ||||
db_printf(" pflags: 0x%hhx\n", bp->bio_pflags); | db_printf(" pflags: 0x%hx\n", bp->bio_pflags); | ||||
db_printf(" offset: %jd\n", (intmax_t)bp->bio_offset); | db_printf(" offset: %jd\n", (intmax_t)bp->bio_offset); | ||||
db_printf(" length: %jd\n", (intmax_t)bp->bio_length); | db_printf(" length: %jd\n", (intmax_t)bp->bio_length); | ||||
db_printf(" bcount: %ld\n", bp->bio_bcount); | db_printf(" bcount: %ld\n", bp->bio_bcount); | ||||
db_printf(" resid: %ld\n", bp->bio_resid); | db_printf(" resid: %ld\n", bp->bio_resid); | ||||
db_printf(" completed: %jd\n", (intmax_t)bp->bio_completed); | db_printf(" completed: %jd\n", (intmax_t)bp->bio_completed); | ||||
db_printf(" children: %u\n", bp->bio_children); | db_printf(" children: %u\n", bp->bio_children); | ||||
db_printf(" inbed: %u\n", bp->bio_inbed); | db_printf(" inbed: %u\n", bp->bio_inbed); | ||||
db_printf(" error: %d\n", bp->bio_error); | db_printf(" error: %d\n", bp->bio_error); | ||||
Show All 15 Lines |