Searched refs:shost_states (Results 1 – 1 of 1) sorted by relevance
63 } shost_states[] = { variable77 for (i = 0; i < ARRAY_SIZE(shost_states); i++) { in scsi_host_state_name()78 if (shost_states[i].value == state) { in scsi_host_state_name()79 name = shost_states[i].name; in scsi_host_state_name()205 for (i = 0; i < ARRAY_SIZE(shost_states); i++) { in store_shost_state()206 const int len = strlen(shost_states[i].name); in store_shost_state()207 if (strncmp(shost_states[i].name, buf, len) == 0 && in store_shost_state()209 state = shost_states[i].value; in store_shost_state()