/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | adopt.c | 276 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 D | util.c | 71 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 D | did_props.c | 271 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 D | topo_snap.c | 362 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 D | topo_mod.c | 805 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 D | biosdev.c | 100 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 D | devinfo_cpu.c | 73 if (phdl == DI_PROM_HANDLE_NIL) { in devinfo_cpu_add()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd.c | 381 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 D | pdevinfo.c | 174 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 D | findevs.c | 153 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 D | ldma_dio.c | 315 if (ph == DI_PROM_HANDLE_NIL) { in device_tree_to_md()
|
/illumos-gate/usr/src/cmd/pcitool/ |
H A D | pcitool.c | 939 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 D | parse.c | 171 } else if ((ph = di_prom_init()) == DI_PROM_HANDLE_NIL) { in lookup_estar_vers()
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 1097 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 D | dr.c | 29 static di_prom_handle_t ph = DI_PROM_HANDLE_NIL;
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | ri_init.c | 425 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 D | libdevinfo.h | 134 #define DI_PROM_HANDLE_NIL NULL macro
|
H A D | devinfo.c | 2841 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 D | qlgcupdate.c | 1319 if ((ph = di_prom_init()) == DI_PROM_HANDLE_NIL) { in emulex_fcodeversion()
|
H A D | g_adm.c | 6475 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 D | shp.c | 1156 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 D | cfga.c | 1282 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 D | picldevtree.c | 237 static di_prom_handle_t ph = DI_PROM_HANDLE_NIL;
|