49#define _COMPONENT ACPI_NAMESPACE
70#ifdef ACPI_DBG_TRACK_ALLOCATIONS
86#ifdef ACPI_DBG_TRACK_ALLOCATIONS
87 Temp = AcpiGbl_NsNodeList->TotalAllocated -
88 AcpiGbl_NsNodeList->TotalFreed;
89 if (Temp > AcpiGbl_NsNodeList->MaxOccupied)
91 AcpiGbl_NsNodeList->MaxOccupied = Temp;
142 ObjDesc =
Node->Object;
153 NextDesc = ObjDesc->
Common.NextObject;
160 if (
Node == AcpiGbl_RootNode)
171 Node, AcpiGbl_CurrentNodeCount));
199 ParentNode =
Node->Parent;
202 NextNode = ParentNode->
Child;
206 while (NextNode !=
Node)
209 NextNode = NextNode->
Peer;
293 Node->Parent = ParentNode;
294 ChildNode = ParentNode->
Child;
304 while (ChildNode->
Peer)
306 ChildNode = ChildNode->
Peer;
318 "%4.4s (%s) [Node %p Owner %3.3X] added to %4.4s (%s) [Node %p]\n",
358 NextNode = ParentNode->
Child;
366 ParentNode, NextNode));
373 NodeToDelete = NextNode;
374 NextNode = NextNode->
Peer;
440 if (ChildNode->
Child)
447 ParentNode = ChildNode;
467 ChildNode = ParentNode;
471 ParentNode = ParentNode->
Parent;
524 ParentNode = AcpiGbl_RootNode;
558 if (ChildNode->
Child)
565 ParentNode = ChildNode;
570 DeletionNode = ChildNode;
584 DeletionNode = ParentNode;
590 ChildNode = ParentNode;
594 ParentNode = ParentNode->
Parent;
#define ACPI_MTX_NAMESPACE
#define ACPI_SET_DESCRIPTOR_TYPE(d, t)
void AcpiNsDetachObject(ACPI_NAMESPACE_NODE *Node)
ACPI_NAMESPACE_NODE * AcpiNsGetNextNode(ACPI_NAMESPACE_NODE *Parent, ACPI_NAMESPACE_NODE *Child)
#define ACPI_DESC_TYPE_NAMED
#define ACPI_METHOD_MODIFIED_NAMESPACE
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_MODULE_NAME(Name)
#define ACPI_DB_ALLOCATIONS
#define ACPI_FUNCTION_TRACE_U32(a, b)
#define ACPI_FUNCTION_TRACE_PTR(a, b)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
#define ACPI_FUNCTION_NAME(a)
ACPI_STATUS AcpiOsReleaseObject(ACPI_CACHE_T *Cache, void *Object)
void * AcpiOsAcquireObject(ACPI_CACHE_T *Cache)
#define ACPI_TYPE_LOCAL_DATA
#define ACPI_MEM_TRACKING(a)
const char * AcpiUtGetTypeName(ACPI_OBJECT_TYPE Type)
ACPI_STATUS AcpiUtAcquireMutex(ACPI_MUTEX_HANDLE MutexId)
const char * AcpiUtGetNodeName(void *Object)
ACPI_STATUS AcpiUtReleaseMutex(ACPI_MUTEX_HANDLE MutexId)
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
_Must_inspect_result_ _In_opt_ PVOID OwnerId
void AcpiNsDeleteChildren(ACPI_NAMESPACE_NODE *ParentNode)
void AcpiNsDeleteNode(ACPI_NAMESPACE_NODE *Node)
void AcpiNsInstallNode(ACPI_WALK_STATE *WalkState, ACPI_NAMESPACE_NODE *ParentNode, ACPI_NAMESPACE_NODE *Node, ACPI_OBJECT_TYPE Type)
void AcpiNsRemoveNode(ACPI_NAMESPACE_NODE *Node)
void AcpiNsDeleteNamespaceSubtree(ACPI_NAMESPACE_NODE *ParentNode)
void AcpiNsDeleteNamespaceByOwner(ACPI_OWNER_ID OwnerId)
ACPI_NAMESPACE_NODE * AcpiNsCreateNode(UINT32 Name)
struct acpi_namespace_node * Child
struct acpi_namespace_node * Parent
struct acpi_namespace_node * Peer
ACPI_OBJECT_COMMON_HEADER ACPI_OBJECT_HANDLER Handler
ACPI_OBJECT_COMMON_HEADER UINT8 InfoFlags
union acpi_operand_object * MethodDesc
struct acpi_namespace_node * MethodNode
ACPI_OBJECT_METHOD Method
ACPI_OBJECT_COMMON Common
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level