Searched refs:IOThreadSelf (Results 1 – 4 of 4) sorted by relevance
217 if (lock->thread == IOThreadSelf()) { in IORecursiveLockLock()223 lock->thread = IOThreadSelf(); in IORecursiveLockLock()233 if (lock->thread == IOThreadSelf()) { in IORecursiveLockTryLock()240 lock->thread = IOThreadSelf(); in IORecursiveLockTryLock()253 assert( lock->thread == IOThreadSelf()); in IORecursiveLockUnlock()266 return lock->thread == IOThreadSelf(); in IORecursiveLockHaveLock()276 assert(lock->thread == IOThreadSelf()); in IORecursiveLockSleep()286 lock->thread = IOThreadSelf(); in IORecursiveLockSleep()299 assert(lock->thread == IOThreadSelf()); in IORecursiveLockSleepDeadline()310 lock->thread = IOThreadSelf(); in IORecursiveLockSleepDeadline()
479 return IOThreadSelf() == workThread; in onThread()
323 del = (((int)IOThreadSelf()) ^ del ^ (del >> 10)) & 0x3ff; \1684 element->thread = IOThreadSelf(); in lockForArbitration()2020 if ((active->thread == IOThreadSelf()) in isLockedForArbitration()5113 LOG("config(%p): stalling %s\n", IOSERVICE_OBFUSCATE(IOThreadSelf()), getName()); in checkResource()5119 LOG("config(%p): waking\n", IOSERVICE_OBFUSCATE(IOThreadSelf())); in checkResource()5912 IOSERVICE_OBFUSCATE(IOThreadSelf()), job->nub->getName(), job->type); in main()5922 IOSERVICE_OBFUSCATE(IOThreadSelf()), job->type ); in main()5950 LOG("config(%p): terminating\n", IOSERVICE_OBFUSCATE(IOThreadSelf())); in main()
561 #define IOThreadSelf() (current_thread()) macro