shost_states 63 drivers/scsi/scsi_sysfs.c } shost_states[] = { shost_states 77 drivers/scsi/scsi_sysfs.c for (i = 0; i < ARRAY_SIZE(shost_states); i++) { shost_states 78 drivers/scsi/scsi_sysfs.c if (shost_states[i].value == state) { shost_states 79 drivers/scsi/scsi_sysfs.c name = shost_states[i].name; shost_states 205 drivers/scsi/scsi_sysfs.c for (i = 0; i < ARRAY_SIZE(shost_states); i++) { shost_states 206 drivers/scsi/scsi_sysfs.c const int len = strlen(shost_states[i].name); shost_states 207 drivers/scsi/scsi_sysfs.c if (strncmp(shost_states[i].name, buf, len) == 0 && shost_states 209 drivers/scsi/scsi_sysfs.c state = shost_states[i].value;