Searched refs:enclosure_status (Results 1 – 1 of 1) sorted by relevance
459 static const char *const enclosure_status[] = { variable508 return sysfs_emit(buf, "%s\n", enclosure_status[ecomp->status]); in get_component_status()519 for (i = 0; enclosure_status[i]; i++) { in set_component_status()520 if (strncmp(buf, enclosure_status[i], in set_component_status()521 strlen(enclosure_status[i])) == 0 && in set_component_status()522 (buf[strlen(enclosure_status[i])] == '\n' || in set_component_status()523 buf[strlen(enclosure_status[i])] == '\0')) in set_component_status()527 if (enclosure_status[i] && edev->cb->set_status) { in set_component_status()
Completed in 5 milliseconds