Lines Matching refs:log_ctx
26 #define INIT_ULOG(ctx) log_ctx = ctx->kdblog_context; \
27 ulog = log_ctx->ulog
146 kdb_log_context *log_ctx; in ulog_add_update() local
152 ulogentries = log_ctx->ulogentries; in ulog_add_update()
153 ulogfd = log_ctx->ulogfd; in ulog_add_update()
246 kdb_log_context *log_ctx; in ulog_finish_update() local
251 ulogentries = log_ctx->ulogentries; in ulog_finish_update()
308 kdb_log_context *log_ctx; in ulog_replay() local
401 if (log_ctx && (log_ctx->iproprole == IPROP_SLAVE)) { in ulog_replay()
534 kdb_log_context *log_ctx; in ulog_map() local
609 if (!(log_ctx = malloc(sizeof (kdb_log_context)))) in ulog_map()
611 context->kdblog_context = (void *)log_ctx; in ulog_map()
613 log_ctx = context->kdblog_context; in ulog_map()
614 log_ctx->ulog = ulog; in ulog_map()
615 log_ctx->ulogentries = ulogentries; in ulog_map()
616 log_ctx->ulogfd = ulogfd; in ulog_map()
716 kdb_log_context *log_ctx; in ulog_get_entries() local
721 ulogentries = log_ctx->ulogentries; in ulog_get_entries()
856 kdb_log_context *log_ctx; in ulog_set_role() local
859 if (!(log_ctx = malloc(sizeof (kdb_log_context)))) in ulog_set_role()
861 ctx->kdblog_context = (void *)log_ctx; in ulog_set_role()
863 log_ctx = ctx->kdblog_context; in ulog_set_role()
865 log_ctx->iproprole = role; in ulog_set_role()