Home
last modified time | relevance | path

Searched refs:current_depth (Results 1 – 1 of 1) sorted by relevance

/kernel/lib/topology/
A Dsystem-topology.cpp90 int current_depth = 0; in Validate() local
102 if (current_index == parents[current_depth]) { in Validate()
105 current_depth++; in Validate()
107 if (current_depth == kMaxTopologyDepth) { in Validate()
118 for (int i = current_depth - 1; i >= 0; --i) { in Validate()
121 current_depth = 0; in Validate()
132 if (parents[current_depth] == ZBI_TOPOLOGY_NO_PARENT) { in Validate()
133 parents[current_depth] = node->parent_index; in Validate()
134 } else if (parents[current_depth] != node->parent_index) { in Validate()
154 (current_depth == kMaxTopologyDepth - 1 || in Validate()
[all …]

Completed in 8 milliseconds