Home
last modified time | relevance | path

Searched refs:rootnode (Results 1 – 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/uts/intel/promif/
H A Dprom_node.c45 static pnode_t rootnode; in prom_rootnode() local
47 return (rootnode ? rootnode : (rootnode = prom_nextnode(OBP_NONODE))); in prom_rootnode()
/illumos-gate/usr/src/lib/libv12n/sparc/
H A Dlibv12n.c203 mde_cookie_t *nodes, rootnode; in v12n_domaining_enabled() local
219 rootnode = md_root_node(mdp); in v12n_domaining_enabled()
221 nnodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "platform"), in v12n_domaining_enabled()
277 mde_cookie_t *nodes, rootnode; in v12n_scan_md_nodes() local
287 rootnode = md_root_node(mdp); in v12n_scan_md_nodes()
289 nnodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, node_name), in v12n_scan_md_nodes()
414 mde_cookie_t *vdev_nodes, rootnode; in v12n_get_md_domain_name() local
425 rootnode = md_root_node(mdp); in v12n_get_md_domain_name()
490 mde_cookie_t *plat_nodes, rootnode; in v12n_get_md_uuid_str() local
500 rootnode = md_root_node(mdp); in v12n_get_md_uuid_str()
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_parse.c125 hiernode *rootnode = NULL; in parse_entry() local
185 trace_hierarchy(rootnode, 0); in parse_entry()
205 if (rootnode != NULL) in parse_entry()
206 free_hiernode(rootnode); in parse_entry()
214 if (rootnode != NULL) in parse_entry()
215 free_hiernode(rootnode); in parse_entry()
438 *rootnode = NULL; in hierarchical_sort()
457 prevnode = *rootnode; in hierarchical_sort()
832 hiernode *prevnode = rootnode; in set_and_fake_mapent_mntlevel()
855 prevnode = rootnode; in set_and_fake_mapent_mntlevel()
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_node.c187 static pnode_t rootnode; in prom_rootnode() local
189 return (rootnode ? rootnode : (rootnode = prom_nextnode(OBP_NONODE))); in prom_rootnode()
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_mp_startup.c173 mde_cookie_t rootnode, cpunode = MDE_INVAL_ELEM_COOKIE; in mp_cpu_configure() local
186 rootnode = md_root_node(mdp); in mp_cpu_configure()
188 ASSERT(rootnode != MDE_INVAL_ELEM_COOKIE); in mp_cpu_configure()
197 num_nodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "cpu"), in mp_cpu_configure()
H A Dmach_descrip.c683 mde_cookie_t rootnode; in init_domaining_capabilities() local
687 rootnode = md_root_node(mdp); in init_domaining_capabilities()
688 ASSERT(rootnode != MDE_INVAL_ELEM_COOKIE); in init_domaining_capabilities()
690 num_nodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "platform"), in init_domaining_capabilities()
745 md_element_t *rootnode = NULL; in mach_descrip_find_md_gen() local
782 rootnode = np; in mach_descrip_find_md_gen()
795 if (rootnode == NULL) { in mach_descrip_find_md_gen()
801 for (elem = (rootnode + 1); MDE_TAG(elem) != MDET_NODE_END; elem++) { in mach_descrip_find_md_gen()
H A Dmach_cpu_states.c734 mde_cookie_t rootnode; in cpu_init_tick_freq() local
748 rootnode = md_root_node(mdp); in cpu_init_tick_freq()
749 ASSERT(rootnode != MDE_INVAL_ELEM_COOKIE); in cpu_init_tick_freq()
760 num_nodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "platform"), in cpu_init_tick_freq()
H A Dfillsysinfo.c1025 mde_cookie_t *platlist, rootnode; in init_md_broken() local
1030 rootnode = md_root_node(mdp); in init_md_broken()
1031 ASSERT(rootnode != MDE_INVAL_ELEM_COOKIE); in init_md_broken()
1034 nrnode = md_alloc_scan_dag(mdp, rootnode, "platform", "fwd", in init_md_broken()
H A Dmpo.c308 mde_cookie_t rootnode, foundnode, *cpunodes; in cpuid_to_cpunode() local
315 rootnode = md_root_node(md); in cpuid_to_cpunode()
316 if (rootnode == MDE_INVAL_ELEM_COOKIE) in cpuid_to_cpunode()
319 n_cpunodes = md_alloc_scan_dag(md, rootnode, PROP_LG_CPU, in cpuid_to_cpunode()
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dmdescplugin.c46 mde_cookie_t rootnode; variable
145 rootnode = md_root_node(mdp); in dr_handler()
283 rootnode = md_root_node(mdp); in mdescplugin_init()
H A Ddisk_discovery.c36 extern mde_cookie_t rootnode;
67 ndisks = md_scan_dag(mdp, rootnode, md_find_name(mdp, "disk_nac"), in disk_discovery()
H A Dcpu_prop_update.c32 extern mde_cookie_t rootnode;
320 ncpus = md_scan_dag(mdp, rootnode, md_find_name(mdp, "cpu"), in add_cpu_prop()
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_emul.c382 mde_cookie_t rootnode; in cif_check_cpus() local
393 rootnode = md_root_node(mdp); in cif_check_cpus()
394 ASSERT(rootnode != MDE_INVAL_ELEM_COOKIE); in cif_check_cpus()
402 num_nodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "cpu"), in cif_check_cpus()
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_system.c199 mde_cookie_t *component_nodes, rootnode; in ldma_get_chassis_serialno() local
226 rootnode = md_root_node(mdp); in ldma_get_chassis_serialno()
228 ncomponents = md_scan_dag(mdp, rootnode, md_find_name(mdp, "component"), in ldma_get_chassis_serialno()
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_io.c179 mde_cookie_t rootnode; in dr_io_find_node_md() local
184 rootnode = md_root_node(mdp); in dr_io_find_node_md()
185 ASSERT(rootnode != MDE_INVAL_ELEM_COOKIE); in dr_io_find_node_md()
190 nnodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "virtual-device"), in dr_io_find_node_md()
H A Dds_drv.c200 mde_cookie_t rootnode; in ds_ports_init() local
221 rootnode = md_root_node(mdp); in ds_ports_init()
222 ASSERT(rootnode != MDE_INVAL_ELEM_COOKIE); in ds_ports_init()
228 nport = md_scan_dag(mdp, rootnode, md_find_name(mdp, DS_MD_ROOT_NAME), in ds_ports_init()
H A Ddr_mem.c1050 mde_cookie_t rootnode; in dr_mem_find_node_md() local
1055 rootnode = md_root_node(mdp); in dr_mem_find_node_md()
1056 ASSERT(rootnode != MDE_INVAL_ELEM_COOKIE); in dr_mem_find_node_md()
1061 nnodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "mblock"), in dr_mem_find_node_md()
H A Ddr_cpu.c1612 mde_cookie_t rootnode; in dr_cpu_find_node_md() local
1616 rootnode = md_root_node(mdp); in dr_cpu_find_node_md()
1617 ASSERT(rootnode != MDE_INVAL_ELEM_COOKIE); in dr_cpu_find_node_md()
1622 nnodes = md_scan_dag(mdp, rootnode, md_find_name(mdp, "cpu"), in dr_cpu_find_node_md()
H A Dvlds.c1266 mde_cookie_t rootnode; in vlds_mdeg_init() local
1288 rootnode = md_root_node(mdp); in vlds_mdeg_init()
1289 ASSERT(rootnode != MDE_INVAL_ELEM_COOKIE); in vlds_mdeg_init()
1294 nvlds = md_scan_dag(mdp, rootnode, md_find_name(mdp, in vlds_mdeg_init()
/illumos-gate/usr/src/cmd/fwflash/common/
H A Dfwflash.h345 extern di_node_t rootnode;
H A Dfwflash.c55 di_node_t rootnode; variable
784 if ((rootnode = di_init("/", DINFOCPYALL|DINFOFORCE)) == DI_NODE_NIL) { in flash_device_list()
1174 di_fini(rootnode); in fwflash_intr()
/illumos-gate/usr/src/cmd/fwflash/plugins/vendor/
H A Dmapfile-vers46 rootnode { FLAGS = PARENT };
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dmapfile-vers46 rootnode { FLAGS = PARENT };
H A Dufm.c60 extern di_node_t rootnode;
493 (void) di_walk_node(rootnode, DI_WALK_CLDFIRST, &uia, in fw_identify()
H A Dses.c137 extern di_node_t rootnode;
311 thisnode = di_drv_first_node(driver, rootnode); in fw_identify()

12