ACPI_REPORT_WARNING (("Existing references (%d) on node being deleted (%p)\n", 
ACPI_REPORT_WARNING (( "Existing references (%d) on node being deleted (%p)\n", 
acpi_ns_delete_children (	struct acpi_namespace_node      *parent_node){	struct acpi_namespace_node      *child_node;	struct acpi_namespace_node      *next_node;	struct acpi_namespace_node      *node;	u8                              flags;	ACPI_FUNCTION_TRACE_PTR ("ns_delete_children", parent_node);	if (!parent_node) {		return_VOID;	}	/* If no children, all done! */	child_node = parent_node->child;	if (!child_node) {		return_VOID;	}	/*	 * Deallocate all children at this level	 */	do {		/* Get the things we need */		next_node   = child_node->peer;		flags       = child_node->flags;		/* Grandchildren should have all been deleted already */		if (child_node->child) {			ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Found a grandchild! P=%p C=%p\n",				parent_node, child_node));		}		/* Now we can free this child object */		ACPI_MEM_TRACKING (acpi_gbl_memory_lists[ACPI_MEM_LIST_NSNODE].total_freed++);		ACPI_DEBUG_PRINT ((ACPI_DB_ALLOCATIONS, "Object %p, Remaining %X\n",			child_node, acpi_gbl_current_node_count));		/*		 * Detach an object if there is one, then free the child node		 */		acpi_ns_detach_object (child_node);		/*		 * Decrement the reference count(s) of all parents up to		 * the root! (counts were incremented when the node was created)		 */		node = child_node;		while ((node = acpi_ns_get_parent_node (node)) != NULL) {			node->reference_count--;		}		/* There should be only one reference remaining on this node */		if (child_node->reference_count != 1) {			ACPI_REPORT_WARNING (("Existing references (%d) on node being deleted (%p)\n",				child_node->reference_count, child_node));		}		/* Now we can delete the node */		ACPI_MEM_FREE (child_node);		/* And move on to the next child in the list */		child_node = next_node;	} while (!(flags & ANOBJ_END_OF_PEER_LIST));	/* Clear the parent's child pointer */	parent_node->child = NULL;	return_VOID;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/44f6c01242da4e162f28d8e1216a8c7a91174605/nsalloc.c/buggy/drivers/acpi/namespace/nsalloc.c