Searched refs:hpstates (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/hotplug/
H A Dhotplug.c79 static hpstate_t hpstates[] = { variable
1246 for (i = 0; hpstates[i].state_str != NULL; i++)
1247 if (strcasecmp(state, hpstates[i].state_str) == 0)
1248 return (hpstates[i].state);
1264 for (i = 0; hpstates[i].state_str != NULL; i++)
1265 if (state == hpstates[i].state)
1266 return (hpstates[i].state_str);
1281 for (i = 0; hpstates[i].state_str != NULL; i++)
1282 if (state == hpstates[i].state)
1283 return (hpstates[
[all...]

Completed in 57 milliseconds