Lines Matching refs:Method

74  *              ObjDesc                     - Method object attached to node
107 "Method auto-serialization parse [%4.4s] %p\n",
112 Op = AcpiPsAllocOp (AML_METHOD_OP, ObjDesc->Method.AmlStart);
131 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, NULL, 0);
191 WalkState->MethodDesc->Method.SyncLevel = 0;
192 WalkState->MethodDesc->Method.InfoFlags |=
196 "Method serialized [%4.4s] %p - [%s] (%4.4X)\n",
320 MutexDesc->Mutex.SyncLevel = MethodDesc->Method.SyncLevel;
321 MethodDesc->Method.Mutex = MutexDesc;
364 if (ObjDesc->Method.ThreadCount == ACPI_UINT8_MAX)
367 "Method reached maximum reentrancy limit (255)"));
374 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED)
381 if (!ObjDesc->Method.Mutex)
402 (!(ObjDesc->Method.InfoFlags & ACPI_METHOD_IGNORE_SYNC_LEVEL)) &&
404 ObjDesc->Method.Mutex->Mutex.SyncLevel))
420 !ObjDesc->Method.Mutex->Mutex.ThreadId ||
422 ObjDesc->Method.Mutex->Mutex.ThreadId))
429 ObjDesc->Method.Mutex->Mutex.OsMutex, ACPI_WAIT_FOREVER);
439 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel =
442 ObjDesc->Method.Mutex->Mutex.ThreadId =
452 if (!(ObjDesc->Method.InfoFlags &
456 ObjDesc->Method.SyncLevel;
461 ObjDesc->Method.Mutex->Mutex.OriginalSyncLevel =
462 ObjDesc->Method.Mutex->Mutex.SyncLevel;
464 ObjDesc->Method.Mutex->Mutex.ThreadId =
471 ObjDesc->Method.Mutex->Mutex.AcquisitionDepth++;
479 if (!ObjDesc->Method.OwnerId)
481 Status = AcpiUtAllocateOwnerId (&ObjDesc->Method.OwnerId);
492 ObjDesc->Method.ThreadCount++;
500 if (ObjDesc->Method.Mutex)
502 AcpiOsReleaseMutex (ObjDesc->Method.Mutex->Mutex.OsMutex);
569 ObjDesc->Method.OwnerId, NULL, ObjDesc, Thread);
598 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength,
611 for (i = 0; i < ObjDesc->Method.ParamCount; i++)
627 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_INTERNAL_ONLY)
629 Status = ObjDesc->Method.Dispatch.Implementation (NextWalkState);
745 * PARAMETERS: MethodDesc - Method object
784 if (MethodDesc->Method.Mutex)
788 MethodDesc->Method.Mutex->Mutex.AcquisitionDepth--;
789 if (!MethodDesc->Method.Mutex->Mutex.AcquisitionDepth)
792 MethodDesc->Method.Mutex->Mutex.OriginalSyncLevel;
795 MethodDesc->Method.Mutex->Mutex.OsMutex);
796 MethodDesc->Method.Mutex->Mutex.ThreadId = 0;
808 if (!(MethodDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL) &&
809 (MethodDesc->Method.ThreadCount == 1))
822 if (MethodDesc->Method.InfoFlags & ACPI_METHOD_MODIFIED_NAMESPACE)
824 AcpiNsDeleteNamespaceByOwner (MethodDesc->Method.OwnerId);
825 MethodDesc->Method.InfoFlags &=
833 if (MethodDesc->Method.ThreadCount)
835 MethodDesc->Method.ThreadCount--;
845 if (MethodDesc->Method.ThreadCount)
853 MethodDesc->Method.ThreadCount));
869 if (MethodDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED_PENDING)
880 * Method tried to create an object twice and was marked as
890 MethodDesc->Method.InfoFlags &=
893 MethodDesc->Method.InfoFlags |=
895 MethodDesc->Method.SyncLevel = 0;
900 if (!(MethodDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL))
902 AcpiUtReleaseOwnerId (&MethodDesc->Method.OwnerId);
906 AcpiExStopTraceMethod ((ACPI_NAMESPACE_NODE *) MethodDesc->Method.Node,