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

/drivers/scsi/
H A Dscsi_sysfs.c31 } sdev_states[] = { variable in typeref:struct:__anon4968
47 for (i = 0; i < ARRAY_SIZE(sdev_states); i++) {
48 if (sdev_states[i].value == state) {
49 name = sdev_states[i].name;
602 for (i = 0; i < ARRAY_SIZE(sdev_states); i++) {
603 const int len = strlen(sdev_states[i].name);
604 if (strncmp(sdev_states[i].name, buf, len) == 0 &&
606 state = sdev_states[i].value;

Completed in 1337 milliseconds