Searched refs:top_sibling (Results 1 – 1 of 1) sorted by relevance
1265 const struct lyd_node *next, *elem = NULL, *top_sibling; in get_node_pos() local1278 for (top_sibling = elem; top_sibling->parent; top_sibling = top_sibling->parent); in get_node_pos()1282 LY_TREE_FOR(root, top_sibling) { in get_node_pos()1284 LY_TREE_DFS_BEGIN(top_sibling, next, elem) { in get_node_pos()1306 if (elem == top_sibling) { in get_node_pos()1316 if (elem->parent == top_sibling->parent) { in get_node_pos()1345 elem = next = top_sibling = root; in get_node_pos()