48 #define _COMPONENT ACPI_NAMESPACE
79 return parent_node->child;
84 return child_node->peer;
136 if (next_node->
type == type) {
142 next_node = next_node->
peer;
198 u8 node_previously_visited =
FALSE;
210 parent_node = start_node;
220 while (level > 0 && child_node) {
226 child_type = child_node->
type;
244 else if (child_type == type) {
261 if (!node_previously_visited) {
262 if (pre_order_visit) {
264 pre_order_visit(child_node, level,
269 if (post_order_visit) {
271 post_order_visit(child_node, level,
277 if (flags & ACPI_NS_WALK_UNLOCK) {
312 if (!node_previously_visited &&
314 if (child_node->
child) {
319 parent_node = child_node;
328 if (!node_previously_visited) {
329 node_previously_visited =
TRUE;
337 node_previously_visited =
FALSE;
349 parent_node = parent_node->
parent;
351 node_previously_visited =
TRUE;