Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
35 * - timeout thread: thread to fire queued timeouts
36 * - contract thread: thread to handle contract events
37 * - wait thread: thread to handle wait-based services
56 * restarter_inst_t->ri_i.i_state. If transition to a new state could take
58 * restarter_inst_t->ri_i.i_next_state to the target state, and afterwards we
59 * rotate i_next_state to i_state and set i_next_state to
63 * method_thread() does, we set ri_method_thread to the thread id of the
143 * Function used to reset the restart times for an instance, when
333 * & insert to be atomic.
435 * we're probably being restarted & don't want to mess up the states
454 * have initialized the state to uninitialized/none if
472 * Force next_state to _NONE since we
609 /* No more failures we live through, so add it to the list. */
858 "to repository: %s.\n", ri->ri_i.i_fmri, strerror(e));
925 * locked, though, leads to deadlock. Since taking a snapshot
1038 cp = "process killed due to uncorrectable hardware error";
1094 * No need to stop instance, as child has exited; remove
1095 * contract and move the instance to the offline state.
1141 * end up <defunct> so mark it to be ignored.
1311 * Set inst->ri_i.i_enabled. Expects 'e' to be _ENABLE, _DISABLE, or
1313 * disabled, move it to offline. If the event is _DISABLE or
1314 * _ADMIN_DISABLE, make sure inst will move to disabled.
1412 * We only want to pull the instance out of maintenance
1416 * want to pull the service out of maintenance if,
1417 * for example, it is there due to a dependency cycle.
1446 log_framework(LOG_DEBUG, "%s: trying to start instance\n",
1450 * We want to keep the original reason for restarts and clear actions
1519 log_instance(rip, B_TRUE, "Stopping for maintenance due to %s.",
1521 log_framework(LOG_DEBUG, "%s: stopping for maintenance due to %s.\n",
1535 * copy the fmri to restarter/auxiliary_fmri so svcs -x can use.
1677 * Called in a separate thread to process the events on an instance's
1678 * queue. Empties the queue completely, and tries to keep the thread
1679 * around for a little while after the queue is empty to save on
1689 struct timespec to;
1832 * Try to preserve the thread for a little while for future use.
1834 to.tv_sec = 3;
1835 to.tv_nsec = 0;
1837 &rip->ri_queue_lock, &to);
1900 * to the repository.
1924 * instance structure yet, so we need to handle the
1970 /* Now add the event to the instance queue. */
2046 * If startd has stopped this contract, there is no need to
2099 * Listens to the process contract bundle for critical events, taking action
2120 * to the repository.
2123 uu_die("Unable to bind a new repository handle: %s\n",