Lines Matching refs:rht_state
69 static unsigned int rht_state = 0;
159 if (rht_state & RHT_WAIT)
160 thread_wakeup(&rht_state);
161 rht_state &= ~(RHT_BUSY|RHT_WAIT);
336 while (rht_state & RHT_BUSY) {
337 rht_state |= RHT_WAIT;
338 thread_sleep_usimple_lock((event_t)&rht_state,
341 rht_state |= RHT_BUSY;
368 if (rht_state & RHT_WAIT)
369 thread_wakeup(&rht_state);
370 rht_state &= ~(RHT_BUSY|RHT_WAIT);