Home
last modified time | relevance | path

Searched refs:nvlist_add_nvlist (Results 1 – 25 of 91) sorted by relevance

1234

/titanic_44/usr/src/cmd/fm/fmd/common/
H A Dfmd_protocol.c96 err |= nvlist_add_nvlist(nvl, FM_FMRI_AUTHORITY, fmd.d_auth); in fmd_protocol_fmri_module()
128 err |= nvlist_add_nvlist(nvl, FM_FAULT_ASRU, asru); in fmd_protocol_fault()
130 err |= nvlist_add_nvlist(nvl, FM_FAULT_FRU, fru); in fmd_protocol_fault()
132 err |= nvlist_add_nvlist(nvl, FM_FAULT_RESOURCE, resource); in fmd_protocol_fault()
164 err |= nvlist_add_nvlist(nvl, FM_SUSPECT_DE, de_fmri); in fmd_protocol_list()
229 err |= nvlist_add_nvlist(nvl, FM_RSRC_RESOURCE, fmri); in fmd_protocol_rsrc_asru()
247 err |= nvlist_add_nvlist(nvl, FM_SUSPECT_DE, diag_de); in fmd_protocol_rsrc_asru()
253 err |= nvlist_add_nvlist(nvl, FM_RSRC_ASRU_EVENT, event); in fmd_protocol_rsrc_asru()
310 err |= nvlist_add_nvlist(nvl, FM_EREPORT_DETECTOR, fmri); in fmd_protocol_moderror()
340 err |= nvlist_add_nvlist(nvl, FM_RSRC_RESOURCE, mp->mod_fmri); in fmd_protocol_xprt_ctl()
/titanic_44/usr/src/lib/fm/libdiskstatus/common/
H A Dlibdiskstatus.c190 (err = nvlist_add_nvlist(nvl, "status", dsp->ds_state)) != 0) in disk_status_get()
203 (err = nvlist_add_nvlist(nvl, FM_EREPORT_SCSI_PREDFAIL, in disk_status_get()
212 (err = nvlist_add_nvlist(nvl, FM_EREPORT_SCSI_TESTFAIL, in disk_status_get()
221 (err = nvlist_add_nvlist(nvl, FM_EREPORT_SCSI_OVERTEMP, in disk_status_get()
226 if ((err = nvlist_add_nvlist(nvl, "faults", faults)) != 0) in disk_status_get()
H A Dds_scsi.c417 nvlist_add_nvlist(sip->si_dsp->ds_state, "modepages", in load_modepages()
438 nvlist_add_nvlist(sip->si_state_modepage, in load_modepages()
493 nvlist_add_nvlist(sip->si_state_logpage, lp->ve_desc, nvl) != 0) { in verify_logpage()
565 nvlist_add_nvlist(sip->si_dsp->ds_state, "logpages", in load_logpages()
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_fmri.c250 if (nvlist_add_nvlist(in, TOPO_METH_FMRI_ARG_FMRI, fmri) != 0 || in topo_fmri_contains()
251 nvlist_add_nvlist(in, TOPO_METH_FMRI_ARG_SUBFMRI, subfmri) != 0) in topo_fmri_contains()
422 rv = nvlist_add_nvlist(in, TOPO_PROP_RESOURCE, rsrc); in fmri_prop()
426 rv |= nvlist_add_nvlist(in, TOPO_PROP_PARGS, args); in fmri_prop()
578 rv = nvlist_add_nvlist(in, TOPO_PROP_RESOURCE, nvl); in topo_fmri_setprop()
580 rv |= nvlist_add_nvlist(in, TOPO_PROP_VAL, prop); in topo_fmri_setprop()
583 rv |= nvlist_add_nvlist(in, TOPO_PROP_PARGS, args); in topo_fmri_setprop()
624 rv = nvlist_add_nvlist(in, TOPO_PROP_RESOURCE, rsrc); in topo_fmri_getpgrp()
672 if (nvlist_add_nvlist(in, TOPO_METH_FMRI_ARG_NV1, f1) != 0 || in topo_fmri_compare()
673 nvlist_add_nvlist(in, TOPO_METH_FMRI_ARG_NV2, f2) != 0) in topo_fmri_compare()
[all …]
H A Dsw.c199 err |= nvlist_add_nvlist(obj, FM_FMRI_SW_OBJ_PKG, obj_pkg); in sw_fmri_create()
205 err |= nvlist_add_nvlist(fmri, FM_FMRI_SW_OBJ, obj); in sw_fmri_create()
239 err |= nvlist_add_nvlist(fmri, FM_FMRI_SW_SITE, site); in sw_fmri_create()
278 err |= nvlist_add_nvlist(fmri, FM_FMRI_SW_CTXT, ctxt); in sw_fmri_create()
H A Dtopo_prop.c129 nvlist_add_nvlist(args, TOPO_PROP_ARGS, pm->tpm_args) != 0) in prop_method_get()
133 if (nvlist_add_nvlist(args, TOPO_PROP_PARGS, pargs) != 0) in prop_method_get()
605 ret |= nvlist_add_nvlist(nvl, TOPO_PROP_VAL_VAL, in topo_prop_set()
800 ret = nvlist_add_nvlist(args, TOPO_PROP_ARGS, pm->tpm_args); in topo_prop_setprop()
802 ret |= nvlist_add_nvlist(args, TOPO_PROP_PARGS, pargs); in topo_prop_setprop()
1450 if ((ret = nvlist_add_nvlist(nvl, TOPO_PROP_VAL, in topo_prop_getpgrp()
1519 if ((ret = nvlist_add_nvlist(pgnvl, TOPO_PROP_VAL, in topo_prop_getprops()
1528 if ((ret = nvlist_add_nvlist(nvl, TOPO_PROP_GROUP, pgnvl)) in topo_prop_getprops()
H A Dtopo_mod.c317 if (nvlist_add_nvlist(args, TOPO_METH_FMRI_ARG_PARENT, in topo_mod_hcfmri()
330 (void) nvlist_add_nvlist(args, TOPO_METH_FMRI_ARG_AUTH, auth); in topo_mod_hcfmri()
366 (void) nvlist_add_nvlist(args, TOPO_METH_FMRI_ARG_HCS, in topo_mod_hcfmri()
587 err |= nvlist_add_nvlist(args, "obj_pkg", obj_pkg); in topo_mod_swfmri()
/titanic_44/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_hc_opl.c68 if (auth != NULL && nvlist_add_nvlist(fmri, FM_FMRI_AUTHORITY, in cmd_fmri_hc_set_common()
113 err |= nvlist_add_nvlist(fmri, FM_FMRI_HC_SPECIFIC, snvl); in cmd_fmri_hc_set()
H A Dcmd_cpu_arch.c259 (void) nvlist_add_nvlist(fru, FM_FMRI_AUTHORITY, in cmd_nvl_create_fault()
/titanic_44/usr/src/common/iscsit/
H A Discsit_common.c215 ret = nvlist_add_nvlist(nv, "targetList", lnv); in it_config_to_nv()
225 ret = nvlist_add_nvlist(nv, "tpgList", lnv); in it_config_to_nv()
235 ret = nvlist_add_nvlist(nv, "iniList", lnv); in it_config_to_nv()
241 ret = nvlist_add_nvlist(nv, "globalProperties", in it_config_to_nv()
476 ret = nvlist_add_nvlist(*nvl, tgtp->tgt_name, tnv); in it_tgtlist_to_nv()
518 ret = nvlist_add_nvlist(*nvl, "properties", in it_tgt_to_nv()
532 ret = nvlist_add_nvlist(*nvl, "tpgtList", tnv); in it_tgt_to_nv()
705 ret = nvlist_add_nvlist(*nvl, ptr->tpgt_tpg_name, tnv); in it_tpgtlist_to_nv()
940 ret = nvlist_add_nvlist(*nvl, ptr->tpg_name, tnv); in it_tpglist_to_nv()
1121 ret = nvlist_add_nvlist(*nvl, "properties", in it_ini_to_nv()
[all …]
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dspa_config.c262 VERIFY(nvlist_add_nvlist(nvl, spa->spa_name, in spa_config_sync()
332 VERIFY(nvlist_add_nvlist(pools, spa_name(spa), in spa_all_configs()
432 VERIFY(nvlist_add_nvlist(config, ZPOOL_CONFIG_SPLIT, in spa_config_generate()
453 VERIFY(nvlist_add_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, nvroot) == 0); in spa_config_generate()
459 VERIFY(nvlist_add_nvlist(config, ZPOOL_CONFIG_FEATURES_FOR_READ, in spa_config_generate()
/titanic_44/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound.c285 err += nvlist_add_nvlist(dtcr, FM_FMRI_SW_OBJ, obj); in fmevt_detector()
286 err += nvlist_add_nvlist(dtcr, FM_FMRI_SW_SITE, site); in fmevt_detector()
287 err += nvlist_add_nvlist(dtcr, FM_FMRI_SW_CTXT, ctxt); in fmevt_detector()
445 err += nvlist_add_nvlist(nvl, FM_IREPORT_DETECTOR, dtcr); in fmevt_postprocess()
451 err += nvlist_add_nvlist(nvl, FM_IREPORT_ATTRIBUTES, in fmevt_postprocess()
H A Dfmevt_outbound.c128 (void) nvlist_add_nvlist(nvl, "fmdauth", in fmevt_init_outbound()
H A Dfmevt_inbound_smf.c178 if (nvlist_add_nvlist(myattr, "svc", fmri) != 0 || in fmevt_pp_smf()
/titanic_44/usr/src/uts/common/os/
H A Dfm.c764 ret = nvlist_add_nvlist(payload, name, in i_fm_payload_set()
842 if (nvlist_add_nvlist(ereport, FM_EREPORT_DETECTOR, in fm_ereport_set()
886 if (auth != NULL && nvlist_add_nvlist(fmri, FM_FMRI_AUTHORITY, in fm_fmri_hc_set_common()
933 if (nvlist_add_nvlist(fmri, FM_FMRI_HC_SPECIFIC, snvl) != 0) { in fm_fmri_hc_set()
968 err |= nvlist_add_nvlist(fmri_dev, FM_FMRI_AUTHORITY, in fm_fmri_dev_set()
1021 if (auth != NULL && nvlist_add_nvlist(fmri_cpu, FM_FMRI_AUTHORITY, in fm_fmri_cpu_set()
1075 if (nvlist_add_nvlist(fmri, FM_FMRI_AUTHORITY, in fm_fmri_mem_set()
1377 if (nvlist_add_nvlist(fmri, FM_FMRI_HC_SPECIFIC, snvl) != 0) { in fm_fmri_hc_create()
/titanic_44/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg_test.c86 err |= nvlist_add_nvlist(fmri, FM_FMRI_AUTHORITY, auth); in main()
101 err |= nvlist_add_nvlist(list, FM_SUSPECT_DE, fmri); in main()
/titanic_44/usr/src/lib/libsrpt/common/
H A Dlibsrpt.c85 ret = nvlist_add_nvlist(cfg_nv, SRPT_PROP_HCALIST, in srpt_GetConfig()
293 ret = nvlist_add_nvlist(hcalist, guid, hcanv); in srpt_SetTargetState()
/titanic_44/usr/src/cmd/fm/modules/common/sensor-transport/
H A Dsensor_transport.c255 (void) nvlist_add_nvlist(event, "details", nvl); in st_check_component()
261 (void) nvlist_add_nvlist(event, FM_EREPORT_DETECTOR, in st_check_component()
/titanic_44/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_page.c128 nvlist_add_nvlist(asru, FM_FMRI_HC_SPECIFIC, hsp) != 0) { in gmem_page_create()
343 (void) nvlist_add_nvlist(rsc, FM_FMRI_HC_SPECIFIC, hsp); in gmem_page_fault()
/titanic_44/usr/src/lib/libfru/libnvfru/
H A Dnvfru.c220 (void) nvlist_add_nvlist(nv, path, nv_record); in convert_element()
342 (void) nvlist_add_nvlist(nv, name, nv_segment); in convert_packets_in_segment()
/titanic_44/usr/src/lib/libipadm/common/
H A Dipadm_persist.c365 if ((err = nvlist_add_nvlist(nvl, name, nvl_addr)) != 0) { in i_ipadm_add_ipaddr2nvl()
401 if ((err = nvlist_add_nvlist(nvl, IPADM_NVP_INTFID, in i_ipadm_add_intfid2nvl()
450 if ((err = nvlist_add_nvlist(nvl, IPADM_NVP_DHCP, in i_ipadm_add_dhcp2nvl()
/titanic_44/usr/src/man/man3nvpair/
H A DMakefile45 nvlist_add_nvlist.3nvpair \
137 nvlist_add_nvlist.3nvpair := LINKSRC = nvlist_add_boolean.3nvpair
/titanic_44/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_methods.c92 if (nvlist_add_nvlist(*out, TOPO_PROP_VAL_VAL, (nvlist_t *)buf) in store_prop_val()
/titanic_44/usr/src/lib/libcpc/common/
H A Dsubr.c105 if (nvlist_add_nvlist(reqlist[i], "cr_attr", in __cpc_pack_set()
/titanic_44/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_subr.c83 (void) nvlist_add_nvlist(erpt, FM_EREPORT_DETECTOR, new_detector); in fab_prep_basic_erpt()
157 (void) nvlist_add_nvlist(erpt, FM_EREPORT_DETECTOR, detector); in fab_send_tgt_erpt()
948 (void) nvlist_add_nvlist(nvl, FM_EREPORT_DETECTOR, in fab_send_erpt_all_rps()

1234