Home
last modified time | relevance | path

Searched refs:IOThreadSelf (Results 1 – 4 of 4) sorted by relevance

/xnu-8792.41.9/iokit/Kernel/
H A DIOLocks.cpp191 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()
H A DIOWorkLoop.cpp479 return IOThreadSelf() == workThread; in onThread()
H A DIOService.cpp318 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()
/xnu-8792.41.9/iokit/IOKit/
H A DIOLib.h553 #define IOThreadSelf() (current_thread()) macro