Home
last modified time | relevance | path

Searched refs:nvlist_lookup_nvlist (Results 1 – 25 of 129) sorted by relevance

123456

/titanic_41/usr/src/lib/libsrpt/common/
H A Dlibsrpt.c272 ret = nvlist_lookup_nvlist(cfgnv, SRPT_PROP_HCALIST, &hcalist); in srpt_SetTargetState()
278 ret = nvlist_lookup_nvlist(hcalist, guid, &hcanv); in srpt_SetTargetState()
345 ret = nvlist_lookup_nvlist(cfgnv, SRPT_PROP_HCALIST, &hcalist); in srpt_GetTargetState()
358 ret = nvlist_lookup_nvlist(hcalist, guid, &hcanv); in srpt_GetTargetState()
414 ret = nvlist_lookup_nvlist(cfgnv, SRPT_PROP_HCALIST, &hcalist); in srpt_ResetTarget()
/titanic_41/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_label.c51 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in get_fmtstr()
121 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in simple_dimm_label()
184 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in simple_dimm_label_mp()
269 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in seq_dimm_label()
346 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in simple_chip_label()
403 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in fsb2_chip_label()
678 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in simple_cs_label_mp()
725 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in g4_dimm_label()
798 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in g12f_dimm_label()
/titanic_41/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_methods.c47 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in get_fmtstr()
136 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in ipmi_fru_label()
183 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in ipmi_fru_fmri()
/titanic_41/usr/src/cmd/fm/schemes/hc/
H A Dscheme.c157 (void) nvlist_lookup_nvlist(nvl1, FM_FMRI_AUTHORITY, &auth1); in auth_compare()
158 (void) nvlist_lookup_nvlist(nvl2, FM_FMRI_AUTHORITY, &auth2); in auth_compare()
261 if (erhclsz < eehclsz || nvlist_lookup_nvlist(er, in fmd_fmri_contains()
271 if (nvlist_lookup_nvlist(ee, FM_FMRI_HC_SPECIFIC, &hcsp) == 0 && in fmd_fmri_contains()
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddisk_monitor.c195 if (nvlist_lookup_nvlist(fltnvl, FM_FAULT_RESOURCE, &fmri) in diskmon_agent_repair()
236 if (nvlist_lookup_nvlist(fltnvl, FM_FAULT_RESOURCE, &fmri) != 0) in diskmon_agent_suspect()
296 if (nvlist_lookup_nvlist(nvl, FM_FAULT_RESOURCE, in diskmon_recv()
/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dsw.c109 if (nvlist_lookup_nvlist(nvl, name, dest) == 0) { in sw_get_optl_nvlist()
150 if (nvlist_lookup_nvlist(in, TOPO_METH_FMRI_ARG_NVL, &args) != 0) in sw_fmri_create()
388 err = nvlist_lookup_nvlist(nvl, FM_FMRI_AUTHORITY, &anvl); in sw_fmri_nvl2str()
396 if (nvlist_lookup_nvlist(nvl, FM_FMRI_SW_OBJ, &object) != 0 || in sw_fmri_nvl2str()
404 if ((err = nvlist_lookup_nvlist(nvl, FM_FMRI_SW_SITE, &site)) == 0) { in sw_fmri_nvl2str()
H A Dtopo_protocol.c49 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &ap) != 0 || in topo_node_asru()
70 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &fp) != 0 || in topo_node_fru()
H A Dhc.c424 (void) nvlist_lookup_nvlist(nv1, FM_FMRI_FACILITY, &f1); in fmri_compare()
425 (void) nvlist_lookup_nvlist(nv2, FM_FMRI_FACILITY, &f2); in fmri_compare()
455 if (nvlist_lookup_nvlist(in, TOPO_METH_FMRI_ARG_NV1, &nv1) != 0 || in hc_compare()
456 nvlist_lookup_nvlist(in, TOPO_METH_FMRI_ARG_NV2, &nv2) != 0) in hc_compare()
499 err = nvlist_lookup_nvlist(nvl, FM_FMRI_AUTHORITY, &anvl); in fmri_nvl2str()
562 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) == 0) { in fmri_nvl2str()
592 if (nvlist_lookup_nvlist(nvl, FM_FMRI_FACILITY, &fnvl) == 0) { in fmri_nvl2str()
1215 if ((ret = nvlist_lookup_nvlist(in, TOPO_METH_FMRI_ARG_NVL, &args)) in hc_fmri_create_meth()
1222 (void) nvlist_lookup_nvlist(args, TOPO_METH_FMRI_ARG_PARENT, in hc_fmri_create_meth()
1224 (void) nvlist_lookup_nvlist(args, TOPO_METH_FMRI_ARG_AUTH, in hc_fmri_create_meth()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c156 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in find_by_guid()
181 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in search_pool()
227 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in replace_with_spare()
456 if (nvlist_lookup_nvlist(fault, FM_FAULT_FRU, in zfs_retire_recv()
486 if (nvlist_lookup_nvlist(fault, FM_FAULT_RESOURCE, in zfs_retire_recv()
/titanic_41/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_cpu.c62 if (nvlist_lookup_nvlist(nvl, FM_FAULT_RESOURCE, &rsrc) != 0) in old_topo_fault()
116 if (nvlist_lookup_nvlist(nvl, FM_FAULT_RESOURCE, &rsrc) == 0) { in cma_cpu_hc_retire()
169 if (nvlist_lookup_nvlist(asru, FM_FMRI_HC_SPECIFIC, in cma_cpu_hc_retire()
H A Dcma_page.c95 (void) nvlist_lookup_nvlist(nvl, FM_FAULT_RESOURCE, &rsrc); in cma_page_retire()
119 nvlist_lookup_nvlist(rsrc, FM_FMRI_HC_SPECIFIC, &hcsp) != 0 || in cma_page_retire()
/titanic_41/usr/src/cmd/fm/fmdump/common/
H A Dfault.c97 if (nvlist_lookup_nvlist(nva[i], FM_FAULT_FRU, &fru) == 0) in flt_verb1()
100 if (nvlist_lookup_nvlist(nva[i], FM_FAULT_ASRU, &asru) == 0) in flt_verb1()
103 if (nvlist_lookup_nvlist(nva[i], FM_FAULT_RESOURCE, &rsrc) == 0) in flt_verb1()
/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_xprt.c474 nvlist_lookup_nvlist(nvl, FM_RSRC_RESOURCE, &nvl) == 0 && in fmd_xprt_event_syn()
475 nvlist_lookup_nvlist(nvl, FM_FMRI_AUTHORITY, &nvl) == 0) { in fmd_xprt_event_syn()
504 nvlist_lookup_nvlist(nvl, FM_RSRC_RESOURCE, &nvl) == 0 && in fmd_xprt_event_ack()
505 nvlist_lookup_nvlist(nvl, FM_FMRI_AUTHORITY, &nvl) == 0) { in fmd_xprt_event_ack()
1132 (void) nvlist_lookup_nvlist(nvlp[i], FM_FAULT_RESOURCE, &rsrc); in fmd_xprt_list_suspect_local()
1137 if (nvlist_lookup_nvlist(nvlp[i], FM_FAULT_FRU, &fru) != 0 && in fmd_xprt_list_suspect_local()
1143 if (nvlist_lookup_nvlist(nvlp[i], FM_FAULT_ASRU, &asru) != 0 && in fmd_xprt_list_suspect_local()
1181 if (nvlist_lookup_nvlist(nvl, FM_SUSPECT_DE, &de_fmri) == 0) { in fmd_xprt_list_suspect_local()
1251 if (nvlist_lookup_nvlist(nvlp[i], FM_FAULT_ASRU, in fmd_xprt_list_suspect()
1271 if (nvlist_lookup_nvlist(nvlp[i], FM_FAULT_ASRU, in fmd_xprt_list_suspect()
[all …]
H A Dfmd_asru.c190 if (nvlist_lookup_nvlist(event, FM_FAULT_ASRU, &asru) == 0 && in fmd_asru_replacement_state()
195 if (nvlist_lookup_nvlist(event, FM_FAULT_RESOURCE, in fmd_asru_replacement_state()
211 if (nvlist_lookup_nvlist(event, FM_FAULT_FRU, &fru) == 0 && in fmd_asru_replacement_state()
365 if (nvlist_lookup_nvlist(nvl, FM_FAULT_ASRU, &asru) == 0 && in fmd_asru_al_create()
368 if (nvlist_lookup_nvlist(nvl, FM_FAULT_FRU, &fru) == 0 && in fmd_asru_al_create()
371 if (nvlist_lookup_nvlist(nvl, FM_FAULT_RESOURCE, &rsrc) == 0 && in fmd_asru_al_create()
469 if (nvlist_lookup_nvlist(nvl, FM_RSRC_ASRU_EVENT, &flt) != 0) { in fmd_asru_hash_recreate()
509 if (nvlist_lookup_nvlist(nvl, FM_SUSPECT_DE, &de_fmri) == 0) { in fmd_asru_hash_recreate()
521 nvlist_lookup_nvlist(flt_copy, FM_FAULT_RESOURCE, &rsrc) == 0 && in fmd_asru_hash_recreate()
550 if (nvlist_lookup_nvlist(alp->al_event, FM_FAULT_ASRU, in fmd_asru_hash_recreate()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/
H A Dsmf_diag.c133 if (nvlist_lookup_nvlist(nvl, FM_IREPORT_ATTRIBUTES, &attr) != 0) { in swde_smf_recv()
143 if (nvlist_lookup_nvlist(attr, "svc", &svcfmri) != 0) { in swde_smf_recv()
H A Dsmf_response.c327 if (nvlist_lookup_nvlist(faults[0], FM_FAULT_RESOURCE, rsrcnvl) != 0) { in suspect_is_maint_defect()
386 if (nvlist_lookup_nvlist(nvl, FM_IREPORT_ATTRIBUTES, &attr) != 0 || in swrp_smf2fmd()
398 if (nvlist_lookup_nvlist(attr, "svc", &fmri) != 0) { in swrp_smf2fmd()
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_meth.c350 if (nvlist_lookup_nvlist(in, TOPO_PROP_PARGS, &pargs) == 0) in mem_asru_compute()
354 nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args) == 0) in mem_asru_compute()
374 if (pargs && nvlist_lookup_nvlist(pargs, in mem_asru_compute()
412 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) == 0 && in is_page_fmri()
/titanic_41/usr/src/common/iscsit/
H A Discsit_common.c301 ret = nvlist_lookup_nvlist(nvl, "targetList", &listval); in it_nv_to_config()
308 ret = nvlist_lookup_nvlist(nvl, "tpgList", &listval); in it_nv_to_config()
315 ret = nvlist_lookup_nvlist(nvl, "iniList", &listval); in it_nv_to_config()
322 ret = nvlist_lookup_nvlist(nvl, "globalProperties", &listval); in it_nv_to_config()
565 ret = nvlist_lookup_nvlist(nvl, "properties", &listval); in it_nv_to_tgt()
581 ret = nvlist_lookup_nvlist(nvl, "tpgtList", &listval); in it_nv_to_tgt()
1164 ret = nvlist_lookup_nvlist(nvl, "properties", &listval); in it_nv_to_ini()
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c124 if (nvlist_lookup_nvlist(nvl, zpool_prop_to_name(prop), &nv) == 0) { in zpool_get_prop_string()
154 (nvlist_lookup_nvlist(zhp->zpool_config, in zpool_get_prop_int()
164 if (nvlist_lookup_nvlist(nvl, zpool_prop_to_name(prop), &nv) == 0) { in zpool_get_prop_int()
319 verify(nvlist_lookup_nvlist(zpool_get_config(zhp, NULL), in zpool_get_prop()
1387 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nv) != 0 || in zpool_rewind_exclaim()
1388 nvlist_lookup_nvlist(nv, ZPOOL_CONFIG_REWIND_INFO, &nv) != 0) { in zpool_rewind_exclaim()
1445 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nv) != 0 || in zpool_explain_recover()
1446 nvlist_lookup_nvlist(nv, ZPOOL_CONFIG_REWIND_INFO, &nv) != 0 || in zpool_explain_recover()
1574 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nvinfo) == in zpool_print_unsup_feat()
1576 verify(nvlist_lookup_nvlist(nvinfo, ZPOOL_CONFIG_UNSUP_FEAT, in zpool_print_unsup_feat()
[all …]
/titanic_41/usr/src/lib/scsi/plugins/ses/libses/common/
H A Dlibses.c64 if (nvlist_lookup_nvlist(props, SES_EN_PROP_LID, &lid) != 0) in libses_parse_node()
/titanic_41/usr/src/lib/libbe/common/
H A Dbe_list.c1107 if (nvlist_lookup_nvlist(userprops, in be_get_node_data()
1122 if (nvlist_lookup_nvlist(userprops, BE_POLICY_PROPERTY, in be_get_node_data()
1137 if (nvlist_lookup_nvlist(userprops, in be_get_node_data()
1144 if (nvlist_lookup_nvlist(userprops, BE_UUID_PROPERTY, in be_get_node_data()
1235 if (nvlist_lookup_nvlist(userprops, in be_get_ds_data()
1310 nvlist_lookup_nvlist(userprops, BE_POLICY_PROPERTY, in be_get_ss_data()
/titanic_41/usr/src/cmd/fm/modules/common/io-retire/
H A Drio_main.c182 if (nvlist_lookup_nvlist(faults[f], FM_FAULT_ASRU, in rio_recv()
240 if (nvlist_lookup_nvlist(faults[f], FM_FAULT_ASRU, in rio_recv()
/titanic_41/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_oplerr.c68 if (nvlist_lookup_nvlist(nvl, in opl_ue_mem()
305 if (nvlist_lookup_nvlist(nvl, FM_EREPORT_PAYLOAD_NAME_RESOURCE, in opl_scf_log()
449 if (nvlist_lookup_nvlist(nvl, MC_OPL_RESOURCE, &rsrc) != 0) in cmd_opl_mac_common()
/titanic_41/usr/src/cmd/fm/modules/common/disk-transport/
H A Ddisk_transport.c160 if (nvlist_lookup_nvlist(result, "faults", &faults) == 0 && in dt_analyze_disk()
169 nvlist_lookup_nvlist(result, nvpair_name(elem), in dt_analyze_disk()
/titanic_41/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/
H A Dfac_prov_ipmi.c242 if ((nvlist_lookup_nvlist(in, TOPO_PROP_PARGS, &pargs) == 0) && in ipmi_platform_message()
558 if ((nvlist_lookup_nvlist(in, TOPO_PROP_PARGS, &pargs) == 0) && in ipmi_indicator_mode()
679 if ((nvlist_lookup_nvlist(in, TOPO_PROP_PARGS, &pargs) == 0) && in bay_locate_mode()
825 if ((nvlist_lookup_nvlist(in, TOPO_PROP_PARGS, &pargs) == 0) && in bay_indicator_mode()
1009 if ((nvlist_lookup_nvlist(in, TOPO_PROP_PARGS, &pargs) == 0) && in x4500_present_mode()
1146 if ((nvlist_lookup_nvlist(in, TOPO_PROP_PARGS, &pargs) == 0) && in chassis_service_mode()
1551 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in ipmi_entity()
1633 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in dimm_ipmi_entity()
1696 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in cs_ipmi_entity()

123456