Home
last modified time | relevance | path

Searched refs:nvlist_add_string (Results 1 – 25 of 242) sorted by relevance

12345678910

/titanic_44/usr/src/cmd/fm/fmd/common/
H A Dfmd_protocol.c61 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_PRODUCT, str); in fmd_protocol_authority()
64 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_PRODUCT_SN, str); in fmd_protocol_authority()
67 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_CHASSIS, str); in fmd_protocol_authority()
70 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_DOMAIN, str); in fmd_protocol_authority()
73 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_SERVER, str); in fmd_protocol_authority()
95 err |= nvlist_add_string(nvl, FM_FMRI_SCHEME, FM_FMRI_SCHEME_FMD); in fmd_protocol_fmri_module()
97 err |= nvlist_add_string(nvl, FM_FMRI_FMD_NAME, mp->mod_name); in fmd_protocol_fmri_module()
100 err |= nvlist_add_string(nvl, in fmd_protocol_fmri_module()
103 err |= nvlist_add_string(nvl, in fmd_protocol_fmri_module()
124 err |= nvlist_add_string(nvl, FM_CLASS, class); in fmd_protocol_fault()
[all …]
/titanic_44/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg_test.c72 err |= nvlist_add_string(auth, FM_FMRI_AUTH_PRODUCT, "product"); in main()
73 err |= nvlist_add_string(auth, FM_FMRI_AUTH_PRODUCT_SN, "product_sn"); in main()
74 err |= nvlist_add_string(auth, FM_FMRI_AUTH_CHASSIS, "chassis"); in main()
75 err |= nvlist_add_string(auth, FM_FMRI_AUTH_DOMAIN, "domain"); in main()
76 err |= nvlist_add_string(auth, FM_FMRI_AUTH_SERVER, "server"); in main()
85 err |= nvlist_add_string(fmri, FM_FMRI_SCHEME, FM_FMRI_SCHEME_FMD); in main()
87 err |= nvlist_add_string(fmri, FM_FMRI_FMD_NAME, "fmd_msg_test"); in main()
88 err |= nvlist_add_string(fmri, FM_FMRI_FMD_VERSION, "1.0"); in main()
97 err |= nvlist_add_string(list, FM_CLASS, FM_LIST_SUSPECT_CLASS); in main()
98 err |= nvlist_add_string(list, FM_SUSPECT_UUID, "12345678"); in main()
[all …]
/titanic_44/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_ibnex.c124 (void) nvlist_add_string(nvl, "Client", in ibtl_ibnex_get_hca_info()
132 (void) nvlist_add_string(nvl, "Alt_HCA", "no"); in ibtl_ibnex_get_hca_info()
133 (void) nvlist_add_string(nvl, "ApID", "-"); in ibtl_ibnex_get_hca_info()
140 (void) nvlist_add_string(nvl, "Alt_HCA", "no"); in ibtl_ibnex_get_hca_info()
142 (void) nvlist_add_string(nvl, "Alt_HCA", "yes"); in ibtl_ibnex_get_hca_info()
145 (void) nvlist_add_string(nvl, "ApID", "-"); in ibtl_ibnex_get_hca_info()
163 (void) nvlist_add_string(nvl, "ApID", "-"); in ibtl_ibnex_get_hca_info()
178 (void) nvlist_add_string(nvl, "ApID", ret_apid); in ibtl_ibnex_get_hca_info()
180 (void) nvlist_add_string(nvl, "ApID", "-"); in ibtl_ibnex_get_hca_info()
226 (void) nvlist_add_string(nvl, "ApID", ret_apid); in ibtl_ibnex_get_hca_info()
[all …]
/titanic_44/usr/src/uts/intel/io/intel_nhm/
H A Ddimm_topo.c149 (void) nvlist_add_string(newdimm, "dimm-size", sbuf); in inhm_dimm()
163 (void) nvlist_add_string(newdimm, "manufacturer", sbuf); in inhm_dimm()
169 (void) nvlist_add_string(newdimm, FM_FMRI_HC_SERIAL_ID, sbuf); in inhm_dimm()
175 (void) nvlist_add_string(newdimm, FM_FMRI_HC_PART, sbuf); in inhm_dimm()
181 (void) nvlist_add_string(newdimm, FM_FMRI_HC_REVISION, sbuf); in inhm_dimm()
186 (void) nvlist_add_string(newdimm, FM_FAULT_FRU_LABEL, sbuf); in inhm_dimm()
206 (void) nvlist_add_string(nvl, "memory-policy", in inhm_dimmlist()
208 (void) nvlist_add_string(nvl, "memory-ecc", in inhm_dimmlist()
212 (void) nvlist_add_string(newchannel[i], "channel-mode", in inhm_dimmlist()
260 (void) nvlist_add_string(nvl, MCINTEL_NVLIST_MEM, inhm_mc_name()); in inhm_create_nvl()
/titanic_44/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound_smf.c179 nvlist_add_string(myattr, "svc-string", svcname) != 0 || in fmevt_pp_smf()
180 nvlist_add_string(myattr, "from-state", fromstr) != 0 || in fmevt_pp_smf()
181 nvlist_add_string(myattr, "to-state", tostr) != 0 || in fmevt_pp_smf()
183 nvlist_add_string(myattr, "reason-short", rsn) != 0 || in fmevt_pp_smf()
184 nvlist_add_string(myattr, "reason-long", rsnl) != 0) { in fmevt_pp_smf()
H A Dfmevt_inbound.c238 err += nvlist_add_string(obj, FM_FMRI_SW_OBJ_PATH, execname); in fmevt_detector()
245 err += nvlist_add_string(site, FM_FMRI_SW_SITE_FILE, str); in fmevt_detector()
250 err += nvlist_add_string(site, FM_FMRI_SW_SITE_FUNC, str); in fmevt_detector()
264 err += nvlist_add_string(ctxt, FM_FMRI_SW_CTXT_ORIGIN, in fmevt_detector()
268 err += nvlist_add_string(ctxt, FM_FMRI_SW_CTXT_EXECNAME, in fmevt_detector()
279 err += nvlist_add_string(ctxt, FM_FMRI_SW_CTXT_ZONE, zonename); in fmevt_detector()
284 err += nvlist_add_string(dtcr, FM_FMRI_SCHEME, FM_FMRI_SCHEME_SW); in fmevt_detector()
443 err += nvlist_add_string(nvl, FM_CLASS, (const char *)class[i]); in fmevt_postprocess()
444 err += nvlist_add_string(nvl, FM_IREPORT_UUID, uuidstrp); in fmevt_postprocess()
446 err += nvlist_add_string(nvl, FM_IREPORT_PRIORITY, in fmevt_postprocess()
/titanic_44/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_hc_opl.c64 nvlist_add_string(fmri, FM_FMRI_SCHEME, FM_FMRI_SCHEME_HC) != 0) { in cmd_fmri_hc_set_common()
103 err |= nvlist_add_string(pairs[i], FM_FMRI_HC_NAME, name); in cmd_fmri_hc_set()
104 err |= nvlist_add_string(pairs[i], FM_FMRI_HC_ID, idstr); in cmd_fmri_hc_set()
108 err |= nvlist_add_string(fmri, FM_FMRI_HC_ROOT, ""); in cmd_fmri_hc_set()
H A Dcmd_cpu_arch.c224 if (nvlist_add_string(hcelem, FM_FMRI_HC_NAME, in cmd_cpu_mkfru()
226 nvlist_add_string(hcelem, FM_FMRI_HC_ID, comp) != 0) { in cmd_cpu_mkfru()
237 nvlist_add_string(fru, FM_FMRI_SCHEME, FM_FMRI_SCHEME_HC) != 0 || in cmd_cpu_mkfru()
239 nvlist_add_string(fru, FM_FMRI_HC_PART, partstr) != 0) || in cmd_cpu_mkfru()
241 nvlist_add_string(fru, FM_FMRI_HC_SERIAL_ID, in cmd_cpu_mkfru()
243 nvlist_add_string(fru, FM_FMRI_HC_ROOT, "") != 0 || in cmd_cpu_mkfru()
H A Dcmd_dp.c57 err = nvlist_add_string(nvl, FM_FMRI_SCHEME, FM_FMRI_SCHEME_CPU); in dp_cpu_fmri()
65 err |= nvlist_add_string(nvl, FM_FMRI_CPU_SERIAL_ID, sbuf); in dp_cpu_fmri()
160 err = nvlist_add_string(hcelem[i], FM_FMRI_HC_NAME, in cmd_dp_setasru()
162 err |= nvlist_add_string(hcelem[i], FM_FMRI_HC_ID, buf); in cmd_dp_setasru()
177 err |= nvlist_add_string(asru, FM_FMRI_SCHEME, FM_FMRI_SCHEME_HC); in cmd_dp_setasru()
178 err |= nvlist_add_string(asru, FM_FMRI_HC_ROOT, ""); in cmd_dp_setasru()
/titanic_44/usr/src/cmd/picl/plugins/common/piclevent/
H A Dpicl_slm.c206 if (nvlist_add_string(nvl, PICLEVENTARG_DEVFS_PATH, in piclslm_add_ec_devfs_args()
226 if (nvlist_add_string(nvl, PICLEVENTARG_AP_ID, in piclslm_add_ec_dr_args()
232 if (nvlist_add_string(nvl, PICLEVENTARG_HINT, "")) in piclslm_add_ec_dr_args()
235 if (nvlist_add_string(nvl, PICLEVENTARG_HINT, in piclslm_add_ec_dr_args()
263 if (nvlist_add_string(nvl, PICLEVENTARG_AP_ID, ap_id)) { in piclslm_add_ec_dr_req_args()
272 if (nvlist_add_string(nvl, PICLEVENTARG_DR_REQ_TYPE, in piclslm_add_ec_dr_req_args()
371 if (nvlist_add_string(nvl, PICLEVENTARG_EVENT_NAME, ename) || in piclslm_deliver_event()
372 nvlist_add_string(nvl, PICLEVENTARG_DATA_TYPE, in piclslm_deliver_event()
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_mod.c334 (void) nvlist_add_string(args, TOPO_METH_FMRI_ARG_PART, in topo_mod_hcfmri()
338 (void) nvlist_add_string(args, TOPO_METH_FMRI_ARG_PART, in topo_mod_hcfmri()
345 (void) nvlist_add_string(args, TOPO_METH_FMRI_ARG_REV, in topo_mod_hcfmri()
349 (void) nvlist_add_string(args, TOPO_METH_FMRI_ARG_REV, in topo_mod_hcfmri()
356 (void) nvlist_add_string(args, TOPO_METH_FMRI_ARG_SER, in topo_mod_hcfmri()
361 (void) nvlist_add_string(args, TOPO_METH_FMRI_ARG_SER, in topo_mod_hcfmri()
397 if (nvlist_add_string(args, FM_FMRI_DEV_PATH, dev_path) != 0) { in topo_mod_devfmri()
402 (void) nvlist_add_string(args, FM_FMRI_DEV_ID, devid); in topo_mod_devfmri()
441 (void) nvlist_add_string(args, FM_FMRI_CPU_SERIAL_ID, serial); in topo_mod_cpufmri()
471 err = nvlist_add_string(args, FM_FMRI_MEM_UNUM, unum); in topo_mod_memfmri()
[all …]
H A Dpkg.c165 e = nvlist_add_string(f, FM_FMRI_SCHEME, FM_FMRI_SCHEME_PKG); in construct_fru_fmri()
167 e |= nvlist_add_string(f, FM_FMRI_PKG_BASEDIR, pkgdir); in construct_fru_fmri()
168 e |= nvlist_add_string(f, FM_FMRI_PKG_INST, pkgname); in construct_fru_fmri()
169 e |= nvlist_add_string(f, FM_FMRI_PKG_VERSION, pkgver); in construct_fru_fmri()
322 if (nvlist_add_string(fmristr, "fmri-string", name) != 0) { in pkg_fmri_nvl2str()
H A Ddev.c220 if (nvlist_add_string(fmristr, "fmri-string", name) != 0) { in dev_fmri_nvl2str()
345 err |= nvlist_add_string(fmri, FM_FMRI_SCHEME, FM_FMRI_SCHEME_DEV); in dev_fmri_str2nvl()
348 err |= nvlist_add_string(fmri, FM_FMRI_DEV_ID, devid); in dev_fmri_str2nvl()
351 err |= nvlist_add_string(fmri, FM_FMRI_DEV_TGTPTLUN0, tpl0id); in dev_fmri_str2nvl()
360 err |= nvlist_add_string(fmri, FM_FMRI_DEV_PATH, devpath); in dev_fmri_str2nvl()
639 e = nvlist_add_string(out, FM_FMRI_SCHEME, FM_FMRI_SCHEME_DEV); in dev_fmri_create()
641 e |= nvlist_add_string(out, FM_FMRI_DEV_PATH, path); in dev_fmri_create()
644 e |= nvlist_add_string(out, FM_FMRI_DEV_ID, id); in dev_fmri_create()
/titanic_44/usr/src/lib/libdevinfo/
H A Ddevinfo_profile.c61 if (nvlist_add_string(nvl, SDEV_NVNAME_MOUNTPT, mountpt)) { in di_prof_init()
106 if (nvlist_add_string((nvlist_t *)prof, SDEV_NVNAME_INCLUDE, dev)) in di_prof_add_dev()
118 if (nvlist_add_string((nvlist_t *)prof, SDEV_NVNAME_EXCLUDE, dev)) in di_prof_add_exclude()
/titanic_44/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_fabric.c286 (void) nvlist_add_string(erpt, FM_CLASS, fab_buf); in fab_prep_pci_erpt()
304 (void) nvlist_add_string(erpt, FM_CLASS, fab_buf); in fab_prep_pci_bdg_erpt()
323 (void) nvlist_add_string(erpt, FM_CLASS, fab_buf); in fab_prep_pci_bdg_ctl_erpt()
343 (void) nvlist_add_string(erpt, FM_CLASS, fab_buf); in fab_prep_pcie_ce_erpt()
364 (void) nvlist_add_string(erpt, FM_CLASS, fab_buf); in fab_prep_pcie_ue_erpt()
404 (void) nvlist_add_string(erpt, FM_CLASS, fab_buf); in fab_prep_pcie_sue_erpt()
445 (void) nvlist_add_string(erpt, FM_CLASS, fab_buf); in fab_prep_pcix_erpt()
490 (void) nvlist_add_string(erpt, FM_CLASS, fab_buf); in fab_send_pcix_ecc_erpt()
510 (void) nvlist_add_string(erpt, FM_CLASS, fab_buf); in fab_send_pcix_ecc_erpt()
538 (void) nvlist_add_string(erpt, FM_CLASS, fab_buf); in fab_prep_pcix_bdg_sec_erpt()
[all …]
/titanic_44/usr/src/uts/common/os/
H A Dfm.c755 ret = nvlist_add_string(payload, name, in i_fm_payload_set()
833 if (nvlist_add_string(ereport, FM_CLASS, ereport_class) != 0) { in fm_ereport_set()
881 nvlist_add_string(fmri, FM_FMRI_SCHEME, FM_FMRI_SCHEME_HC) != 0) { in fm_fmri_hc_set_common()
918 if (nvlist_add_string(pairs[i], FM_FMRI_HC_NAME, name) != 0 || in fm_fmri_hc_set()
919 nvlist_add_string(pairs[i], FM_FMRI_HC_ID, idstr) != 0) { in fm_fmri_hc_set()
965 err |= nvlist_add_string(fmri_dev, FM_FMRI_SCHEME, FM_FMRI_SCHEME_DEV); in fm_fmri_dev_set()
972 err |= nvlist_add_string(fmri_dev, FM_FMRI_DEV_PATH, devpath); in fm_fmri_dev_set()
975 err |= nvlist_add_string(fmri_dev, FM_FMRI_DEV_ID, devid); in fm_fmri_dev_set()
978 err |= nvlist_add_string(fmri_dev, FM_FMRI_DEV_TGTPTLUN0, tpl0); in fm_fmri_dev_set()
1015 if (nvlist_add_string(fmri_cpu, FM_FMRI_SCHEME, in fm_fmri_cpu_set()
[all …]
/titanic_44/usr/src/cmd/fs.d/zfs/fstyp/
H A Dfstyp.c108 (void) nvlist_add_string(h->config, "gen_guid", buf); in fstyp_mod_ident()
112 (void) nvlist_add_string(h->config, "gen_version", buf); in fstyp_mod_ident()
115 (void) nvlist_add_string(h->config, "gen_volume_label", str); in fstyp_mod_ident()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclenvmond.c274 if (nvlist_add_string(nvlp, PICLEVENTARG_AP_ID, dr_ap_id) == -1) { in post_dr_req_event()
278 if (nvlist_add_string(nvlp, PICLEVENTARG_DR_REQ_TYPE, dr_req_type) in post_dr_req_event()
322 if (nvlist_add_string(nvlp, PICLEVENTARG_AP_ID, dr_ap_id) == -1) { in post_dr_ap_state_change_event()
326 if (nvlist_add_string(nvlp, PICLEVENTARG_HINT, dr_hint) == -1) { in post_dr_ap_state_change_event()
361 if (nvlist_add_string(nvlp, PICLEVENTARG_CPU_EV_TYPE, in post_cpu_state_change_event()
395 if (nvlist_add_string(nvlp, PICLEVENTARG_CONDITION, in post_sensor_event()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/chip/
H A Dchip_sun4v.c135 (void) nvlist_add_string(auth, FM_FMRI_AUTH_PRODUCT, in chip_tnode_create()
141 (void) nvlist_add_string(auth, FM_FMRI_AUTH_PRODUCT_SN, in chip_tnode_create()
147 (void) nvlist_add_string(auth, FM_FMRI_AUTH_SERVER, in chip_tnode_create()
153 (void) nvlist_add_string(auth, FM_FMRI_AUTH_CHASSIS, in chip_tnode_create()
217 err |= nvlist_add_string(fmri, FM_FMRI_SCHEME, FM_FMRI_SCHEME_CPU); in cpu_fmri_create()
221 err |= nvlist_add_string(fmri, FM_FMRI_CPU_SERIAL_ID, serial); in cpu_fmri_create()
/titanic_44/usr/src/lib/libipp/
H A Dlibipp.c147 if ((rc = nvlist_add_string(nvlp, IPPCTL_MODNAME, in ipp_action_create()
154 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) { in ipp_action_create()
210 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) { in ipp_action_destroy()
263 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) { in ipp_action_modify()
320 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) { in ipp_action_info()
377 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) { in ipp_action_mod()
486 if ((rc = nvlist_add_string(nvlp, IPPCTL_MODNAME, in ipp_mod_list_actions()
/titanic_44/usr/src/lib/libsff/common/
H A Dlibsff.c615 return (nvlist_add_string(nvl, LIBSFF_KEY_IDENTIFIER, val)); in sff_parse_id()
626 return (nvlist_add_string(nvl, key, str)); in sff_add_unit_string()
641 return (nvlist_add_string(nvl, LIBSFF_KEY_CONNECTOR, val)); in sff_parse_connector()
756 return (nvlist_add_string(nvl, LIBSFF_KEY_ENCODING, str)); in sff_parse_encoding()
864 return (nvlist_add_string(nvl, field, strbuf)); in sff_parse_string()
914 return (nvlist_add_string(nvl, LIBSFF_KEY_COMPLIANCE_8472, str)); in sff_parse_8472_comp()
1184 if ((ret = nvlist_add_string(nvl, LIBSFF_KEY_WAVELENGTH, in sff_qsfp_parse_copperwave()
1194 if ((ret = nvlist_add_string(nvl, in sff_qsfp_parse_copperwave()
1229 return (nvlist_add_string(nvl, LIBSFF_KEY_EXT_SPEC, str)); in sff_qsfp_parse_extcomp()
/titanic_44/usr/src/cmd/fm/ipmitopo/common/
H A Dipmitopo.c179 nvlist_add_string(params, IPMI_LAN_HOST, host) || in main()
180 nvlist_add_string(params, IPMI_LAN_USER, user) || in main()
181 nvlist_add_string(params, IPMI_LAN_PASSWD, passwd)) { in main()
/titanic_44/usr/src/lib/libipadm/common/
H A Dipadm_persist.c372 (err = nvlist_add_string(nvl_addr, IPADM_NVP_IPADDRHNAME, in i_ipadm_add_ipaddr2nvl()
376 if ((err = nvlist_add_string(nvl_addr, IPADM_NVP_IPDADDRHNAME, in i_ipadm_add_ipaddr2nvl()
419 err = nvlist_add_string(nvl_addr, IPADM_NVP_STATELESS, "yes"); in i_ipadm_add_intfid2nvl()
421 err = nvlist_add_string(nvl_addr, IPADM_NVP_STATELESS, "no"); in i_ipadm_add_intfid2nvl()
425 err = nvlist_add_string(nvl_addr, IPADM_NVP_STATEFUL, "yes"); in i_ipadm_add_intfid2nvl()
427 err = nvlist_add_string(nvl_addr, IPADM_NVP_STATEFUL, "no"); in i_ipadm_add_intfid2nvl()
475 (void) nvlist_add_string(nvl, name, ""); in i_ipadm_str_dbline2nvl()
477 (void) nvlist_add_string(nvl, name, value); in i_ipadm_str_dbline2nvl()
/titanic_44/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/
H A Dsmf_diag.c199 (void) nvlist_add_string(defect, "reason-short", rsn); in swde_smf_recv()
201 (void) nvlist_add_string(defect, "reason-long", rsnl); in swde_smf_recv()
203 (void) nvlist_add_string(defect, "svc-string", svcname); in swde_smf_recv()
/titanic_44/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_persist.c296 *errp = nvlist_add_string(db_nvl, pargp->ia_pname, pval); in ipmgmt_db_resetprop()
532 if ((*errp = nvlist_add_string(db_nvl, name, pval)) != 0) in ipmgmt_db_update()
536 if ((*errp = nvlist_add_string(db_nvl, name, instrval)) != 0) in ipmgmt_db_update()
1043 if ((err = nvlist_add_string(*nvl, IPADM_NVP_AOBJNAME, in i_ipmgmt_node2nvl()
1047 if ((err = nvlist_add_string(*nvl, IPADM_NVP_IFNAME, in i_ipmgmt_node2nvl()
1052 if ((err = nvlist_add_string(*nvl, IPADM_NVP_LIFNUM, strval)) != 0) in i_ipmgmt_node2nvl()
1056 if ((err = nvlist_add_string(*nvl, IPADM_NVP_FAMILY, strval)) != 0) in i_ipmgmt_node2nvl()
1060 if ((err = nvlist_add_string(*nvl, FLAGS, strval)) != 0) in i_ipmgmt_node2nvl()
1064 if ((err = nvlist_add_string(*nvl, ATYPE, strval)) != 0) in i_ipmgmt_node2nvl()
1073 if ((err = nvlist_add_string(*nvl, IPADM_NVP_IPNUMADDR, in i_ipmgmt_node2nvl()
[all …]

12345678910