Searched refs:sdev_states (Results 1 – 3 of 3) 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()797 for (i = 0; i < ARRAY_SIZE(sdev_states); i++) { in store_state_field()798 const int len = strlen(sdev_states[i].name); in store_state_field()799 if (strncmp(sdev_states[i].name, buf, len) == 0 && in store_state_field()801 state = sdev_states[i].value; in store_state_field()
78485 ffff8000111db610 d sdev_states
Completed in 401 milliseconds