/titanic_41/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_protocol.c | 52 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, &fmd.d_nva) != 0) in fmd_protocol_authority() 91 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, &fmd.d_nva) != 0) in fmd_protocol_fmri_module() 120 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, &fmd.d_nva) != 0) in fmd_protocol_fault() 156 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, &fmd.d_nva) != 0) in fmd_protocol_list() 223 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, &fmd.d_nva) != 0) in fmd_protocol_rsrc_asru() 270 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, &fmd.d_nva) != 0) in fmd_protocol_fmderror() 300 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, &fmd.d_nva) != 0) in fmd_protocol_moderror() 335 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, &fmd.d_nva) != 0) in fmd_protocol_xprt_ctl()
|
/titanic_41/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg_test.c | 64 if (nvlist_alloc(&auth, NV_UNIQUE_NAME, 0) != 0 || in main() 65 nvlist_alloc(&fmri, NV_UNIQUE_NAME, 0) != 0 || in main() 66 nvlist_alloc(&list, NV_UNIQUE_NAME, 0) != 0) { in main() 109 if (nvlist_alloc(&test_arr[i], NV_UNIQUE_NAME, 0) != 0) { in main()
|
/titanic_41/usr/src/lib/libsrpt/common/ |
H A D | libsrpt.c | 78 ret = nvlist_alloc(&cfg_nv, NV_UNIQUE_NAME, 0); in srpt_GetConfig() 83 ret = nvlist_alloc(&hcanv, NV_UNIQUE_NAME, 0); in srpt_GetConfig() 214 ret = nvlist_alloc(&cfgnv, NV_UNIQUE_NAME, 0); in srpt_SetDefaultState() 281 ret = nvlist_alloc(&hcanv, NV_UNIQUE_NAME, 0); in srpt_SetTargetState()
|
/titanic_41/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_hc_sun4v.c | 198 NV_UNIQUE_NAME|NV_UNIQUE_NAME_TYPE, 0); in cmd_mkboard_fru() 211 if (nvlist_alloc(&fru, NV_UNIQUE_NAME, 0) != 0) { in cmd_mkboard_fru() 310 (void) nvlist_dup(rsrc, &mb_nvl, NV_UNIQUE_NAME); in find_mb() 360 (void) nvlist_dup(rsrc, &dimm_nvl, NV_UNIQUE_NAME); in find_dimm_sn_mem() 384 (void) nvlist_dup(fru, &dimm_nvl, NV_UNIQUE_NAME); in find_dimm_sn_hc() 466 (void) nvlist_dup(rsc, &rsc_nvl, NV_UNIQUE_NAME); in find_cpu_rsc_by_sn() 536 (void) nvlist_dup(rsc, &rsc_nvl, NV_UNIQUE_NAME); in find_mem_rsc_hc() 623 if (nvlist_alloc(&hsp, NV_UNIQUE_NAME, 0) == 0) { in cmd_nvl_create_fault()
|
/titanic_41/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses_facility.c | 182 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_41/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | diskmon_conf.c | 170 if (nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0) != 0) { in namevalpr_to_nvlist() 341 (void) nvlist_alloc(&dmp->props, NV_UNIQUE_NAME, 0); in new_diskmon() 346 (void) nvlist_alloc(&dmp->app_props, NV_UNIQUE_NAME, 0); in new_diskmon() 403 else if (nvlist_alloc(&cdp->props, NV_UNIQUE_NAME, 0) != 0) { in new_cfgdata() 417 (void) nvlist_alloc(&cfgp->props, NV_UNIQUE_NAME, 0); in cfgdata_add_namevalpr() 453 (void) nvlist_alloc(&nvp, NV_UNIQUE_NAME, 0); in check_indactions() 505 (void) nvlist_alloc(&nvp, NV_UNIQUE_NAME, 0); in check_inds() 560 (void) nvlist_alloc(&nvp, NV_UNIQUE_NAME, 0); in check_indrules() 599 (void) nvlist_alloc(&nvp, NV_UNIQUE_NAME, 0); in check_consistent_ind_indrules()
|
/titanic_41/usr/src/lib/fm/libdiskstatus/common/ |
H A D | libdiskstatus.c | 97 if (nvlist_alloc(&dsp->ds_state, NV_UNIQUE_NAME, 0) != 0) { in disk_status_open() 186 if ((err = nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0)) != 0) in disk_status_get() 196 if ((err = nvlist_alloc(&faults, NV_UNIQUE_NAME, 0)) != 0) in disk_status_get()
|
/titanic_41/usr/src/uts/intel/io/ |
H A D | devfm_machdep.c | 154 (void) nvlist_alloc(nvlp, NV_UNIQUE_NAME, KM_SLEEP); in populate_cpu() 235 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in fm_ioctl_physcpu_info() 287 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in fm_ioctl_cpu_retire() 316 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in fm_ioctl_gentopo_legacy()
|
/titanic_41/usr/src/lib/fm/topo/libtopo/common/ |
H A D | dev.c | 218 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 D | sw.c | 181 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() 516 if (topo_mod_nvalloc(mod, &fmristr, NV_UNIQUE_NAME) != 0) { in sw_fmri_nvl2str()
|
H A D | topo_mod.c | 307 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 D | topo_fmri.c | 152 if (topo_hdl_nvalloc(thp, &in, NV_UNIQUE_NAME) != 0) in topo_fmri_str2nvl() 248 if (topo_hdl_nvalloc(thp, &in, NV_UNIQUE_NAME) != 0) in topo_fmri_contains() 420 if (topo_hdl_nvalloc(thp, &in, NV_UNIQUE_NAME) != 0) in fmri_prop() 576 if (topo_hdl_nvalloc(thp, &in, NV_UNIQUE_NAME) != 0) in topo_fmri_setprop() 623 if (topo_hdl_nvalloc(thp, &in, NV_UNIQUE_NAME) != 0) in topo_fmri_getpgrp() 671 if (topo_hdl_nvalloc(thp, &in, NV_UNIQUE_NAME) != 0) in topo_fmri_compare() 712 if ((*err = topo_hdl_nvalloc(thp, &ins, NV_UNIQUE_NAME)) != 0) in topo_fmri_create() 1035 if (topo_hdl_nvalloc(thp, &in, NV_UNIQUE_NAME) != 0) in topo_fmri_facility()
|
H A D | svc.c | 498 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()
|
/titanic_41/usr/src/uts/intel/io/intel_nhm/ |
H A D | dimm_topo.c | 107 (void) nvlist_alloc(&newrank[i], NV_UNIQUE_NAME, KM_SLEEP); in inhm_rank() 139 (void) nvlist_alloc(&newdimm, NV_UNIQUE_NAME, KM_SLEEP); in inhm_dimm() 211 (void) nvlist_alloc(&newchannel[i], NV_UNIQUE_NAME, KM_SLEEP); in inhm_dimmlist() 257 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in inhm_create_nvl()
|
/titanic_41/usr/src/lib/libfru/libnvfru/ |
H A D | nvfru.c | 192 if (nvlist_alloc(&nv_elems[n], NV_UNIQUE_NAME, 0) != 0) in convert_element() 205 if (nvlist_alloc(&nv_record, NV_UNIQUE_NAME, 0) != 0) { in convert_element() 327 ret = nvlist_alloc(&nv_segment, NV_UNIQUE_NAME, 0); in convert_packets_in_segment() 365 err = nvlist_alloc(&nv, NV_UNIQUE_NAME, 0); in convert_fru()
|
/titanic_41/usr/src/common/iscsit/ |
H A D | iscsit_common.c | 284 NV_UNIQUE_NAME, 0); in it_nv_to_config() 335 NV_UNIQUE_NAME, 0); in it_nv_to_config() 462 ret = nvlist_alloc(&pnv, NV_UNIQUE_NAME, 0); in it_tgtlist_to_nv() 512 ret = nvlist_alloc(nvl, NV_UNIQUE_NAME, 0); in it_tgt_to_nv() 615 ret = nvlist_alloc(nvl, NV_UNIQUE_NAME, 0); in it_tpgt_to_nv() 691 ret = nvlist_alloc(&pnv, NV_UNIQUE_NAME, 0); in it_tpgtlist_to_nv() 799 ret = nvlist_alloc(nvl, NV_UNIQUE_NAME, 0); in it_tpg_to_nv() 926 ret = nvlist_alloc(&pnv, NV_UNIQUE_NAME, 0); in it_tpglist_to_nv() 1115 ret = nvlist_alloc(nvl, NV_UNIQUE_NAME, 0); in it_ini_to_nv() 1203 ret = nvlist_alloc(&pnv, NV_UNIQUE_NAME, 0); in it_inilist_to_nv()
|
/titanic_41/usr/src/lib/libipp/ |
H A D | libipp.c | 200 if ((rc = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0)) != 0) { in ipp_action_destroy() 312 if ((rc = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0)) != 0) { in ipp_action_info() 369 if ((rc = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0)) != 0) { in ipp_action_mod() 423 if ((rc = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0)) != 0) { in ipp_list_mods() 481 if ((rc = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0)) != 0) { in ipp_mod_list_actions()
|
/titanic_41/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_publish.c | 209 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) in va2nvl() 373 if ((nvlist_nvflag(nvl) & NV_UNIQUE_NAME) != NV_UNIQUE_NAME) in do_publish() 392 if (nvlist_alloc(&tmpnvl, NV_UNIQUE_NAME, 0) != 0) in do_publish()
|
/titanic_41/usr/src/uts/common/contract/ |
H A D | process.c | 948 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) == 0); in contract_process_exit() 966 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, in contract_process_exit() 1051 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) == 0); in contract_process_fork() 1081 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) == 0); in contract_process_core() 1096 VERIFY(nvlist_alloc(&gnvl, NV_UNIQUE_NAME, in contract_process_core() 1131 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) == 0); in contract_process_hwerr() 1167 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) == 0); in contract_process_sig() 1172 VERIFY(nvlist_alloc(&gnvl, NV_UNIQUE_NAME, in contract_process_sig()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem.c | 163 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_41/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nbdrv.c | 128 (void) nvlist_alloc(&newrank[i], NV_UNIQUE_NAME, KM_SLEEP); in inb_rank() 165 (void) nvlist_alloc(&newdimm, NV_UNIQUE_NAME, KM_SLEEP); in inb_dimm() 237 (void) nvlist_alloc(&newchannel[i], NV_UNIQUE_NAME, KM_SLEEP); in inb_dimmlist() 307 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in inb_create_nvl()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | cpu.c | 202 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_41/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_subr.c | 61 err = nvlist_dup(detector, &new_detector, NV_UNIQUE_NAME); in fab_prep_basic_erpt() 131 if (nvlist_alloc(&erpt, NV_UNIQUE_NAME, 0) != 0) in fab_send_tgt_erpt() 148 if (nvlist_alloc(&detector, NV_UNIQUE_NAME, 0) != 0) { in fab_send_tgt_erpt() 201 if (nvlist_alloc(&erpt, NV_UNIQUE_NAME, 0) != 0) in fab_send_erpt() 931 if (nvlist_dup(erpt, &nvl, NV_UNIQUE_NAME) != 0 || in fab_send_erpt_all_rps() 932 nvlist_alloc(&detector, NV_UNIQUE_NAME, 0) != 0) { in fab_send_erpt_all_rps()
|
/titanic_41/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/ |
H A D | fac_prov_ipmi.c | 318 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_41/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_cpu_arch.c | 221 if (nvlist_alloc(&hcelem, NV_UNIQUE_NAME, 0) != 0) in cmd_cpu_mkfru() 231 if (nvlist_alloc(&fru, NV_UNIQUE_NAME, 0) != 0) { in cmd_cpu_mkfru()
|