Home
last modified time | relevance | path

Searched refs:Thread (Results 1 – 25 of 28) sorted by relevance

12

/acpica-latest/source/components/executer/
Dexmutex.c165 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()
[all …]
/acpica-latest/source/components/dispatcher/
Ddswstate.c603 ACPI_THREAD_STATE *Thread) in AcpiDsGetCurrentWalkState() argument
608 if (!Thread) in AcpiDsGetCurrentWalkState()
614 Thread->WalkStateList)); in AcpiDsGetCurrentWalkState()
616 return (Thread->WalkStateList); in AcpiDsGetCurrentWalkState()
636 ACPI_THREAD_STATE *Thread) in AcpiDsPushWalkState() argument
641 WalkState->Next = Thread->WalkStateList; in AcpiDsPushWalkState()
642 Thread->WalkStateList = WalkState; in AcpiDsPushWalkState()
664 ACPI_THREAD_STATE *Thread) in AcpiDsPopWalkState() argument
672 WalkState = Thread->WalkStateList; in AcpiDsPopWalkState()
678 Thread->WalkStateList = WalkState->Next; in AcpiDsPopWalkState()
[all …]
Ddsmethod.c519 (WalkState->Thread->CurrentSyncLevel > in AcpiDsBeginMethodExecution()
526 WalkState->Thread->CurrentSyncLevel)); in AcpiDsBeginMethodExecution()
537 (WalkState->Thread->ThreadId != in AcpiDsBeginMethodExecution()
556 WalkState->Thread->CurrentSyncLevel; in AcpiDsBeginMethodExecution()
559 WalkState->Thread->ThreadId; in AcpiDsBeginMethodExecution()
571 WalkState->Thread->CurrentSyncLevel = in AcpiDsBeginMethodExecution()
640 ACPI_THREAD_STATE *Thread, in AcpiDsCallControlMethod() argument
685 ObjDesc->Method.OwnerId, NULL, ObjDesc, Thread); in AcpiDsCallControlMethod()
771 AcpiDsPopWalkState(Thread); in AcpiDsCallControlMethod()
959 WalkState->Thread->CurrentSyncLevel = in AcpiDsTerminateControlMethod()
Ddsdebug.c246 ACPI_THREAD_STATE *Thread; in AcpiDsDumpMethodStack() local
276 Thread = WalkState->Thread; in AcpiDsDumpMethodStack()
277 if (!Thread) in AcpiDsDumpMethodStack()
294 NextWalkState = Thread->WalkStateList; in AcpiDsDumpMethodStack()
/acpica-latest/source/components/parser/
Dpsparse.c565 ACPI_THREAD_STATE *Thread; in AcpiPsParseAml() local
584 Thread = AcpiUtCreateThreadState (); in AcpiPsParseAml()
585 if (!Thread) in AcpiPsParseAml()
598 WalkState->Thread = Thread; in AcpiPsParseAml()
606 WalkState->Thread->CurrentSyncLevel = in AcpiPsParseAml()
610 AcpiDsPushWalkState (WalkState, Thread); in AcpiPsParseAml()
616 AcpiGbl_CurrentWalkList = Thread; in AcpiPsParseAml()
658 Status = AcpiDsCallControlMethod (Thread, WalkState, NULL); in AcpiPsParseAml()
668 WalkState = AcpiDsGetCurrentWalkState (Thread); in AcpiPsParseAml()
712 WalkState = AcpiDsPopWalkState (Thread); in AcpiPsParseAml()
[all …]
/acpica-latest/tests/aslts/src/runtime/collections/bdemo/ACPICA/0240_ACTION_REQUIRED/
DDECL.asl54 * Thread 0 Acquires the Global lock (\_GL),
66 Store("Thread 0: start of cycle", Debug)
70 Store("Thread 0: failed to Acquire GL", Debug)
73 Store("Thread 0: succeeded to Acquire GL", Debug)
82 Store("Thread 1: start of cycle", Debug)
85 Store("Thread 1: before attempt to Release GL", Debug)
88 Store("Thread 1: after attempt to Release GL", Debug)
117 Store("Thread 0: start of cycle", Debug)
121 Store("Thread 0: failed to Acquire MX00", Debug)
124 Store("Thread 0: succeeded to Acquire MX00", Debug)
[all …]
DMAIN.asl53 * The thread of Index 0 is considered as Control Thread.
58 /* Non-zero Local0 means the current thread is a Control Thread */
DRUN.asl30 * Run printing only on the Control Thread (non-zero Local0).
/acpica-latest/tests/aslts/src/runtime/collections/mt/mutex/
Dmutex.asl41 and Ctl Thread do mf00()
77 * specified and controlled by the Control Thread.
81 /* Control Thread */
84 * by the Control Thread only
157 * specified and controlled by the Control Thread.
161 /* Control Thread */
213 * specified and controlled by the Control Thread.
217 /* Control Thread */
267 * specified and controlled by the Control Thread.
271 /* Control Thread */
[all …]
DSPEC3 Thread means below the Worker thread
40 The 0-th thread, so-called Control Thread, is not counted in this entry.
325 1. Thread thr-i Acquires successfully mutex M0 of (i-1)-th index for N times
327 3. Thread thr-i Acquires successfully mutex M0 for N times again
328 4. Thread thr-i Releases mutex M0 for 2*N times
330 6. Thread thr-j Releases M0
355 1. Thread thr-N Acquires all the mutexes on all levels
356 2. Thread thr-1 tries to Acquire all the same mutexes and gets FAIL (TimeOutValue is not 0xFFFF)
357 3. Thread thr-N terminates
358 4. Thread thr-1 tries to Acquire all those mutexes again and gets success (TimeOutValue is 0xFFFF)
[all …]
Dtests.asl30 * Control Thread and fulfilled by the Worker Threads (Workers).
177 /* === Thread 1 === */
200 /* === Thread 2 === */
228 /* === Thread 2 === */
242 /* === Thread 1 === */
256 /* === Thread 2 === */
1852 /* 1. Thread thr-i Acquires successfully mutex M0 of (i-1)-th index for N times */
1875 /* 3. Thread thr-i Acquires successfully mutex M0 for N times again */
1893 /* 4. Thread thr-i Releases mutex M0 for 2*N times */
1914 * 6. Thread thr-j Release M0
[all …]
DMAIN.asl47 * The thread of Index 0 is considered as Control Thread.
58 /* Non-zero Local0 means the current thread is a Control Thread */
Dcommon.asl43 * Control Thread - the thread with index equal to 0
52 * Note: this value includes the Control Thread too.
93 * 1 - allow only for Control Thread to report
354 * The Control Thread manages and controls the specified testing strategy
361 * managed and controlled by the Control Thread
936 If (Local3){ /* Thread already completed by c108 */
DRUN.asl29 * Run printing only on the Control Thread (non-zero Local0).
Dmt_access.asl134 * Thread 1 waits for all the worker threads to
/acpica-latest/source/include/
Dacdispat.h374 ACPI_THREAD_STATE *Thread,
541 ACPI_THREAD_STATE *Thread);
564 ACPI_THREAD_STATE *Thread);
569 ACPI_THREAD_STATE *Thread);
577 ACPI_THREAD_STATE *Thread);
Dacstruct.h235 ACPI_THREAD_STATE *Thread; member
Dacinterp.h479 ACPI_THREAD_STATE *Thread);
Daclocal.h945 ACPI_THREAD_STATE Thread; member
/acpica-latest/source/components/debugger/
Ddbobject.c189 ACPI_THREAD_STATE *Thread; in AcpiDbDumpMethodInfo() local
222 Thread = WalkState->Thread; in AcpiDbDumpMethodInfo()
223 if (!Thread) in AcpiDbDumpMethodInfo()
/acpica-latest/source/components/utilities/
Dutstate.c292 State->Thread.ThreadId = AcpiOsGetThreadId (); in AcpiUtCreateThreadState()
296 if (!State->Thread.ThreadId) in AcpiUtCreateThreadState()
299 State->Thread.ThreadId = (ACPI_THREAD_ID) 1; in AcpiUtCreateThreadState()
/acpica-latest/tests/aslts/src/runtime/collections/bdemo/ACPICA/0239_ACTION_REQUIRED/
DMAIN.asl53 * The thread of Index 0 is considered as Control Thread.
58 /* Non-zero Local0 means the current thread is a Control Thread */
DRUN.asl30 * Run printing only on the Control Thread (non-zero Local0).
/acpica-latest/source/compiler/
Daslstubs.c430 ACPI_THREAD_STATE *Thread, in AcpiDsCallControlMethod() argument
/acpica-latest/tests/aslts/src/runtime/cntl/
Dehandle.asl965 * Return the first encountered exception corresponding to this Thread ID
966 * and the total number of exceptions corresponding to this Thread ID.

12