Searched refs:sdev_states (Results 1 – 1 of 1) sorted by relevance
35 } sdev_states[] = { variable52 for (i = 0; i < ARRAY_SIZE(sdev_states); i++) { in scsi_device_state_name()53 if (sdev_states[i].value == state) { in scsi_device_state_name()54 name = sdev_states[i].name; in scsi_device_state_name()799 for (i = 0; i < ARRAY_SIZE(sdev_states); i++) { in store_state_field()800 const int len = strlen(sdev_states[i].name); in store_state_field()801 if (strncmp(sdev_states[i].name, buf, len) == 0 && in store_state_field()803 state = sdev_states[i].value; in store_state_field()