Home
last modified time | relevance | path

Searched refs:DI_PROM_HANDLE_NIL (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dadopt.c276 di_prom_handle_t phdl = DI_PROM_HANDLE_NIL; in get_prom_prop()
287 (phdl = di_prom_init()) == DI_PROM_HANDLE_NIL) { in get_prom_prop()
386 if (phdl != DI_PROM_HANDLE_NIL) { in get_prom_prop()
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dutil.c71 di_prom_handle_t promtree = DI_PROM_HANDLE_NIL; in get_pci_vpd_sn_pn()
73 if ((promtree = topo_mod_prominfo(mp)) == DI_PROM_HANDLE_NIL) { in get_pci_vpd_sn_pn()
H A Ddid_props.c271 di_prom_handle_t ptp = DI_PROM_HANDLE_NIL; in promprop2uint()
275 if ((ptp = topo_mod_prominfo(mod)) == DI_PROM_HANDLE_NIL) in promprop2uint()
329 di_prom_handle_t ptp = DI_PROM_HANDLE_NIL; in di_bytes_get()
333 if ((ptp = topo_mod_prominfo(mod)) == DI_PROM_HANDLE_NIL) in di_bytes_get()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_snap.c362 if (thp->th_pi != DI_PROM_HANDLE_NIL) { in topo_snap_create()
364 thp->th_pi = DI_PROM_HANDLE_NIL; in topo_snap_create()
543 if (thp->th_pi != DI_PROM_HANDLE_NIL) { in topo_snap_destroy()
545 thp->th_pi = DI_PROM_HANDLE_NIL; in topo_snap_destroy()
832 return (thp == NULL ? DI_PROM_HANDLE_NIL : thp->th_pi); in topo_hdl_prominfo()
H A Dtopo_mod.c805 di_prom_handle_t promh = DI_PROM_HANDLE_NIL; in topo_mod_csn()
816 (promh = topo_mod_prominfo(mod)) != DI_PROM_HANDLE_NIL) { in topo_mod_csn()
/illumos-gate/usr/src/cmd/biosdev/
H A Dbiosdev.c100 static di_prom_handle_t prom_hdl = DI_PROM_HANDLE_NIL;
553 if (prom_hdl != DI_PROM_HANDLE_NIL) in cleanup_and_exit()
582 if ((prom_hdl = di_prom_init()) == DI_PROM_HANDLE_NIL) { in main()
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_cpu.c73 if (phdl == DI_PROM_HANDLE_NIL) { in devinfo_cpu_add()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd.c381 di_prom_handle_t promh = DI_PROM_HANDLE_NIL; in fmd_create()
402 (promh = di_prom_init()) != DI_PROM_HANDLE_NIL) { in fmd_create()
409 if (promh != DI_PROM_HANDLE_NIL) in fmd_create()
/illumos-gate/usr/src/cmd/prtconf/
H A Dpdevinfo.c174 di_prom_handle_t prom_hdl = DI_PROM_HANDLE_NIL; in prtconf_devinfo()
192 if ((prom_hdl = di_prom_init()) == DI_PROM_HANDLE_NIL) in prtconf_devinfo()
241 if (prom_hdl != DI_PROM_HANDLE_NIL) in prtconf_devinfo()
300 if (prom_hdl != DI_PROM_HANDLE_NIL) in prtconf_devinfo()
1982 if (promh == DI_PROM_HANDLE_NIL) { in do_productinfo()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c153 args->ph = DI_PROM_HANDLE_NIL; in findevs()
161 if ((args->ph = di_prom_init()) == DI_PROM_HANDLE_NIL || in findevs()
187 if (args->ph != DI_PROM_HANDLE_NIL) { in findevs()
189 args->ph = DI_PROM_HANDLE_NIL; in findevs()
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_dio.c315 if (ph == DI_PROM_HANDLE_NIL) { in device_tree_to_md()
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool.c939 di_prom_handle_t di_phdl = DI_PROM_HANDLE_NIL; in do_probe_walk()
950 ((di_phdl = di_prom_init()) == DI_PROM_HANDLE_NIL)) { in do_probe_walk()
963 if (di_phdl != DI_PROM_HANDLE_NIL) { in do_probe_walk()
/illumos-gate/usr/src/cmd/power/
H A Dparse.c171 } else if ((ph = di_prom_init()) == DI_PROM_HANDLE_NIL) { in lookup_estar_vers()
/illumos-gate/usr/src/cmd/devfsadm/
H A Dcfg_link.c1097 if (ph == DI_PROM_HANDLE_NIL) { in pci_cfg_creat_cb()
1192 if (ph != DI_PROM_HANDLE_NIL) in pci_cfg_creat_cb()
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddr.c29 static di_prom_handle_t ph = DI_PROM_HANDLE_NIL;
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Dri_init.c425 di_prom_handle_t ph = DI_PROM_HANDLE_NIL; in ecache_info_init()
443 if ((ph = di_prom_init()) == DI_PROM_HANDLE_NIL) { in ecache_info_init()
471 if (ph != DI_PROM_HANDLE_NIL) in ecache_info_init()
/illumos-gate/usr/src/lib/libdevinfo/
H A Dlibdevinfo.h134 #define DI_PROM_HANDLE_NIL NULL macro
H A Ddevinfo.c2841 return (DI_PROM_HANDLE_NIL); in di_prom_init()
2848 return (DI_PROM_HANDLE_NIL); in di_prom_init()
2984 if ((ph == DI_PROM_HANDLE_NIL) || (node == DI_NODE_NIL)) { in di_prom_prop_next()
3054 if ((ph == DI_PROM_HANDLE_NIL) || (node == DI_NODE_NIL)) { in di_prom_prop_lookup_common()
/illumos-gate/usr/src/cmd/luxadm/
H A Dqlgcupdate.c1319 if ((ph = di_prom_init()) == DI_PROM_HANDLE_NIL) { in emulex_fcodeversion()
H A Dg_adm.c6475 if ((ph = di_prom_init()) == DI_PROM_HANDLE_NIL) { in get_host_controller_pwwn()
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c1156 if ((slotarg->promp = di_prom_init()) == DI_PROM_HANDLE_NIL) { in find_physical_slot_names()
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c1282 if ((slotarg->promp = di_prom_init()) == DI_PROM_HANDLE_NIL) { in find_physical_slot_names()
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c237 static di_prom_handle_t ph = DI_PROM_HANDLE_NIL;