Searched refs:IOThreadSelf (Results 1 – 4 of 4) sorted by relevance
203 if (lock->thread == IOThreadSelf()) { in IORecursiveLockLock()209 lock->thread = IOThreadSelf(); in IORecursiveLockLock()219 if (lock->thread == IOThreadSelf()) { in IORecursiveLockTryLock()226 lock->thread = IOThreadSelf(); in IORecursiveLockTryLock()239 assert( lock->thread == IOThreadSelf()); in IORecursiveLockUnlock()252 return lock->thread == IOThreadSelf(); in IORecursiveLockHaveLock()262 assert(lock->thread == IOThreadSelf()); in IORecursiveLockSleep()272 lock->thread = IOThreadSelf(); in IORecursiveLockSleep()285 assert(lock->thread == IOThreadSelf()); in IORecursiveLockSleepDeadline()296 lock->thread = IOThreadSelf(); in IORecursiveLockSleepDeadline()
479 return IOThreadSelf() == workThread; in onThread()
323 del = (((int)IOThreadSelf()) ^ del ^ (del >> 10)) & 0x3ff; \1666 element->thread = IOThreadSelf(); in lockForArbitration()2002 if ((active->thread == IOThreadSelf()) in isLockedForArbitration()5045 LOG("config(%p): stalling %s\n", IOSERVICE_OBFUSCATE(IOThreadSelf()), getName()); in checkResource()5051 LOG("config(%p): waking\n", IOSERVICE_OBFUSCATE(IOThreadSelf())); in checkResource()5825 IOSERVICE_OBFUSCATE(IOThreadSelf()), job->nub->getName(), job->type); in main()5835 IOSERVICE_OBFUSCATE(IOThreadSelf()), job->type ); in main()5863 LOG("config(%p): terminating\n", IOSERVICE_OBFUSCATE(IOThreadSelf())); in main()
553 #define IOThreadSelf() (current_thread()) macro