Home
last modified time | relevance | path

Searched refs:shost_states (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/scsi/
Dscsi_sysfs.c64 } shost_states[] = { variable
78 for (i = 0; i < ARRAY_SIZE(shost_states); i++) { in scsi_host_state_name()
79 if (shost_states[i].value == state) { in scsi_host_state_name()
80 name = shost_states[i].name; in scsi_host_state_name()
206 for (i = 0; i < ARRAY_SIZE(shost_states); i++) { in store_shost_state()
207 const int len = strlen(shost_states[i].name); in store_shost_state()
208 if (strncmp(shost_states[i].name, buf, len) == 0 && in store_shost_state()
210 state = shost_states[i].value; in store_shost_state()