Searched refs:hpstates (Results 1 – 1 of 1) sorted by relevance
79 static hpstate_t hpstates[] = { variable1246 for (i = 0; hpstates[i].state_str != NULL; i++) in state_atoi()1247 if (strcasecmp(state, hpstates[i].state_str) == 0) in state_atoi()1248 return (hpstates[i].state); in state_atoi()1264 for (i = 0; hpstates[i].state_str != NULL; i++) in state_itoa()1265 if (state == hpstates[i].state) in state_itoa()1266 return (hpstates[i].state_str); in state_itoa()1281 for (i = 0; hpstates[i].state_str != NULL; i++) in valid_target()1282 if (state == hpstates[i].state) in valid_target()1283 return (hpstates[i].valid_target); in valid_target()