Lines Matching +defs:val +defs:state
298 * Want to know if the specified service is in the desired state
305 char *state;
308 state = smf_get_state(service);
309 if (state != NULL) {
310 /* got the state so get the equality for the return value */
311 ret = strcmp(state, chkstate) == 0 ? B_TRUE : B_FALSE;
312 free(state);
475 int val;
477 val = strtoul(value, NULL, 0);
481 if (val < proto_options[index].minval ||
482 val > proto_options[index].maxval)