/illumos-gate/usr/src/lib/libsrpt/common/ |
H A D | libsrpt.c | 272 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()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_label.c | 53 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in get_fmtstr() 123 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in simple_dimm_label() 186 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in simple_dimm_label_mp() 271 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in seq_dimm_label() 348 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in simple_chip_label() 405 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in fsb2_chip_label() 680 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in simple_cs_label_mp() 727 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in g4_dimm_label() 800 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) { in g12f_dimm_label()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/ |
H A D | ipmi_methods.c | 47 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()
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | nv.h | 60 return (nvlist_lookup_nvlist((nvlist_t *)nvl, name, &snvl) == 0); in nvlist_exists_nvlist() 68 if (nvlist_lookup_nvlist((nvlist_t *)nvl, name, &snvl) == 0) in nvlist_get_nvlist()
|
/illumos-gate/usr/src/cmd/fm/schemes/hc/ |
H A D | scheme.c | 157 (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() 259 if (erhclsz < eehclsz || nvlist_lookup_nvlist(er, in fmd_fmri_contains() 269 if (nvlist_lookup_nvlist(ee, FM_FMRI_HC_SPECIFIC, &hcsp) == 0 && in fmd_fmri_contains()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | sw.c | 109 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() 382 err = nvlist_lookup_nvlist(nvl, FM_FMRI_AUTHORITY, &anvl); in sw_fmri_nvl2str() 390 if (nvlist_lookup_nvlist(nvl, FM_FMRI_SW_OBJ, &object) != 0 || in sw_fmri_nvl2str() 398 if ((err = nvlist_lookup_nvlist(nvl, FM_FMRI_SW_SITE, &site)) == 0) { in sw_fmri_nvl2str()
|
H A D | topo_protocol.c | 50 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &ap) != 0 || in topo_node_asru() 71 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &fp) != 0 || in topo_node_fru()
|
H A D | hc.c | 373 (void) nvlist_lookup_nvlist(nv1, FM_FMRI_FACILITY, &f1); in fmri_compare() 374 (void) nvlist_lookup_nvlist(nv2, FM_FMRI_FACILITY, &f2); in fmri_compare() 404 if (nvlist_lookup_nvlist(in, TOPO_METH_FMRI_ARG_NV1, &nv1) != 0 || in hc_compare() 405 nvlist_lookup_nvlist(in, TOPO_METH_FMRI_ARG_NV2, &nv2) != 0) in hc_compare() 448 err = nvlist_lookup_nvlist(nvl, FM_FMRI_AUTHORITY, &anvl); in fmri_nvl2str() 511 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) == 0) { in fmri_nvl2str() 541 if (nvlist_lookup_nvlist(nvl, FM_FMRI_FACILITY, &fnvl) == 0) { in fmri_nvl2str() 1162 if ((ret = nvlist_lookup_nvlist(in, TOPO_METH_FMRI_ARG_NVL, &args)) in hc_fmri_create_meth() 1169 (void) nvlist_lookup_nvlist(args, TOPO_METH_FMRI_ARG_PARENT, in hc_fmri_create_meth() 1171 (void) nvlist_lookup_nvlist(args, TOPO_METH_FMRI_ARG_AUTH, in hc_fmri_create_meth() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | disk_monitor.c | 200 if (nvlist_lookup_nvlist(fltnvl, FM_FAULT_RESOURCE, &fmri) in diskmon_agent_repair() 241 if (nvlist_lookup_nvlist(fltnvl, FM_FAULT_RESOURCE, &fmri) != 0) in diskmon_agent_suspect() 301 if (nvlist_lookup_nvlist(nvl, FM_FAULT_RESOURCE, in diskmon_recv()
|
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | cma_cpu.c | 64 if (nvlist_lookup_nvlist(nvl, FM_FAULT_RESOURCE, &rsrc) != 0) in old_topo_fault() 118 if (nvlist_lookup_nvlist(nvl, FM_FAULT_RESOURCE, &rsrc) == 0) { in cma_cpu_hc_retire() 171 if (nvlist_lookup_nvlist(asru, FM_FMRI_HC_SPECIFIC, in cma_cpu_hc_retire()
|
H A D | cma_page.c | 95 (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()
|
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/ |
H A D | zfs_retire.c | 168 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in find_by_guid() 193 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in search_pool() 273 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in replace_with_spare() 534 if (nvlist_lookup_nvlist(fault, FM_FAULT_FRU, in zfs_retire_recv() 564 if (nvlist_lookup_nvlist(fault, FM_FAULT_RESOURCE, in zfs_retire_recv()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_xprt.c | 474 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() 1178 if (nvlist_lookup_nvlist(nvl, FM_SUSPECT_DE, &de_fmri) == 0) { in fmd_xprt_list_suspect_local() 1248 if (nvlist_lookup_nvlist(nvlp[i], FM_FAULT_ASRU, in fmd_xprt_list_suspect() 1268 if (nvlist_lookup_nvlist(nvlp[i], FM_FAULT_ASRU, in fmd_xprt_list_suspect() [all …]
|
H A D | fmd_asru.c | 190 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 …]
|
/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | fault.c | 97 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()
|
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/ |
H A D | smf_diag.c | 133 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 D | smf_response.c | 327 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()
|
/illumos-gate/usr/src/test/util-tests/tests/libjedec/ |
H A D | libjedec_spd.c | 68 if ((ret = nvlist_lookup_nvlist(nvl, key, &check)) != 0) { in spd_check_single_err() 108 if ((ret = nvlist_lookup_nvlist(nvl, SPD_KEY_ERRS, &errs)) != 0) { in spd_check_misc_errors()
|
/illumos-gate/usr/src/common/iscsit/ |
H A D | iscsit_common.c | 301 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()
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_list.c | 1116 if (nvlist_lookup_nvlist(userprops, in be_get_node_data() 1131 if (nvlist_lookup_nvlist(userprops, BE_POLICY_PROPERTY, in be_get_node_data() 1146 if (nvlist_lookup_nvlist(userprops, in be_get_node_data() 1153 if (nvlist_lookup_nvlist(userprops, BE_UUID_PROPERTY, in be_get_node_data() 1244 if (nvlist_lookup_nvlist(userprops, in be_get_ds_data() 1319 nvlist_lookup_nvlist(userprops, BE_POLICY_PROPERTY, in be_get_ss_data()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 132 if (nvlist_lookup_nvlist(nvl, zpool_prop_to_name(prop), &nv) == 0) { in zpool_get_prop_string() 162 (nvlist_lookup_nvlist(zhp->zpool_config, in zpool_get_prop_int() 172 if (nvlist_lookup_nvlist(nvl, zpool_prop_to_name(prop), &nv) == 0) { in zpool_get_prop_int() 369 verify(nvlist_lookup_nvlist(zpool_get_config(zhp, NULL), in zpool_get_prop() 1598 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nv) != 0 || in zpool_rewind_exclaim() 1599 nvlist_lookup_nvlist(nv, ZPOOL_CONFIG_REWIND_INFO, &nv) != 0) { in zpool_rewind_exclaim() 1656 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nv) != 0 || in zpool_explain_recover() 1657 nvlist_lookup_nvlist(nv, ZPOOL_CONFIG_REWIND_INFO, &nv) != 0 || in zpool_explain_recover() 1784 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nvinfo) == in zpool_print_unsup_feat() 1786 verify(nvlist_lookup_nvlist(nvinfo, ZPOOL_CONFIG_UNSUP_FEAT, in zpool_print_unsup_feat() [all …]
|
H A D | libzfs_status.c | 218 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, in check_status() 276 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, in check_status()
|
/illumos-gate/usr/src/cmd/fm/modules/common/io-retire/ |
H A D | rio_main.c | 182 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()
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/libses/common/ |
H A D | libses.c | 62 if (nvlist_lookup_nvlist(props, SES_EN_PROP_LID, &lid) != 0) in libses_parse_node()
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-transport/ |
H A D | disk_transport.c | 157 if (nvlist_lookup_nvlist(result, "faults", &faults) == 0 && in dt_analyze_disk() 166 nvlist_lookup_nvlist(result, nvpair_name(elem), in dt_analyze_disk()
|