Lines Matching refs:root
36 * vrootp: address of tree root
74 * root: Root of the tree to be walked
77 trecurse(const node_t *root, void (*action)(const void *, VISIT, int),
81 if (root->llink == NULL && root->rlink == NULL)
82 (*action)(root, leaf, level);
84 (*action)(root, preorder, level);
85 if (root->llink != NULL)
86 trecurse(root->llink, action, level + 1);
87 (*action)(root, postorder, level);
88 if (root->rlink != NULL)
89 trecurse(root->rlink, action, level + 1);
90 (*action)(root, endorder, level);
112 * vrootp: address of the root of the tree
159 * vrootp: address of the tree root