Searched refs:oper_states (Results 1 – 2 of 2) sorted by relevance
63 static const char *oper_states[] = { variable72 if (state >= ARRAY_SIZE(oper_states)) in print_operstate()75 fprintf(f, "state %s ", oper_states[state]); in print_operstate()
122 static const char *oper_states[] = { variable129 if (state >= ARRAY_SIZE(oper_states)) { in print_operstate()139 oper_states[state]); in print_operstate()144 NULL, oper_states[state]); in print_operstate()148 "%s ", oper_states[state]); in print_operstate()157 for (i = 0; i < ARRAY_SIZE(oper_states); i++) in get_operstate()158 if (strcasecmp(name, oper_states[i]) == 0) in get_operstate()