Lines Matching refs:workToDoLock
87 if ( workToDoLock == NULL ) {
88 if ( !(workToDoLock = IOSimpleLockAlloc()) )
90 IOSimpleLockInit(workToDoLock);
171 is = IOSimpleLockLockDisableInterrupt(workToDoLock);
174 IOSimpleLockUnlockEnableInterrupt(workToDoLock, is);
198 if (workToDoLock) {
199 IOSimpleLockFree(workToDoLock);
200 workToDoLock = 0;
305 IOInterruptState is = IOSimpleLockLockDisableInterrupt(workToDoLock);
307 IOSimpleLockUnlockEnableInterrupt(workToDoLock, is);
338 IOInterruptState is = IOSimpleLockLockDisableInterrupt(workToDoLock);
341 IOSimpleLockUnlockEnableInterrupt(workToDoLock, is);
354 IOSimpleLockUnlockEnableInterrupt(workToDoLock, is);
381 if (workToDoLock) {
382 IOInterruptState is = IOSimpleLockLockDisableInterrupt(workToDoLock);
385 IOSimpleLockUnlockEnableInterrupt(workToDoLock, is);