Home
last modified time | relevance | path

Searched refs:Mutex (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/common/acpica/executer/
H A Dexmutex.c184 ACPI_THREAD_STATE *Thread = ObjDesc->Mutex.OwnerThread; in AcpiExUnlinkMutex()
194 if (ObjDesc->Mutex.Next) in AcpiExUnlinkMutex()
196 (ObjDesc->Mutex.Next)->Mutex.Prev = ObjDesc->Mutex.Prev; in AcpiExUnlinkMutex()
199 if (ObjDesc->Mutex.Prev) in AcpiExUnlinkMutex()
201 (ObjDesc->Mutex.Prev)->Mutex.Next = ObjDesc->Mutex.Next; in AcpiExUnlinkMutex()
209 (ObjDesc->Mutex.Prev)->Mutex.OriginalSyncLevel = in AcpiExUnlinkMutex()
210 ObjDesc->Mutex.OriginalSyncLevel; in AcpiExUnlinkMutex()
214 Thread->AcquiredMutexList = ObjDesc->Mutex.Next; in AcpiExUnlinkMutex()
244 ObjDesc->Mutex.Prev = NULL; in AcpiExLinkMutex()
245 ObjDesc->Mutex.Next = ListHead; in AcpiExLinkMutex()
[all …]
H A Dexsystem.c229 ACPI_MUTEX Mutex, in AcpiExSystemWaitMutex() argument
238 Status = AcpiOsAcquireMutex (Mutex, ACPI_DO_NOT_WAIT); in AcpiExSystemWaitMutex()
249 Status = AcpiOsAcquireMutex (Mutex, Timeout); in AcpiExSystemWaitMutex()
H A Dexcreate.c337 Status = AcpiOsCreateMutex (&ObjDesc->Mutex.OsMutex); in AcpiExCreateMutex()
345 ObjDesc->Mutex.SyncLevel = (UINT8) WalkState->Operands[1]->Integer.Value; in AcpiExCreateMutex()
346 ObjDesc->Mutex.Node = (ACPI_NAMESPACE_NODE *) WalkState->Operands[0]; in AcpiExCreateMutex()
349 ObjDesc->Mutex.Node, ObjDesc, ACPI_TYPE_MUTEX); in AcpiExCreateMutex()
H A Dexdump.c257 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Method.Mutex), "Mutex"},
267 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Mutex.SyncLevel), "Sync Level"},
268 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Mutex.OriginalSyncLevel), "Original Sync Level"},
269 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Mutex.OwnerThread), "Owner Thread"},
270 {ACPI_EXD_UINT16, ACPI_EXD_OFFSET (Mutex.AcquisitionDepth), "Acquire Depth"},
271 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Mutex.OsMutex), "OsMutex"}
/illumos-gate/usr/src/common/acpica/dispatcher/
H A Ddsmethod.c429 Status = AcpiOsCreateMutex (&MutexDesc->Mutex.OsMutex); in AcpiDsCreateMethodMutex()
436 MutexDesc->Mutex.SyncLevel = MethodDesc->Method.SyncLevel; in AcpiDsCreateMethodMutex()
437 MethodDesc->Method.Mutex = MutexDesc; in AcpiDsCreateMethodMutex()
497 if (!ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
520 ObjDesc->Method.Mutex->Mutex.SyncLevel)) in AcpiDsBeginMethodExecution()
536 !ObjDesc->Method.Mutex->Mutex.ThreadId || in AcpiDsBeginMethodExecution()
538 ObjDesc->Method.Mutex->Mutex.ThreadId)) in AcpiDsBeginMethodExecution()
545 ObjDesc->Method.Mutex->Mutex.OsMutex, ACPI_WAIT_FOREVER); in AcpiDsBeginMethodExecution()
555 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel = in AcpiDsBeginMethodExecution()
558 ObjDesc->Method.Mutex->Mutex.ThreadId = in AcpiDsBeginMethodExecution()
[all …]
/illumos-gate/usr/src/common/acpica/utilities/
H A Dutmutex.c311 if (!AcpiGbl_MutexInfo[MutexId].Mutex) in AcpiUtCreateMutex()
313 Status = AcpiOsCreateMutex (&AcpiGbl_MutexInfo[MutexId].Mutex); in AcpiUtCreateMutex()
342 AcpiOsDeleteMutex (AcpiGbl_MutexInfo[MutexId].Mutex); in AcpiUtDeleteMutex()
344 AcpiGbl_MutexInfo[MutexId].Mutex = NULL; in AcpiUtDeleteMutex()
422 AcpiGbl_MutexInfo[MutexId].Mutex, ACPI_WAIT_FOREVER); in AcpiUtAcquireMutex()
516 AcpiOsReleaseMutex (AcpiGbl_MutexInfo[MutexId].Mutex); in AcpiUtReleaseMutex()
H A Dutdelete.c289 Object, Object->Mutex.OsMutex)); in AcpiUtDeleteInternalObj()
298 AcpiOsDeleteMutex (Object->Mutex.OsMutex); in AcpiUtDeleteInternalObj()
304 AcpiOsDeleteMutex (Object->Mutex.OsMutex); in AcpiUtDeleteInternalObj()
325 if (Object->Method.Mutex) in AcpiUtDeleteInternalObj()
327 AcpiOsDeleteMutex (Object->Method.Mutex->Mutex.OsMutex); in AcpiUtDeleteInternalObj()
328 AcpiUtDeleteObjectDesc (Object->Method.Mutex); in AcpiUtDeleteInternalObj()
329 Object->Method.Mutex = NULL; in AcpiUtDeleteInternalObj()
H A Dutxfmutex.c276 Status = AcpiOsAcquireMutex (MutexObj->Mutex.OsMutex, Timeout); in AcpiAcquireMutex()
319 AcpiOsReleaseMutex (MutexObj->Mutex.OsMutex); in ACPI_EXPORT_SYMBOL()
H A Dutinit.c268 AcpiGbl_MutexInfo[i].Mutex = NULL; in AcpiUtInitGlobals()
H A Dutcopy.c940 Status = AcpiOsCreateMutex (&DestDesc->Mutex.OsMutex); in AcpiUtCopySimpleObject()
/illumos-gate/usr/src/common/acpica/events/
H A Devglock.c353 Status = AcpiExSystemWaitMutex (AcpiGbl_GlobalLockMutex->Mutex.OsMutex, in AcpiEvAcquireGlobalLock()
483 AcpiOsReleaseMutex (AcpiGbl_GlobalLockMutex->Mutex.OsMutex); in AcpiEvReleaseGlobalLock()
/illumos-gate/usr/src/common/acpica/namespace/
H A Dnsaccess.c312 ObjDesc->Mutex.Node = NewNode; in AcpiNsRootInitialize()
313 ObjDesc->Mutex.SyncLevel = (UINT8) (ACPI_TO_INTEGER (Val) - 1); in AcpiNsRootInitialize()
317 Status = AcpiOsCreateMutex (&ObjDesc->Mutex.OsMutex); in AcpiNsRootInitialize()
H A Dnseval.c520 Next = Next->Method.Mutex; in AcpiNsExecModuleCodeList()
524 Prev->Method.Mutex = NULL; in AcpiNsExecModuleCodeList()
H A Dnsutils.c818 Next = Next->Method.Mutex; in AcpiNsTerminate()
819 Prev->Method.Mutex = NULL; /* Clear the Mutex (cheated) field */ in AcpiNsTerminate()
/illumos-gate/usr/src/uts/intel/sys/acpi/
H A Dacobject.h326 union acpi_operand_object *Mutex; member
630 ACPI_OBJECT_MUTEX Mutex; member
H A Dacinterp.h533 ACPI_MUTEX Mutex,
H A Daclocal.h241 ACPI_MUTEX Mutex; member
/illumos-gate/usr/src/common/acpica/parser/
H A Dpsloop.c486 Next = Next->Method.Mutex; in AcpiPsLinkModuleCode()
534 Prev->Method.Mutex = MethodObj; in AcpiPsLinkModuleCode()
/illumos-gate/usr/src/lib/libima/common/
H A Dima-lib.c296 static BOOL os_createmutex(HANDLE Mutex) { in os_createmutex() argument
297 Mutex = CreateMutex(NULL, FALSE, NULL); in os_createmutex()
299 if (Mutex == NULL) { in os_createmutex()
306 static void os_destroymutex(HANDLE Mutex) { in os_destroymutex() argument
307 if (Mutex != NULL) { in os_destroymutex()
308 CloseHandle(Mutex); in os_destroymutex()
313 static void os_obtainmutex(HANDLE Mutex) { in os_obtainmutex() argument
314 WaitForSingleObject(Mutex, INFINITE); in os_obtainmutex()
317 static void os_releasemutex(HANDLE Mutex) { in os_releasemutex() argument
318 ReleaseMutex(Mutex); in os_releasemutex()
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dchanges.txt554 Mutex, ThermalZone, etc., as per the ACPI specification.
593 neither operand can be a non-data object such as a Device, Mutex,
5564 Fixed a possible problem with the AML Mutex handling function
6252 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
6954 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
8729 in concert with the Mutex SyncLevel parameter, since the current
10559 An error message is now generated for the Mutex and Method operators if
13546 Mutex/Event timeouts even though the ASL code requested a wait
13670 problems with ASL Mutex objects and error messages for GPE
14337 most of the name creation operators (Name, Device, Event, Mutex,
[all …]