Lines Matching refs:ulog
104 print_update(kdb_hlog_t *ulog, uint32_t entry, bool_t verbose) in print_update() argument
112 if (entry && (entry < ulog->kdb_num)) in print_update()
113 start_sno = ulog->kdb_last_sno - entry; in print_update()
115 start_sno = ulog->kdb_first_sno - 1; in print_update()
117 for (i = start_sno; i < ulog->kdb_last_sno; i++) { in print_update()
118 indx = i % ulog->kdb_num; in print_update()
120 indx_log = (kdb_ent_header_t *)INDEX(ulog, indx); in print_update()
197 kdb_hlog_t *ulog = NULL; in main() local
256 ulog = log_ctx->ulog; in main()
263 if (ulog->kdb_hmagic != KDB_HMAGIC) { in main()
270 (void) printf(gettext("\tLog version # : %u\n"), ulog->db_version_num); in main()
272 switch (ulog->kdb_state) { in main()
284 ulog->kdb_state); in main()
287 (void) printf(gettext("\tEntry block size : %u\n"), ulog->kdb_block); in main()
288 (void) printf(gettext("\tNumber of entries : %u\n"), ulog->kdb_num); in main()
290 if (ulog->kdb_last_sno == 0) in main()
293 if (ulog->kdb_first_sno == 0) in main()
297 (void) printf("%u\n", ulog->kdb_first_sno); in main()
301 (void) printf("%u\n", ulog->kdb_last_sno); in main()
304 if (ulog->kdb_last_time.seconds == 0L) { in main()
307 if (ulog->kdb_first_time.seconds == 0L) in main()
312 &(ulog->kdb_first_time.seconds))); in main()
316 ctime((time_t *)&(ulog->kdb_last_time.seconds))); in main()
319 if ((!headeronly) && ulog->kdb_num) { in main()
320 print_update(ulog, entry, verbose); in main()