Changeset View
Changeset View
Standalone View
Standalone View
head/sys/kern/vfs_bio.c
Show First 20 Lines • Show All 4,921 Lines • ▼ Show 20 Lines | for (i = 0; i < bp->b_npages; i++) { | ||||
db_printf(","); | db_printf(","); | ||||
} | } | ||||
db_printf("\n"); | db_printf("\n"); | ||||
} | } | ||||
#if defined(FULL_BUF_TRACKING) | #if defined(FULL_BUF_TRACKING) | ||||
db_printf("b_io_tracking: b_io_tcnt = %u\n", bp->b_io_tcnt); | db_printf("b_io_tracking: b_io_tcnt = %u\n", bp->b_io_tcnt); | ||||
i = bp->b_io_tcnt % BUF_TRACKING_SIZE; | i = bp->b_io_tcnt % BUF_TRACKING_SIZE; | ||||
for (j = 1; j <= BUF_TRACKING_SIZE; j++) | for (j = 1; j <= BUF_TRACKING_SIZE; j++) { | ||||
if (bp->b_io_tracking[BUF_TRACKING_ENTRY(i - j)] == NULL) | |||||
continue; | |||||
db_printf(" %2u: %s\n", j, | db_printf(" %2u: %s\n", j, | ||||
bp->b_io_tracking[BUF_TRACKING_ENTRY(i - j)]); | bp->b_io_tracking[BUF_TRACKING_ENTRY(i - j)]); | ||||
} | |||||
#elif defined(BUF_TRACKING) | #elif defined(BUF_TRACKING) | ||||
db_printf("b_io_tracking: %s\n", bp->b_io_tracking); | db_printf("b_io_tracking: %s\n", bp->b_io_tracking); | ||||
#endif | #endif | ||||
db_printf(" "); | db_printf(" "); | ||||
BUF_LOCKPRINTINFO(bp); | BUF_LOCKPRINTINFO(bp); | ||||
} | } | ||||
DB_SHOW_COMMAND(lockedbufs, lockedbufs) | DB_SHOW_COMMAND(lockedbufs, lockedbufs) | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |