Lines Matching refs:root
40 static rsrc_node_t *rsrc_root; /* root of all resources */
1367 * walk tree rooted at root in child-first order
1370 rsrc_walk(rsrc_node_t *root, void *arg,
1375 rcm_log_message(RCM_TRACE3, "rsrc_walk(%s)\n", root->name);
1378 * Push root on stack and walk in child-first order
1381 PUSH_STACK(&stack, root);
1402 * the filesystem root to avoid infinite recursion on filesystem module.
1418 * Upon hitting a filesys root, prune children.
1429 * Execute a command on a subtree under root.
1432 rsrc_tree_action(rsrc_node_t *root, int cmd, tree_walk_arg_t *arg)
1434 rcm_log_message(RCM_TRACE2, "tree_action(%s, %d)\n", root->name, cmd);
1444 "only root node: %s\n", root->name);
1446 (void) node_action(root, arg);
1449 rsrc_walk(root, (void *)arg, node_action);