Lines Matching defs:event

32  *   by svc.startd, the event is stored on the local restarter_queue list,
41 * state events. The state_cb() registered on the event channel then
63 /* Local event queue structures. */
99 graph_event_enqueue(const char *inst, graph_event_type_t event,
112 e->gpe_type = event;
120 uu_die("failed to enqueue graph event (%s: %s)\n",
140 * on the event. If graph_event_requeue() is not called, the caller is
166 * Requeue the event back at the head of the queue.
173 log_framework(LOG_DEBUG, "Requeing event\n");
177 uu_die("failed to requeue graph event (%s: %s)\n",
184 graph_protocol_send_event(const char *inst, graph_event_type_t event,
187 graph_event_enqueue(inst, event, data);
214 * Enqueue a restarter event.
217 restarter_event_enqueue(const char *inst, restarter_event_type_t event,
223 /* Allocate and populate the event structure. */
228 e->rpe_type = event;
250 * Dequeue a restarter protocol event. The caller is expected to be
252 * and abort processing on the event. The caller is expected to call
291 * Might fail due to a bad event or a lack of memory. Try
423 restarter_event_type_t event, int32_t reason)
430 * queue the event locally.
433 restarter_event_enqueue(inst, event, reason);
442 * Otherwise, send the event to the delegate.
445 event_names[event], chan, inst);
447 nvlist_add_uint32(attr, RESTARTER_NAME_TYPE, event) != 0 ||
458 log_framework(LOG_DEBUG, "Dropping %s event for %s. "
460 event_names[event], inst);
463 uu_die("%s: can't publish event: %s\n", inst,
470 if (event != RESTARTER_EVENT_TYPE_ADD_INSTANCE) {