Lines Matching defs:Thread

57     ACPI_THREAD_STATE       *Thread);
76 ACPI_THREAD_STATE *Thread = ObjDesc->Mutex.OwnerThread;
79 if (!Thread)
106 Thread->AcquiredMutexList = ObjDesc->Mutex.Next;
116 * Thread - Current executing thread object
127 ACPI_THREAD_STATE *Thread)
132 ListHead = Thread->AcquiredMutexList;
148 Thread->AcquiredMutexList = ObjDesc;
266 if (!WalkState->Thread)
278 if (WalkState->Thread->CurrentSyncLevel > ObjDesc->Mutex.SyncLevel)
284 WalkState->Thread->CurrentSyncLevel));
289 "Acquiring: Mutex SyncLevel %u, Thread SyncLevel %u, "
291 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel,
292 ObjDesc->Mutex.AcquisitionDepth, WalkState->Thread));
295 ObjDesc, WalkState->Thread->ThreadId);
299 /* Save Thread object, original/current sync levels */
301 ObjDesc->Mutex.OwnerThread = WalkState->Thread;
303 WalkState->Thread->CurrentSyncLevel;
304 WalkState->Thread->CurrentSyncLevel =
309 AcpiExLinkMutex (ObjDesc, WalkState->Thread);
313 "Acquired: Mutex SyncLevel %u, Thread SyncLevel %u, Depth %u\n",
314 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel,
439 if (!WalkState->Thread)
451 if ((OwnerThread->ThreadId != WalkState->Thread->ThreadId) &&
455 "Thread %u cannot release Mutex [%4.4s] acquired by thread %u",
456 (UINT32) WalkState->Thread->ThreadId,
475 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel));
488 "Releasing: Object SyncLevel %u, Thread SyncLevel %u, "
490 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel,
492 WalkState->Thread));
508 "Released: Object SyncLevel %u, Thread SyncLevel, %u, "
510 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel,
521 * PARAMETERS: Thread - Current executing thread object
537 ACPI_THREAD_STATE *Thread)
539 ACPI_OPERAND_OBJECT *Next = Thread->AcquiredMutexList;
569 /* Update Thread SyncLevel (Last mutex is the important one) */
571 Thread->CurrentSyncLevel = ObjDesc->Mutex.OriginalSyncLevel;