Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/scsi/
Dscsi_sysfs.c35 } sdev_states[] = { variable
52 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()
814 for (i = 0; i < ARRAY_SIZE(sdev_states); i++) { in store_state_field()
815 const int len = strlen(sdev_states[i].name); in store_state_field()
816 if (strncmp(sdev_states[i].name, buf, len) == 0 && in store_state_field()
818 state = sdev_states[i].value; in store_state_field()