Searched refs:IOThreadSelf (Results 1 – 4 of 4) sorted by relevance
191 if (lock->thread == IOThreadSelf()) { in IORecursiveLockLock()197 lock->thread = IOThreadSelf(); in IORecursiveLockLock()207 if (lock->thread == IOThreadSelf()) { in IORecursiveLockTryLock()214 lock->thread = IOThreadSelf(); in IORecursiveLockTryLock()227 assert( lock->thread == IOThreadSelf()); in IORecursiveLockUnlock()240 return lock->thread == IOThreadSelf(); in IORecursiveLockHaveLock()250 assert(lock->thread == IOThreadSelf()); in IORecursiveLockSleep()260 lock->thread = IOThreadSelf(); in IORecursiveLockSleep()273 assert(lock->thread == IOThreadSelf()); in IORecursiveLockSleepDeadline()284 lock->thread = IOThreadSelf(); in IORecursiveLockSleepDeadline()
479 return IOThreadSelf() == workThread; in onThread()
318 del = (((int)IOThreadSelf()) ^ del ^ (del >> 10)) & 0x3ff; \1667 element->thread = IOThreadSelf(); in lockForArbitration()2006 if ((active->thread == IOThreadSelf()) in isLockedForArbitration()4999 LOG("config(%p): stalling %s\n", IOSERVICE_OBFUSCATE(IOThreadSelf()), getName()); in checkResource()5005 LOG("config(%p): waking\n", IOSERVICE_OBFUSCATE(IOThreadSelf())); in checkResource()5758 IOSERVICE_OBFUSCATE(IOThreadSelf()), job->nub->getName(), job->type); in main()5768 IOSERVICE_OBFUSCATE(IOThreadSelf()), job->type ); in main()5792 LOG("config(%p): terminating\n", IOSERVICE_OBFUSCATE(IOThreadSelf())); in main()
553 #define IOThreadSelf() (current_thread()) macro