Lines Matching refs:Thread
165 ACPI_THREAD_STATE *Thread);
184 ACPI_THREAD_STATE *Thread = ObjDesc->Mutex.OwnerThread; in AcpiExUnlinkMutex() local
187 if (!Thread) in AcpiExUnlinkMutex()
214 Thread->AcquiredMutexList = ObjDesc->Mutex.Next; in AcpiExUnlinkMutex()
235 ACPI_THREAD_STATE *Thread) in AcpiExLinkMutex() argument
240 ListHead = Thread->AcquiredMutexList; in AcpiExLinkMutex()
256 Thread->AcquiredMutexList = ObjDesc; in AcpiExLinkMutex()
374 if (!WalkState->Thread) in AcpiExAcquireMutex()
386 if (WalkState->Thread->CurrentSyncLevel > ObjDesc->Mutex.SyncLevel) in AcpiExAcquireMutex()
392 WalkState->Thread->CurrentSyncLevel)); in AcpiExAcquireMutex()
399 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel, in AcpiExAcquireMutex()
400 ObjDesc->Mutex.AcquisitionDepth, WalkState->Thread)); in AcpiExAcquireMutex()
403 ObjDesc, WalkState->Thread->ThreadId); in AcpiExAcquireMutex()
409 ObjDesc->Mutex.OwnerThread = WalkState->Thread; in AcpiExAcquireMutex()
411 WalkState->Thread->CurrentSyncLevel; in AcpiExAcquireMutex()
412 WalkState->Thread->CurrentSyncLevel = in AcpiExAcquireMutex()
417 AcpiExLinkMutex (ObjDesc, WalkState->Thread); in AcpiExAcquireMutex()
422 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel, in AcpiExAcquireMutex()
547 if (!WalkState->Thread) in AcpiExReleaseMutex()
559 if ((OwnerThread->ThreadId != WalkState->Thread->ThreadId) && in AcpiExReleaseMutex()
564 (UINT32) WalkState->Thread->ThreadId, in AcpiExReleaseMutex()
583 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel)); in AcpiExReleaseMutex()
598 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel, in AcpiExReleaseMutex()
600 WalkState->Thread)); in AcpiExReleaseMutex()
618 ObjDesc->Mutex.SyncLevel, WalkState->Thread->CurrentSyncLevel, in AcpiExReleaseMutex()
645 ACPI_THREAD_STATE *Thread) in AcpiExReleaseAllMutexes() argument
647 ACPI_OPERAND_OBJECT *Next = Thread->AcquiredMutexList; in AcpiExReleaseAllMutexes()
679 Thread->CurrentSyncLevel = ObjDesc->Mutex.OriginalSyncLevel; in AcpiExReleaseAllMutexes()