Home
last modified time | relevance | path

Searched refs:NV_UNIQUE_NAME (Results 1 – 25 of 199) sorted by relevance

12345678

/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_protocol.c52 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 Dfmd_msg_test.c64 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 Dlibsrpt.c78 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 Dcmd_hc_sun4v.c198 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 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_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddiskmon_conf.c170 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 Dlibdiskstatus.c97 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 Ddevfm_machdep.c154 (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 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()
516 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 Dtopo_fmri.c152 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 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()
/titanic_41/usr/src/uts/intel/io/intel_nhm/
H A Ddimm_topo.c107 (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 Dnvfru.c192 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 Discsit_common.c284 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 Dlibipp.c200 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 Dfmev_publish.c209 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 Dprocess.c948 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 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_41/usr/src/uts/intel/io/intel_nb5000/
H A Dintel_nbdrv.c128 (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 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_41/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_subr.c61 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 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_41/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_cpu_arch.c221 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()

12345678