Lines Matching refs:Thread

165     ACPI_THREAD_STATE       *Thread);
184 ACPI_THREAD_STATE *Thread = ObjDesc->Mutex.OwnerThread;
187 if (!Thread)
214 Thread->AcquiredMutexList = ObjDesc->Mutex.Next;
224 * Thread - Current executing thread object
235 ACPI_THREAD_STATE *Thread)
240 ListHead = Thread->AcquiredMutexList;
256 Thread->AcquiredMutexList = ObjDesc;
374 if (!WalkState->Thread)
386 if (WalkState->Thread->CurrentSyncLevel > ObjDesc->Mutex.SyncLevel)
392 WalkState->Thread->CurrentSyncLevel));
397 "Acquiring: Mutex SyncLevel %u, Thread SyncLevel %u, "
399 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel,
400 ObjDesc->Mutex.AcquisitionDepth, WalkState->Thread));
403 ObjDesc, WalkState->Thread->ThreadId);
407 /* Save Thread object, original/current sync levels */
409 ObjDesc->Mutex.OwnerThread = WalkState->Thread;
411 WalkState->Thread->CurrentSyncLevel;
412 WalkState->Thread->CurrentSyncLevel =
417 AcpiExLinkMutex (ObjDesc, WalkState->Thread);
421 "Acquired: Mutex SyncLevel %u, Thread SyncLevel %u, Depth %u\n",
422 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel,
547 if (!WalkState->Thread)
559 if ((OwnerThread->ThreadId != WalkState->Thread->ThreadId) &&
563 "Thread %u cannot release Mutex [%4.4s] acquired by thread %u",
564 (UINT32) WalkState->Thread->ThreadId,
583 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel));
596 "Releasing: Object SyncLevel %u, Thread SyncLevel %u, "
598 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel,
600 WalkState->Thread));
616 "Released: Object SyncLevel %u, Thread SyncLevel, %u, "
618 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel,
629 * PARAMETERS: Thread - Current executing thread object
645 ACPI_THREAD_STATE *Thread)
647 ACPI_OPERAND_OBJECT *Next = Thread->AcquiredMutexList;
677 /* Update Thread SyncLevel (Last mutex is the important one) */
679 Thread->CurrentSyncLevel = ObjDesc->Mutex.OriginalSyncLevel;