nssearch.c (114237) | nssearch.c (117521) |
---|---|
1/******************************************************************************* 2 * 3 * Module Name: nssearch - Namespace search | 1/******************************************************************************* 2 * 3 * Module Name: nssearch - Namespace search |
4 * $Revision: 95 $ | 4 * $Revision: 97 $ |
5 * 6 ******************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp. --- 177 unchanged lines hidden (view full) --- 190 /* Check for match against the name */ 191 192 if (NextNode->Name.Integer == TargetName) 193 { 194 /* 195 * Found matching entry. 196 */ 197 ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, | 5 * 6 ******************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp. --- 177 unchanged lines hidden (view full) --- 190 /* Check for match against the name */ 191 192 if (NextNode->Name.Integer == TargetName) 193 { 194 /* 195 * Found matching entry. 196 */ 197 ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, |
198 "Name %4.4s Type [%s] found at %p\n", 199 (char *) &TargetName, AcpiUtGetTypeName (NextNode->Type), NextNode)); | 198 "Name %4.4s Type [%s] found in scope [%4.4s] %p\n", 199 (char *) &TargetName, AcpiUtGetTypeName (NextNode->Type), 200 NextNode->Name.Ascii, NextNode)); |
200 201 *ReturnNode = NextNode; 202 return_ACPI_STATUS (AE_OK); 203 } 204 205 /* 206 * The last entry in the list points back to the parent, 207 * so a flag is used to indicate the end-of-list --- 7 unchanged lines hidden (view full) --- 215 216 /* Didn't match name, move on to the next peer object */ 217 218 NextNode = NextNode->Peer; 219 } 220 221 /* Searched entire namespace level, not found */ 222 | 201 202 *ReturnNode = NextNode; 203 return_ACPI_STATUS (AE_OK); 204 } 205 206 /* 207 * The last entry in the list points back to the parent, 208 * so a flag is used to indicate the end-of-list --- 7 unchanged lines hidden (view full) --- 216 217 /* Didn't match name, move on to the next peer object */ 218 219 NextNode = NextNode->Peer; 220 } 221 222 /* Searched entire namespace level, not found */ 223 |
223 ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, "Name %4.4s Type [%s] not found at %p\n", 224 (char *) &TargetName, AcpiUtGetTypeName (Type), NextNode)); | 224 ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, 225 "Name %4.4s Type [%s] not found in search in scope [%4.4s] %p first child %p\n", 226 (char *) &TargetName, AcpiUtGetTypeName (Type), 227 Node->Name.Ascii, Node, Node->Child)); |
225 226 return_ACPI_STATUS (AE_NOT_FOUND); 227} 228 229 230/******************************************************************************* 231 * 232 * FUNCTION: AcpiNsSearchParentTree --- 228 unchanged lines hidden --- | 228 229 return_ACPI_STATUS (AE_NOT_FOUND); 230} 231 232 233/******************************************************************************* 234 * 235 * FUNCTION: AcpiNsSearchParentTree --- 228 unchanged lines hidden --- |