Lines Matching refs:ok2rem_leds
59 static unsigned int ok2rem_leds[2]; variable
259 if ((old == 0) != (fault_leds[side] == 0) && ok2rem_leds[side] == 0) { in fault_led_event()
282 old = ok2rem_leds[side]; in removable_led_event()
284 assert(fdi <= sizeof (ok2rem_leds[side]) * BITSPERBYTE); in removable_led_event()
288 ok2rem_leds[side] |= (1<<fdi); in removable_led_event()
292 ok2rem_leds[side] &= ~(1<<fdi); in removable_led_event()
298 old, side, ok2rem_leds[side])); in removable_led_event()
300 if ((old == 0) != (ok2rem_leds[side] == 0)) { in removable_led_event()
306 if (ok2rem_leds[!side] == 0) { in removable_led_event()
313 ok2rem_leds[side] ? LED_ON : LED_OFF); in removable_led_event()
322 ok2rem_leds[side] ? LED_ON : LED_OFF); in removable_led_event()