Lines Matching refs:MethodInfo

168     ASL_METHOD_INFO         *MethodInfo);
197 ASL_METHOD_INFO *MethodInfo = WalkInfo->MethodStack; in MtMethodAnalysisWalkBegin() local
218 OtXrefWalkPart1 (Op, Level, MethodInfo); in MtMethodAnalysisWalkBegin()
229 MethodInfo = UtLocalCalloc (sizeof (ASL_METHOD_INFO)); in MtMethodAnalysisWalkBegin()
230 MethodInfo->Next = WalkInfo->MethodStack; in MtMethodAnalysisWalkBegin()
231 MethodInfo->Op = Op; in MtMethodAnalysisWalkBegin()
233 WalkInfo->MethodStack = MethodInfo; in MtMethodAnalysisWalkBegin()
277 MethodInfo->NumArguments = (UINT8) in MtMethodAnalysisWalkBegin()
283 MethodInfo->ShouldBeSerialized = (UINT8) Next->Asl.Value.Integer; in MtMethodAnalysisWalkBegin()
294 MethodInfo->ValidReturnTypes = MtProcessTypeOp (NextType); in MtMethodAnalysisWalkBegin()
295 Op->Asl.AcpiBtype |= MethodInfo->ValidReturnTypes; in MtMethodAnalysisWalkBegin()
308 ActualArgs = MethodInfo->NumArguments; in MtMethodAnalysisWalkBegin()
313 MethodInfo->ValidArgTypes); in MtMethodAnalysisWalkBegin()
314 MethodInfo->NumArguments = ActualArgs; in MtMethodAnalysisWalkBegin()
318 if ((MethodInfo->NumArguments) && in MtMethodAnalysisWalkBegin()
319 (MethodInfo->NumArguments != ActualArgs)) in MtMethodAnalysisWalkBegin()
329 if ((!MethodInfo->NumArguments) && (ActualArgs)) in MtMethodAnalysisWalkBegin()
331 MethodInfo->NumArguments = ActualArgs; in MtMethodAnalysisWalkBegin()
340 for (i = 0; i < MethodInfo->NumArguments; i++) in MtMethodAnalysisWalkBegin()
342 MethodInfo->ArgInitialized[i] = TRUE; in MtMethodAnalysisWalkBegin()
350 if (MethodInfo && in MtMethodAnalysisWalkBegin()
351 (Op->Asl.Node == MethodInfo->Op->Asl.Node)) in MtMethodAnalysisWalkBegin()
353 if (MethodInfo->CreatesNamedObjects) in MtMethodAnalysisWalkBegin()
364 Op->Asl.Value.String, ASL_MSG_FOUND_HERE, MethodInfo->Op, in MtMethodAnalysisWalkBegin()
365 MethodInfo->Op->Asl.ExternalName); in MtMethodAnalysisWalkBegin()
385 if (!MethodInfo) in MtMethodAnalysisWalkBegin()
404 MethodInfo->LocalInitialized[RegisterNumber] = TRUE; in MtMethodAnalysisWalkBegin()
413 else if ((!MethodInfo->LocalInitialized[RegisterNumber]) && in MtMethodAnalysisWalkBegin()
429 if (!MethodInfo) in MtMethodAnalysisWalkBegin()
449 MethodInfo->ArgInitialized[RegisterNumber] = TRUE; in MtMethodAnalysisWalkBegin()
458 else if ((!MethodInfo->ArgInitialized[RegisterNumber]) && in MtMethodAnalysisWalkBegin()
466 if (RegisterNumber >= MethodInfo->NumArguments) in MtMethodAnalysisWalkBegin()
474 if (!MethodInfo) in MtMethodAnalysisWalkBegin()
496 MethodInfo->NumReturnWithValue++; in MtMethodAnalysisWalkBegin()
500 MethodInfo->NumReturnNoValue++; in MtMethodAnalysisWalkBegin()
681 MtCheckNamedObjectInMethod (Op, MethodInfo); in MtMethodAnalysisWalkBegin()
779 ASL_METHOD_INFO *MethodInfo) in MtCheckNamedObjectInMethod() argument
795 if (!MethodInfo) in MtCheckNamedObjectInMethod()
820 ExternalPath = AcpiNsGetNormalizedPathname (MethodInfo->Op->Asl.Node, TRUE); in MtCheckNamedObjectInMethod()
832 MethodInfo->CreatesNamedObjects = TRUE; in MtCheckNamedObjectInMethod()
833 if (!MethodInfo->ShouldBeSerialized) in MtCheckNamedObjectInMethod()
835 AslError (ASL_REMARK, ASL_MSG_SERIALIZED_REQUIRED, MethodInfo->Op, in MtCheckNamedObjectInMethod()
840 MethodInfo->ShouldBeSerialized = TRUE; in MtCheckNamedObjectInMethod()
920 ASL_METHOD_INFO *MethodInfo = WalkInfo->MethodStack; in MtMethodAnalysisWalkEnd() local
929 if (!MethodInfo) in MtMethodAnalysisWalkEnd()
949 WalkInfo->MethodStack = MethodInfo->Next; in MtMethodAnalysisWalkEnd()
963 MethodInfo->NumReturnNoValue++; in MtMethodAnalysisWalkEnd()
971 if (MethodInfo->NumReturnNoValue && in MtMethodAnalysisWalkEnd()
972 MethodInfo->NumReturnWithValue) in MtMethodAnalysisWalkEnd()
992 if (MethodInfo->NumReturnNoValue) in MtMethodAnalysisWalkEnd()
994 if (MethodInfo->NumReturnWithValue) in MtMethodAnalysisWalkEnd()
1009 if (ApCheckForPredefinedMethod (Op, MethodInfo)) in MtMethodAnalysisWalkEnd()
1022 ACPI_FREE (MethodInfo); in MtMethodAnalysisWalkEnd()
1038 ApCheckPredefinedReturnValue (Op, MethodInfo); in MtMethodAnalysisWalkEnd()
1048 Op->Asl.ParentMethod = MethodInfo->Op; in MtMethodAnalysisWalkEnd()