Lines Matching defs:event
35 * - restarter event thread: events from the graph engine
42 * - per-instance event processing threads
1111 /* requeue event by returning -1 */
1379 * _ADMIN_DISABLE. If the event is _ENABLE and inst is uninitialized or
1380 * disabled, move it to offline. If the event is _DISABLE or
1769 restarter_instance_qentry_t *event;
1785 while ((event = uu_list_first(rip->ri_queue)) != NULL) {
1803 /* process the event */
1804 switch (event->riq_type) {
1807 (void) enable_inst(h, inst, event);
1811 if (enable_inst(h, inst, event) == 0)
1828 start_instance(h, inst, event->riq_reason);
1871 event_names[event->riq_type], inst->ri_i.i_fmri);
1882 * the graph engine will send a new event.
1898 uu_warn("%s:%d: Bad restarter event %d. "
1899 "Aborting.\n", __FILE__, __LINE__, event->riq_type);
1913 /* delete the event */
1914 uu_list_remove(rip->ri_queue, event);
1915 startd_free(event, sizeof (restarter_instance_qentry_t));
1980 * just modify the seprarately locked event queue portion.
2033 * Lookup the instance, locking only the event queue.
2051 log_instance(rip, B_TRUE, "Instance event "
2054 log_framework(LOG_DEBUG, "%s: Instance event "
2060 /* Now add the event to the instance queue. */
2074 * a new event.
2150 "%s: contract %ld received unexpected critical event "
2164 "%s: ignoring contract event on wait-style service\n",
2168 * A CT_PR_EV_EMPTY event is an RSTOP_EXIT request.
2239 "Error reading next contract event: %s",
2266 log_framework(LOG_DEBUG, "Received event %d for ctid %ld "
2290 * - we receive an EMPTY event for an abandoned
2294 * the event later.
2297 "Reset event %d for unknown "
2317 * event for an abandoned contract.
2320 "Received event %d for unknown contract id "
2324 "Received event %d for contract id "