FreeBSD/sys/contrib/dev/acpica/components/debugger/dbstats.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiDbCountNamespaceObjects
 *
 * PARAMETERS:  None
 *
 * RETURN:      None
 *
 * DESCRIPTION: Count and classify the entire namespace, including all
 *              namespace nodes and attached objects.
 *
 ******************************************************************************/


None

Count and classify the entire namespace, including all
namespace nodes and attached objects.
None Count and classify the entire namespace including all namespace nodes and attached objects .
static void
AcpiDbCountNamespaceObjects (
    void)
{
    UINT32                  i;
    AcpiGbl_NumNodes = 0;
    AcpiGbl_NumObjects = 0;
    AcpiGbl_ObjTypeCountMisc = 0;
    for (i = 0; i < (ACPI_TYPE_NS_NODE_MAX -1); i++)
    {
        AcpiGbl_ObjTypeCount [i] = 0;
        AcpiGbl_NodeTypeCount [i] = 0;
    }
    (void) AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
        ACPI_UINT32_MAX, FALSE, AcpiDbClassifyOneObject, NULL, NULL, NULL);
}
static void AcpiDbCountNamespaceObjects ( void ) { UINT32 i ; AcpiGbl_NumNodes = 0 ; AcpiGbl_NumObjects = 0 ; AcpiGbl_ObjTypeCountMisc = 0 ; for ( i = 0 ; i < ( ACPI_TYPE_NS_NODE_MAX - 1 ) ; i ++ ) { AcpiGbl_ObjTypeCount [ i ] = 0 ; AcpiGbl_NodeTypeCount [ i ] = 0 ; } ( void ) AcpiNsWalkNamespace ( ACPI_TYPE_ANY , ACPI_ROOT_OBJECT , ACPI_UINT32_MAX , FALSE , AcpiDbClassifyOneObject , NULL , NULL , NULL ) ; }
FUNCTION:    AcpiDbCountNamespaceObjects
 PARAMETERS:  None
FUNCTION : AcpiDbCountNamespaceObjects PARAMETERS : None