Home
last modified time | relevance | path

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

/xnu-12377.1.9/iokit/Kernel/
H A DIOLocks.cpp217 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()
H A DIOWorkLoop.cpp479 return IOThreadSelf() == workThread; in onThread()
H A DIOService.cpp325 del = (((int)IOThreadSelf()) ^ del ^ (del >> 10)) & 0x3ff; \
1694 element->thread = IOThreadSelf(); in lockForArbitration()
2030 if ((active->thread == IOThreadSelf()) in isLockedForArbitration()
5237 LOG("config(%p): stalling %s\n", IOSERVICE_OBFUSCATE(IOThreadSelf()), getName()); in checkResource()
5243 LOG("config(%p): waking\n", IOSERVICE_OBFUSCATE(IOThreadSelf())); in checkResource()
6042 IOSERVICE_OBFUSCATE(IOThreadSelf()), job->nub->getName(), job->type); in main()
6052 IOSERVICE_OBFUSCATE(IOThreadSelf()), job->type ); in main()
6080 LOG("config(%p): terminating\n", IOSERVICE_OBFUSCATE(IOThreadSelf())); in main()
/xnu-12377.1.9/iokit/IOKit/
H A DIOLib.h585 #define IOThreadSelf() (current_thread()) macro