Home
last modified time | relevance | path

Searched refs:topo_mod_nvalloc (Results 1 – 25 of 37) sorted by relevance

12

/titanic_44/usr/src/lib/fm/topo/modules/common/ses/
H A Dses_facility.c182 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ses_indicator_mode()
217 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ses_indicator_mode()
289 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ses_sensor_reading()
371 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ses_sensor_state()
436 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ses_psu_state()
546 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ses_add_indicator()
640 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ses_add_sensor()
662 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0) { in ses_add_sensor()
700 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ses_add_discrete()
736 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0) { in ses_add_psu_status()
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Ddev.c218 if (topo_mod_nvalloc(mod, &fmristr, NV_UNIQUE_NAME) != 0) in dev_fmri_nvl2str()
341 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0) in dev_fmri_str2nvl()
442 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in dev_fmri_present()
522 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in dev_fmri_replaced()
569 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in dev_fmri_unusable()
618 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in dev_fmri_service_state()
635 if (topo_mod_nvalloc(mp, &out, NV_UNIQUE_NAME) != 0) { in dev_fmri_create()
H A Dsw.c181 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0 || in sw_fmri_create()
182 topo_mod_nvalloc(mod, &obj, NV_UNIQUE_NAME) != 0) { in sw_fmri_create()
222 if (topo_mod_nvalloc(mod, &site, NV_UNIQUE_NAME) != 0) { in sw_fmri_create()
257 if (topo_mod_nvalloc(mod, &ctxt, NV_UNIQUE_NAME) != 0) { in sw_fmri_create()
510 if (topo_mod_nvalloc(mod, &fmristr, NV_UNIQUE_NAME) != 0) { in sw_fmri_nvl2str()
H A Dtopo_mod.c307 if (topo_mod_nvalloc(mod, &args, NV_UNIQUE_NAME) != 0) in topo_mod_hcfmri()
394 if (topo_mod_nvalloc(mod, &args, NV_UNIQUE_NAME) != 0) in topo_mod_devfmri()
429 if (topo_mod_nvalloc(mod, &args, NV_UNIQUE_NAME) != 0) in topo_mod_cpufmri()
468 if (topo_mod_nvalloc(mod, &args, NV_UNIQUE_NAME) != 0) in topo_mod_memfmri()
508 if (topo_mod_nvalloc(mod, &args, NV_UNIQUE_NAME) != 0) in topo_mod_pkgfmri()
540 if (topo_mod_nvalloc(mod, &args, NV_UNIQUE_NAME) != 0) in topo_mod_modfmri()
580 if (topo_mod_nvalloc(mod, &args, NV_UNIQUE_NAME) != 0) in topo_mod_swfmri()
824 if ((err = topo_mod_nvalloc(mod, &auth, NV_UNIQUE_NAME)) != 0) { in topo_mod_auth()
H A Dsvc.c498 if (topo_mod_nvalloc(mod, &fmristr, NV_UNIQUE_NAME) != 0) { in svc_fmri_nvl2str()
531 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0) in svc_fmri_str2nvl()
823 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in svc_fmri_present()
847 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in svc_fmri_replaced()
872 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in svc_fmri_service_state()
896 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in svc_fmri_unusable()
H A Dtopo_nvl.c47 topo_mod_nvalloc(topo_mod_t *mod, nvlist_t **nvlp, uint_t nvflag) in topo_mod_nvalloc() function
H A Dhc.c467 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) == 0) { in hc_compare()
627 if (topo_mod_nvalloc(mod, &fmristr, NV_UNIQUE_NAME) != 0) { in hc_fmri_nvl2str()
652 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0) in hc_base_fmri_create()
774 if (topo_mod_nvalloc(mod, &pa[i], NV_UNIQUE_NAME) < 0) in make_hc_pairs()
869 if (topo_mod_nvalloc(mod, &na, in make_hc_auth()
932 if (topo_mod_nvalloc(mod, &nf, NV_UNIQUE_NAME) != 0) { in make_facility()
999 if (topo_mod_nvalloc(mod, &hcsp, NV_UNIQUE_NAME) != 0) in hc_fmri_str2nvl()
1061 if (topo_mod_nvalloc(mod, &hc, NV_UNIQUE_NAME) != 0) in hc_list_create()
1271 if (topo_mod_nvalloc(mod, &arg, NV_UNIQUE_NAME) != 0 || in hc_match()
1784 if (topo_mod_nvalloc(mod, &hap->ha_nvl, NV_UNIQUE_NAME) != 0) in hc_is_present()
[all …]
H A Dmem.c198 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0) in mem_nvl2str()
278 if (topo_mod_nvalloc(mod, &asru, NV_UNIQUE_NAME) != 0) in mem_fmri()
H A Dcpu.c351 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) < 0) { in cpu_nvl2str()
452 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0) in cpu_str2nvl()
488 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0) { in fmri_create()
H A Dmod.c208 if (topo_mod_nvalloc(mp, &out, NV_UNIQUE_NAME) != 0) { in mod_fmri_create()
348 if (topo_mod_nvalloc(mod, &fmristr, NV_UNIQUE_NAME) != 0) in mod_fmri_nvl2str()
H A Dpkg.c160 if (topo_mod_nvalloc(mp, &f, NV_UNIQUE_NAME) != 0) { in construct_fru_fmri()
320 if (topo_mod_nvalloc(mod, &fmristr, NV_UNIQUE_NAME) != 0) in pkg_fmri_nvl2str()
H A Dfmd.c145 if (topo_mod_nvalloc(mod, &fmristr, NV_UNIQUE_NAME) != 0) { in fmd_fmri_nvl2str()
H A Dtopo_method.c403 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0) in topo_method_sensor_failure()
446 if (topo_mod_nvalloc(mod, &tmp, NV_UNIQUE_NAME) != 0 || in topo_method_sensor_failure()
H A Dzfs.c215 if (topo_mod_nvalloc(mod, &fmristr, NV_UNIQUE_NAME) != 0) { in zfs_fmri_nvl2str()
H A Dlegacy_hc.c203 if (topo_mod_nvalloc(mod, &fmristr, NV_UNIQUE_NAME) != 0) { in legacy_hc_fmri_nvl2str()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem.c163 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in mem_present()
202 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in mem_replaced()
512 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in mem_unusable()
569 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) == 0) { in mem_contains()
585 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0) in mem_fmri_create()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu.c202 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in cpu_present()
249 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in cpu_replaced()
373 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) in cpu_unusable()
390 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0) in cpu_fmri_create()
/titanic_44/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/
H A Dfac_prov_ipmi.c318 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ipmi_platform_message()
407 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ipmi_sensor_state()
490 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ipmi_sensor_reading()
604 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ipmi_indicator_mode()
732 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in bay_locate_mode()
943 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in bay_indicator_mode()
1074 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in x4500_present_mode()
1234 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in chassis_service_mode()
1329 if (topo_mod_nvalloc(mod, &arg_nvl, NV_UNIQUE_NAME) < 0) { in make_sensor_node()
1603 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ipmi_entity()
[all …]
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_walker.c142 result = topo_mod_nvalloc(mod, &pi_enum_fns, NV_UNIQUE_NAME); in pi_walker_init()
143 result |= topo_mod_nvalloc(mod, &pi_meths, NV_UNIQUE_NAME); in pi_walker_init()
530 result = topo_mod_nvalloc(mod, &typelist, NV_UNIQUE_NAME); in pi_walker_node_range()
666 result = topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME); in pi_walkerlist_addtype()
H A Dpi_meth.c111 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) < 0) in set_retnvl()
314 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0) in mem_fmri_create()
387 if (err != 0 || topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) < 0) { in mem_asru_compute()
/titanic_44/usr/src/lib/fm/topo/modules/SUNW,Sun-Fire/ioboard/
H A Diob_platform.c56 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) == 0 && in platform_iob_label()
/titanic_44/usr/src/lib/fm/topo/modules/SUNW,Sun-Fire-15000/ioboard/
H A Diob_platform.c56 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) == 0 && in platform_iob_label()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/chip/
H A Dchip_sun4v.c132 if (topo_mod_nvalloc(mod, &auth, NV_UNIQUE_NAME) == 0) { in chip_tnode_create()
214 if (topo_mod_nvalloc(mod, &fmri, NV_UNIQUE_NAME) != 0) in cpu_fmri_create()
/titanic_44/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_subr.c245 if (topo_mod_nvalloc(mod, &asru, NV_UNIQUE_NAME) != 0) in cpu_fmri_create()
319 if (err != 0 || topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) < 0) { in mem_asru_compute()
343 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) < 0) in set_retnvl()
/titanic_44/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_methods.c66 if (topo_mod_nvalloc(mod, out, NV_UNIQUE_NAME) != 0) { in store_prop_val()

12