Searched defs:restart_on (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/svc/startd/
H A Dmethod.c87 * Mapping from restart_on method-type to contract events. Must correspond to
344 * restart_on, and cte_mask dictate the critical events term of the contract.
351 method_restart_t restart_on, uint_t cte_mask)
384 assert(restart_on >= 0);
385 assert(restart_on <= METHOD_RESTART_ANY_FAULT);
386 cevents = method_events[restart_on] & ~cte_mask;
388 (method_events[restart_on] & ~cte_mask & CT_PR_ALLFATAL) :
661 method_restart_t restart_on; local
720 if ((method = libscf_get_method(h, type, inst, snap, &restart_on,
823 r = method_ready_contract(inst, type, restart_on, cte_mas
350 method_ready_contract(restarter_inst_t *inst, int type, method_restart_t restart_on, uint_t cte_mask) argument
[all...]
H A Dlibscf.c684 char *restart_on = startd_alloc(max_scf_value_size); local
688 libscf_read_single_astring(h, prop, &restart_on) != 0) {
689 startd_free(restart_on, max_scf_value_size);
694 if (strcmp(restart_on, SCF_DEP_RESET_ON_ERROR) == 0)
696 else if (strcmp(restart_on, SCF_DEP_RESET_ON_RESTART) == 0)
698 else if (strcmp(restart_on, SCF_DEP_RESET_ON_REFRESH) == 0)
700 else if (strcmp(restart_on, SCF_DEP_RESET_ON_NONE) == 0)
705 startd_free(restart_on, max_scf_value_size);
2858 scf_snapshot_t *snap, method_restart_t *restart_on, uint_t *cte_mask,
2878 *restart_on
2857 libscf_get_method(scf_handle_t *h, int type, restarter_inst_t *inst, scf_snapshot_t *snap, method_restart_t *restart_on, uint_t *cte_mask, uint8_t *need_sessionp, uint64_t *timeout, uint8_t *timeout_retry) argument
[all...]

Completed in 66 milliseconds