Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/intel/io/acpica/executer/
H A Dexmutex.c76 ACPI_THREAD_STATE *Thread = ObjDesc->Mutex.OwnerThread; in AcpiExUnlinkMutex()
86 if (ObjDesc->Mutex.Next) in AcpiExUnlinkMutex()
88 (ObjDesc->Mutex.Next)->Mutex.Prev = ObjDesc->Mutex.Prev; in AcpiExUnlinkMutex()
91 if (ObjDesc->Mutex.Prev) in AcpiExUnlinkMutex()
93 (ObjDesc->Mutex.Prev)->Mutex.Next = ObjDesc->Mutex.Next; in AcpiExUnlinkMutex()
101 (ObjDesc->Mutex.Prev)->Mutex.OriginalSyncLevel = in AcpiExUnlinkMutex()
102 ObjDesc->Mutex.OriginalSyncLevel; in AcpiExUnlinkMutex()
106 Thread->AcquiredMutexList = ObjDesc->Mutex.Next; in AcpiExUnlinkMutex()
136 ObjDesc->Mutex.Prev = NULL; in AcpiExLinkMutex()
137 ObjDesc->Mutex.Next = ListHead; in AcpiExLinkMutex()
[all …]
H A Dexsystem.c121 ACPI_MUTEX Mutex, in AcpiExSystemWaitMutex() argument
130 Status = AcpiOsAcquireMutex (Mutex, ACPI_DO_NOT_WAIT); in AcpiExSystemWaitMutex()
141 Status = AcpiOsAcquireMutex (Mutex, Timeout); in AcpiExSystemWaitMutex()
H A Dexcreate.c253 Status = AcpiOsCreateMutex (&ObjDesc->Mutex.OsMutex); in AcpiExCreateMutex()
261 ObjDesc->Mutex.SyncLevel = (UINT8) WalkState->Operands[1]->Integer.Value; in AcpiExCreateMutex()
262 ObjDesc->Mutex.Node = (ACPI_NAMESPACE_NODE *) WalkState->Operands[0]; in AcpiExCreateMutex()
265 ObjDesc->Mutex.Node, ObjDesc, ACPI_TYPE_MUTEX); in AcpiExCreateMutex()
H A Dexdump.c149 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Method.Mutex), "Mutex"},
159 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Mutex.SyncLevel), "Sync Level"},
160 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Mutex.OriginalSyncLevel), "Original Sync Level"},
161 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Mutex.OwnerThread), "Owner Thread"},
162 {ACPI_EXD_UINT16, ACPI_EXD_OFFSET (Mutex.AcquisitionDepth), "Acquire Depth"},
163 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Mutex.OsMutex), "OsMutex"}
/titanic_50/usr/src/uts/intel/io/acpica/dispatcher/
H A Ddsmethod.c313 Status = AcpiOsCreateMutex (&MutexDesc->Mutex.OsMutex); in AcpiDsCreateMethodMutex()
320 MutexDesc->Mutex.SyncLevel = MethodDesc->Method.SyncLevel; in AcpiDsCreateMethodMutex()
321 MethodDesc->Method.Mutex = MutexDesc; in AcpiDsCreateMethodMutex()
381 if (!ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
404 ObjDesc->Method.Mutex->Mutex.SyncLevel)) in AcpiDsBeginMethodExecution()
420 !ObjDesc->Method.Mutex->Mutex.ThreadId || in AcpiDsBeginMethodExecution()
422 ObjDesc->Method.Mutex->Mutex.ThreadId)) in AcpiDsBeginMethodExecution()
429 ObjDesc->Method.Mutex->Mutex.OsMutex, ACPI_WAIT_FOREVER); in AcpiDsBeginMethodExecution()
439 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel = in AcpiDsBeginMethodExecution()
442 ObjDesc->Method.Mutex->Mutex.ThreadId = in AcpiDsBeginMethodExecution()
[all …]
/titanic_50/usr/src/uts/intel/io/acpica/utilities/
H A Dutmutex.c222 if (!AcpiGbl_MutexInfo[MutexId].Mutex) in AcpiUtCreateMutex()
224 Status = AcpiOsCreateMutex (&AcpiGbl_MutexInfo[MutexId].Mutex); in AcpiUtCreateMutex()
253 AcpiOsDeleteMutex (AcpiGbl_MutexInfo[MutexId].Mutex); in AcpiUtDeleteMutex()
255 AcpiGbl_MutexInfo[MutexId].Mutex = NULL; in AcpiUtDeleteMutex()
333 AcpiGbl_MutexInfo[MutexId].Mutex, ACPI_WAIT_FOREVER); in AcpiUtAcquireMutex()
426 AcpiOsReleaseMutex (AcpiGbl_MutexInfo[MutexId].Mutex); in AcpiUtReleaseMutex()
H A Dutdelete.c181 Object, Object->Mutex.OsMutex)); in AcpiUtDeleteInternalObj()
190 AcpiOsDeleteMutex (Object->Mutex.OsMutex); in AcpiUtDeleteInternalObj()
196 AcpiOsDeleteMutex (Object->Mutex.OsMutex); in AcpiUtDeleteInternalObj()
217 if (Object->Method.Mutex) in AcpiUtDeleteInternalObj()
219 AcpiOsDeleteMutex (Object->Method.Mutex->Mutex.OsMutex); in AcpiUtDeleteInternalObj()
220 AcpiUtDeleteObjectDesc (Object->Method.Mutex); in AcpiUtDeleteInternalObj()
221 Object->Method.Mutex = NULL; in AcpiUtDeleteInternalObj()
H A Dutxfmutex.c168 Status = AcpiOsAcquireMutex (MutexObj->Mutex.OsMutex, Timeout); in AcpiAcquireMutex()
209 AcpiOsReleaseMutex (MutexObj->Mutex.OsMutex); in AcpiReleaseMutex()
H A Dutinit.c160 AcpiGbl_MutexInfo[i].Mutex = NULL; in AcpiUtInitGlobals()
H A Dutcopy.c832 Status = AcpiOsCreateMutex (&DestDesc->Mutex.OsMutex); in AcpiUtCopySimpleObject()
/titanic_50/usr/src/uts/intel/io/acpica/events/
H A Devglock.c245 Status = AcpiExSystemWaitMutex (AcpiGbl_GlobalLockMutex->Mutex.OsMutex, in AcpiEvAcquireGlobalLock()
375 AcpiOsReleaseMutex (AcpiGbl_GlobalLockMutex->Mutex.OsMutex); in AcpiEvReleaseGlobalLock()
/titanic_50/usr/src/uts/intel/io/acpica/namespace/
H A Dnsaccess.c201 ObjDesc->Mutex.Node = NewNode; in AcpiNsRootInitialize()
202 ObjDesc->Mutex.SyncLevel = (UINT8) (ACPI_TO_INTEGER (Val) - 1); in AcpiNsRootInitialize()
206 Status = AcpiOsCreateMutex (&ObjDesc->Mutex.OsMutex); in AcpiNsRootInitialize()
H A Dnseval.c386 Next = Next->Method.Mutex; in AcpiNsExecModuleCodeList()
390 Prev->Method.Mutex = NULL; in AcpiNsExecModuleCodeList()
H A Dnsutils.c713 Next = Next->Method.Mutex; in AcpiNsTerminate()
714 Prev->Method.Mutex = NULL; /* Clear the Mutex (cheated) field */ in AcpiNsTerminate()
/titanic_50/usr/src/uts/intel/sys/acpi/
H A Dacobject.h216 union acpi_operand_object *Mutex; member
518 ACPI_OBJECT_MUTEX Mutex; member
H A Dacinterp.h425 ACPI_MUTEX Mutex,
H A Daclocal.h133 ACPI_MUTEX Mutex; member
/titanic_50/usr/src/uts/intel/io/acpica/parser/
H A Dpsloop.c332 Next = Next->Method.Mutex; in AcpiPsLinkModuleCode()
380 Prev->Method.Mutex = MethodObj; in AcpiPsLinkModuleCode()
/titanic_50/usr/src/lib/libima/common/
H A Dima-lib.c294 static BOOL os_createmutex(HANDLE Mutex) { in os_createmutex() argument
295 Mutex = CreateMutex(NULL, FALSE, NULL); in os_createmutex()
297 if (Mutex == NULL) { in os_createmutex()
304 static void os_destroymutex(HANDLE Mutex) { in os_destroymutex() argument
305 if (Mutex != NULL) { in os_destroymutex()
306 CloseHandle(Mutex); in os_destroymutex()
311 static void os_obtainmutex(HANDLE Mutex) { in os_obtainmutex() argument
312 WaitForSingleObject(Mutex, INFINITE); in os_obtainmutex()
315 static void os_releasemutex(HANDLE Mutex) { in os_releasemutex() argument
316 ReleaseMutex(Mutex); in os_releasemutex()
/titanic_50/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 …]