Lines Matching +defs:val +defs:service
296 * service_in_state(service, chkstate)
298 * Want to know if the specified service is in the desired state
303 service_in_state(char *service, const char *chkstate)
308 state = smf_get_state(service);
318 restart_service(char *service)
323 * Only attempt to restart the service if it is
328 if (service_in_state(service, SCF_STATE_STRING_ONLINE)) {
329 ret = smf_restart_instance(service);
333 * the service into maintenance if there wasn't an
347 if (service_in_state(service,
352 service);
475 int val;
477 val = strtoul(value, NULL, 0);
481 if (val < proto_options[index].minval ||
482 val > proto_options[index].maxval)