Lines Matching refs:root
114 NODE ginfo, *root;
118 root = NULL;
158 if (root == NULL)
161 if (last == root)
184 cur = root;
217 if (root == NULL) {
222 * Allow a bare "." root node by forcing it to
230 "root node must be the directory `.'");
231 last = root = centry;
232 root->parent = root;
244 replacenode(root, centry);
264 return (root);
268 free_nodes(NODE *root)
272 if (root == NULL)
276 for (cur = root; cur != NULL; cur = next) {
319 dump_nodes(FILE *fp, const char *dir, NODE *root, int pathlast)
327 for (cur = root; cur != NULL; cur = cur->next) {