48 #define _COMPONENT ACPI_NAMESPACE
65 #ifdef ACPI_DBG_TRACK_ALLOCATIONS
78 #ifdef ACPI_DBG_TRACK_ALLOCATIONS
79 temp = acpi_gbl_ns_node_list->total_allocated -
80 acpi_gbl_ns_node_list->total_freed;
81 if (temp > acpi_gbl_ns_node_list->max_occupied) {
82 acpi_gbl_ns_node_list->max_occupied =
temp;
126 if (obj_desc->
data.handler) {
127 obj_desc->
data.handler(node, obj_desc->
data.pointer);
139 node, acpi_gbl_current_node_count));
162 parent_node = node->
parent;
165 next_node = parent_node->
child;
169 while (next_node != node) {
171 next_node = next_node->
peer;
246 child_node = parent_node->
child;
253 while (child_node->
peer) {
254 child_node = child_node->
peer;
266 "%4.4s (%s) [Node %p Owner %X] added to %4.4s (%s) [Node %p]\n",
302 next_node = parent_node->
child;
307 if (next_node->
child) {
309 parent_node, next_node));
317 next_node = next_node->
peer;
376 if (child_node->
child) {
382 parent_node = child_node;
404 parent_node = parent_node->
parent;
449 deletion_node =
NULL;
468 deletion_node =
NULL;
472 if (child_node->
owner_id == owner_id) {
481 if (child_node->
child) {
487 parent_node = child_node;
489 }
else if (child_node->
owner_id == owner_id) {
490 deletion_node = child_node;
499 if (parent_node->
owner_id == owner_id) {
510 parent_node = parent_node->
parent;