Searched refs:sdev_states (Results 1 – 1 of 1) sorted by relevance
33 } sdev_states[] = { variable50 for (i = 0; i < ARRAY_SIZE(sdev_states); i++) { in scsi_device_state_name()51 if (sdev_states[i].value == state) { in scsi_device_state_name()52 name = sdev_states[i].name; in scsi_device_state_name()755 for (i = 0; i < ARRAY_SIZE(sdev_states); i++) { in store_state_field()756 const int len = strlen(sdev_states[i].name); in store_state_field()757 if (strncmp(sdev_states[i].name, buf, len) == 0 && in store_state_field()759 state = sdev_states[i].value; in store_state_field()