Lines Matching refs:wl
141 IOWorkLoop * wl; in setWorkLoop() local
145 if (!inWorkLoop && (wl = workLoop)) { // tearing down in setWorkLoop()
146 wl->closeGate(); in setWorkLoop()
158 wl->openGate(); in setWorkLoop()
200 IOWorkLoop * wl; in runAction() local
206 if (!(wl = workLoop)) { in runAction()
211 wl->closeGate(); in runAction()
217 if (!wl->onThread()) { in runAction()
222 sleepResult = wl->sleepGate(&enabled, THREAD_INTERRUPTIBLE); in runAction()
227 wl->openGate(); in runAction()
230 wl->wakeupGate(sleepersP, false); // No further resources used in runAction()
263 wl->openGate(); in runAction()
274 IOWorkLoop * wl; in attemptAction() local
279 if (!(wl = workLoop)) { in attemptAction()
284 if (!wl->tryCloseGate()) { in attemptAction()
289 if (!wl->onThread() && !enabled) { in attemptAction()
309 wl->openGate(); in attemptAction()