Searched refs:state_func (Results 1 – 2 of 2) sorted by relevance
955 int (*state_func)(const devctl_hdl_t, uint_t *); in devctl_cmd() local962 state_func = NULL; in devctl_cmd()967 state_func = get_state_cmds[i].state_fcn; in devctl_cmd()974 if (state_func == NULL) { in devctl_cmd()987 if (func == NULL && state_func == NULL) { in devctl_cmd()1029 } else if (state_func != NULL && statep != NULL) { in devctl_cmd()1030 rv = state_func(hdl, statep); in devctl_cmd()
824 int (*state_func)(const devctl_hdl_t, uint_t *); in devctl_cmd() local831 state_func = NULL; in devctl_cmd()836 state_func = get_state_cmds[i].state_fcn; in devctl_cmd()843 if (state_func == NULL) { in devctl_cmd()856 if (func == NULL && state_func == NULL) { in devctl_cmd()898 } else if (state_func != NULL && statep != NULL) { in devctl_cmd()899 rv = state_func(hdl, statep); in devctl_cmd()