Lines Matching refs:root_node
173 di_node_t root_node; in prtconf_devinfo() local
212 root_node = di_init_impl(rootpath, flag, &fetch); in prtconf_devinfo()
218 root_node = di_init(rootpath, flag); in prtconf_devinfo()
220 if (root_node == DI_NODE_NIL) { in prtconf_devinfo()
245 walk_driver(root_node, &di_arg); in prtconf_devinfo()
250 di_fini(root_node); in prtconf_devinfo()
257 target_node = find_target_node(root_node); in prtconf_devinfo()
304 (void) di_walk_node(root_node, DI_WALK_CLDFIRST, &di_arg, in prtconf_devinfo()
313 di_fini(root_node); in prtconf_devinfo()
354 find_target_node(di_node_t root_node) in find_target_node() argument
361 return (root_node); in find_target_node()
363 return (root_node); in find_target_node()
366 (void) di_walk_node(root_node, DI_WALK_CLDFIRST, &target, in find_target_node()
735 di_node_t root_node, tmp; in dump_devs() local
776 root_node = tmp = node; in dump_devs()
778 root_node = tmp; in dump_devs()
779 if ((di_instance(node) >= 0) && (node != root_node)) in dump_devs()