asllookup.c (197104) | asllookup.c (199337) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: asllookup- Namespace lookup 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 512 unchanged lines hidden (view full) --- 521 /* File header */ 522 523 FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "Contents of ACPI Namespace\n\n"); 524 FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "Count Depth Name - Type\n\n"); 525 526 /* Walk entire namespace from the root */ 527 528 Status = AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, | 1/****************************************************************************** 2 * 3 * Module Name: asllookup- Namespace lookup 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 512 unchanged lines hidden (view full) --- 521 /* File header */ 522 523 FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "Contents of ACPI Namespace\n\n"); 524 FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "Count Depth Name - Type\n\n"); 525 526 /* Walk entire namespace from the root */ 527 528 Status = AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, |
529 ACPI_UINT32_MAX, FALSE, LsDoOneNamespaceObject, | 529 ACPI_UINT32_MAX, FALSE, LsDoOneNamespaceObject, NULL, |
530 NULL, NULL); 531 532 /* Print the full pathname for each namespace node */ 533 534 FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "\nNamespace pathnames\n\n"); 535 536 Status = AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, | 530 NULL, NULL); 531 532 /* Print the full pathname for each namespace node */ 533 534 FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "\nNamespace pathnames\n\n"); 535 536 Status = AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, |
537 ACPI_UINT32_MAX, FALSE, LsDoOnePathname, | 537 ACPI_UINT32_MAX, FALSE, LsDoOnePathname, NULL, |
538 NULL, NULL); 539 540 return (Status); 541} 542 543 544/******************************************************************************* 545 * --- 47 unchanged lines hidden (view full) --- 593 char *Name) 594{ 595 ACPI_STATUS Status; 596 597 598 /* Walk entire namespace from the supplied root */ 599 600 Status = AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, | 538 NULL, NULL); 539 540 return (Status); 541} 542 543 544/******************************************************************************* 545 * --- 47 unchanged lines hidden (view full) --- 593 char *Name) 594{ 595 ACPI_STATUS Status; 596 597 598 /* Walk entire namespace from the supplied root */ 599 600 Status = AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, |
601 ACPI_UINT32_MAX, FALSE, LsCompareOneNamespaceObject, | 601 ACPI_UINT32_MAX, FALSE, LsCompareOneNamespaceObject, NULL, |
602 Name, NULL); 603 if (Status == AE_CTRL_TRUE) 604 { 605 /* At least one instance of the name was found */ 606 607 return (TRUE); 608 } 609 --- 138 unchanged lines hidden (view full) --- 748void 749LkFindUnreferencedObjects ( 750 void) 751{ 752 753 /* Walk entire namespace from the supplied root */ 754 755 (void) AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, | 602 Name, NULL); 603 if (Status == AE_CTRL_TRUE) 604 { 605 /* At least one instance of the name was found */ 606 607 return (TRUE); 608 } 609 --- 138 unchanged lines hidden (view full) --- 748void 749LkFindUnreferencedObjects ( 750 void) 751{ 752 753 /* Walk entire namespace from the supplied root */ 754 755 (void) AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, |
756 ACPI_UINT32_MAX, FALSE, LkIsObjectUsed, | 756 ACPI_UINT32_MAX, FALSE, LkIsObjectUsed, NULL, |
757 NULL, NULL); 758} 759 760 761/******************************************************************************* 762 * 763 * FUNCTION: LkCrossReferenceNamespace 764 * --- 676 unchanged lines hidden --- | 757 NULL, NULL); 758} 759 760 761/******************************************************************************* 762 * 763 * FUNCTION: LkCrossReferenceNamespace 764 * --- 676 unchanged lines hidden --- |