Home
last modified time | relevance | path

Searched refs:ulog (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_log.c27 ulog = log_ctx->ulog
32 ulog_sync_update(kdb_hlog_t *ulog, kdb_ent_header_t *upd) in ulog_sync_update() argument
37 if (ulog == NULL) in ulog_sync_update()
45 end = (((ulong_t)upd) + ulog->kdb_block + in ulog_sync_update()
60 ulog_sync_header(kdb_hlog_t *ulog) in ulog_sync_header() argument
66 if (msync((caddr_t)ulog, pagesize, MS_SYNC)) { in ulog_sync_header()
82 ulog_resize(kdb_hlog_t *ulog, uint32_t ulogentries, int ulogfd, uint_t recsize) in ulog_resize() argument
86 if (ulog == NULL) in ulog_resize()
100 (void) memset(ulog, 0, sizeof (kdb_hlog_t)); in ulog_resize()
102 ulog->kdb_hmagic = KDB_HMAGIC; in ulog_resize()
[all …]
H A Dkdb_log.h23 (i*ulog->kdb_block))
112 kdb_hlog_t *ulog; member
/illumos-gate/usr/src/cmd/krb5/kproplog/
H A Dkproplog.c104 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()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_create.c350 (void) memset(log_ctx->ulog, 0, sizeof (kdb_hlog_t));
352 log_ctx->ulog->kdb_hmagic = KDB_HMAGIC;
353 log_ctx->ulog->db_version_num = KDB_VERSION;
354 log_ctx->ulog->kdb_state = KDB_STABLE;
355 log_ctx->ulog->kdb_block = ULOG_BLOCK;
H A Ddump.c1558 fprintf(f, " %u", log_ctx->ulog->kdb_last_sno);
1559 fprintf(f, " %u", log_ctx->ulog->kdb_last_time.seconds);
1560 fprintf(f, " %u", log_ctx->ulog->kdb_last_time.useconds);
2862 memset(log_ctx->ulog, 0, sizeof (kdb_hlog_t));
2864 log_ctx->ulog->kdb_hmagic = KDB_HMAGIC;
2865 log_ctx->ulog->db_version_num = KDB_VERSION;
2866 log_ctx->ulog->kdb_state = KDB_STABLE;
2867 log_ctx->ulog->kdb_block = ULOG_BLOCK;
2875 log_ctx->ulog->kdb_last_sno = last_sno;
2876 log_ctx->ulog->kdb_last_time.seconds =
[all …]
/illumos-gate/usr/src/cmd/krb5/slave/
H A Dkpropd.c748 kdb_hlog_t *ulog; in do_iprop() local
765 ulog = log_ctx->ulog; in do_iprop()
936 mylast.last_sno = ulog->kdb_last_sno; in do_iprop()
937 mylast.last_time = ulog->kdb_last_time; in do_iprop()