1/******************************************************************************* 2 * 3 * Module Name: nseval - Object evaluation interfaces -- includes control 4 * method lookup and execution. |
5 * $Revision: 123 $ |
6 * 7 ******************************************************************************/ 8 9/****************************************************************************** 10 * 11 * 1. Copyright Notice 12 * |
13 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. |
14 * All rights reserved. 15 * 16 * 2. License 17 * 18 * 2.1. This is your license from Intel Corp. under its intellectual property 19 * rights. You may have additional license terms from the party that provided 20 * you this software, covering your right to use that party's intellectual 21 * property rights. --- 161 unchanged lines hidden (view full) --- 183 return_ACPI_STATUS (Status); 184 } 185 186 /* Get the prefix handle and Node */ 187 188 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); 189 if (ACPI_FAILURE (Status)) 190 { |
191 goto Cleanup; |
192 } 193 194 PrefixNode = AcpiNsMapHandleToNode (Handle); 195 if (!PrefixNode) 196 { 197 (void) AcpiUtReleaseMutex (ACPI_MTX_NAMESPACE); 198 Status = AE_BAD_PARAMETER; 199 goto Cleanup; --- 74 unchanged lines hidden (view full) --- 274 if (ACPI_FAILURE (Status)) 275 { 276 return_ACPI_STATUS (Status); 277 } 278 279 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); 280 if (ACPI_FAILURE (Status)) 281 { |
282 goto Cleanup; |
283 } 284 285 /* Lookup the name in the namespace */ 286 287 Status = AcpiNsLookup (NULL, InternalPath, ACPI_TYPE_ANY, 288 ACPI_IMODE_EXECUTE, ACPI_NS_NO_UPSEARCH, NULL, 289 &Node); 290 --- 324 unchanged lines hidden --- |