Lines Matching refs:Method
112 Op = AcpiPsAllocOp (AML_METHOD_OP, ObjDesc->Method.AmlStart); in AcpiDsAutoSerializeMethod()
131 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, NULL, 0); in AcpiDsAutoSerializeMethod()
191 WalkState->MethodDesc->Method.SyncLevel = 0; in AcpiDsDetectNamedOpcodes()
192 WalkState->MethodDesc->Method.InfoFlags |= in AcpiDsDetectNamedOpcodes()
320 MutexDesc->Mutex.SyncLevel = MethodDesc->Method.SyncLevel; in AcpiDsCreateMethodMutex()
321 MethodDesc->Method.Mutex = MutexDesc; in AcpiDsCreateMethodMutex()
364 if (ObjDesc->Method.ThreadCount == ACPI_UINT8_MAX) in AcpiDsBeginMethodExecution()
374 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED) in AcpiDsBeginMethodExecution()
381 if (!ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
402 (!(ObjDesc->Method.InfoFlags & ACPI_METHOD_IGNORE_SYNC_LEVEL)) && 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()
452 if (!(ObjDesc->Method.InfoFlags & in AcpiDsBeginMethodExecution()
456 ObjDesc->Method.SyncLevel; in AcpiDsBeginMethodExecution()
461 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel = in AcpiDsBeginMethodExecution()
462 ObjDesc->Method.Mutex->Mutex.SyncLevel; in AcpiDsBeginMethodExecution()
468 ObjDesc->Method.Mutex->Mutex.AcquisitionDepth++; in AcpiDsBeginMethodExecution()
476 if (!ObjDesc->Method.OwnerId) in AcpiDsBeginMethodExecution()
478 Status = AcpiUtAllocateOwnerId (&ObjDesc->Method.OwnerId); in AcpiDsBeginMethodExecution()
489 ObjDesc->Method.ThreadCount++; in AcpiDsBeginMethodExecution()
497 if (ObjDesc->Method.Mutex) in AcpiDsBeginMethodExecution()
499 AcpiOsReleaseMutex (ObjDesc->Method.Mutex->Mutex.OsMutex); in AcpiDsBeginMethodExecution()
566 ObjDesc->Method.OwnerId, NULL, ObjDesc, Thread); in AcpiDsCallControlMethod()
595 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, in AcpiDsCallControlMethod()
608 for (i = 0; i < ObjDesc->Method.ParamCount; i++) in AcpiDsCallControlMethod()
624 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_INTERNAL_ONLY) in AcpiDsCallControlMethod()
626 Status = ObjDesc->Method.Dispatch.Implementation (NextWalkState); in AcpiDsCallControlMethod()
781 if (MethodDesc->Method.Mutex) in AcpiDsTerminateControlMethod()
785 MethodDesc->Method.Mutex->Mutex.AcquisitionDepth--; in AcpiDsTerminateControlMethod()
786 if (!MethodDesc->Method.Mutex->Mutex.AcquisitionDepth) in AcpiDsTerminateControlMethod()
789 MethodDesc->Method.Mutex->Mutex.OriginalSyncLevel; in AcpiDsTerminateControlMethod()
792 MethodDesc->Method.Mutex->Mutex.OsMutex); in AcpiDsTerminateControlMethod()
793 MethodDesc->Method.Mutex->Mutex.ThreadId = 0; in AcpiDsTerminateControlMethod()
805 if (!(MethodDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL) && in AcpiDsTerminateControlMethod()
806 (MethodDesc->Method.ThreadCount == 1)) in AcpiDsTerminateControlMethod()
819 if (MethodDesc->Method.InfoFlags & ACPI_METHOD_MODIFIED_NAMESPACE) in AcpiDsTerminateControlMethod()
821 AcpiNsDeleteNamespaceByOwner (MethodDesc->Method.OwnerId); in AcpiDsTerminateControlMethod()
822 MethodDesc->Method.InfoFlags &= in AcpiDsTerminateControlMethod()
830 if (MethodDesc->Method.ThreadCount) in AcpiDsTerminateControlMethod()
832 MethodDesc->Method.ThreadCount--; in AcpiDsTerminateControlMethod()
842 if (MethodDesc->Method.ThreadCount) in AcpiDsTerminateControlMethod()
850 MethodDesc->Method.ThreadCount)); in AcpiDsTerminateControlMethod()
866 if (MethodDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED_PENDING) in AcpiDsTerminateControlMethod()
887 MethodDesc->Method.InfoFlags &= in AcpiDsTerminateControlMethod()
890 MethodDesc->Method.InfoFlags |= in AcpiDsTerminateControlMethod()
892 MethodDesc->Method.SyncLevel = 0; in AcpiDsTerminateControlMethod()
897 if (!(MethodDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL)) in AcpiDsTerminateControlMethod()
899 AcpiUtReleaseOwnerId (&MethodDesc->Method.OwnerId); in AcpiDsTerminateControlMethod()
903 AcpiExStopTraceMethod ((ACPI_NAMESPACE_NODE *) MethodDesc->Method.Node, in AcpiDsTerminateControlMethod()