Searched refs:nvl (Results 151 - 175 of 338) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/fm/modules/common/io-retire/
H A Drio_main.c121 rio_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) argument
162 faults = &nvl;
169 if (nfaults == 0 && nvlist_lookup_nvlist_array(nvl,
289 if (nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid) == 0 &&
300 nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid) == 0)
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_dp_page.c182 nvlist_t *nvl; local
201 nvl = page->page_asru_nvl;
203 bank = cmd_bank_lookup(hdl, nvl);
216 cmd_page_fault(hdl, nvl, nvl, ep, page->page_physbase);
H A Dcmd_opl.c194 opl_mem_fru_create(fmd_hdl_t *hdl, nvlist_t *nvl) argument
202 if (nvlist_lookup_string(nvl, FM_FMRI_MEM_UNUM, &unum) != 0)
210 if ((nvlist_lookup_string_array(nvl, FM_FMRI_MEM_SERIAL_ID, &serids,
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c1255 oprom_copyprop(pnode_t nodeid, uint_t flag, nvlist_t *nvl) argument
1260 ASSERT(nvl != NULL);
1271 (void) nvlist_add_string(nvl, "name", "");
1276 (void) nvlist_add_string(nvl, "name", propval);
1295 (void) nvlist_add_boolean(nvl, propname);
1301 (void) nvlist_add_byte_array(nvl, propname,
1319 nvlist_t *nvl; local
1325 (void) nvlist_alloc(&nvl, 0, KM_SLEEP);
1330 nvlist_free(nvl);
1334 (void) nvlist_add_byte_array(nvl, "nod
1352 nvlist_t *nvl; local
[all...]
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Ddimm_addr.c43 fmri2unum(nvlist_t *nvl, mc_unum_t *unump) argument
50 if (nvlist_lookup_nvlist(nvl, FM_FMRI_HC_SPECIFIC, &hcsp) != 0 ||
54 nvlist_lookup_nvlist_array(nvl, FM_FMRI_HC_LIST, &hcl, &npr) != 0)
118 inb_unumtopa(void *arg, mc_unum_t *unump, nvlist_t *nvl, uint64_t *pap) argument
126 if (!fmri2unum(nvl, &unum))
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dfaulty.c315 find_hostid(nvlist_t *nvl) argument
322 if (nvlist_lookup_nvlist(nvl, FM_SUSPECT_DE, &fmri) == 0 &&
339 get_nvl2str_topo(nvlist_t *nvl) argument
350 if (topo_fmri_nvl2str(topo_handle, nvl, &tname, &err) == 0) {
354 (void) nvlist_lookup_string(nvl, FM_FMRI_SCHEME, &scheme);
355 (void) nvlist_lookup_string(nvl, FM_FMRI_MOD_NAME, &mod_name);
702 get_serial_no(nvlist_t *nvl, name_list_t **serial_p, uint8_t pct) argument
713 if (nvlist_lookup_string(nvl, FM_FMRI_SCHEME, &name) == 0) {
715 if (nvlist_lookup_uint64(nvl, FM_FMRI_CPU_SERIAL_ID,
723 if (nvlist_lookup_string_array(nvl,
744 extract_record_info(nvlist_t *nvl, name_list_t **class_p, name_list_t **fru_p, name_list_t **serial_p, name_list_t **resource_p, name_list_t **asru_p, boolean_t *dummy_fru, uint8_t status) argument
811 add_fault_record_to_catalog(nvlist_t *nvl, uint64_t sec, char *uuid) argument
950 print_dict_info(nvlist_t *nvl) argument
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/
H A Dip.c147 ip_fmdo_send(fmd_hdl_t *hdl, fmd_xprt_t *xp, fmd_event_t *ep, nvlist_t *nvl) argument
178 if (ip_translate && (nvl = fmd_xprt_translate(hdl, xp, ep)) == NULL) {
183 (void) nvlist_size(nvl, &nvsize, NV_ENCODE_XDR);
200 err = nvlist_pack(nvl, &nvbuf, &nvsize, NV_ENCODE_XDR, 0);
203 nvlist_free(nvl);
241 ip_fmdo_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) argument
250 err = ip_fmdo_send(hdl, ipx->ipx_xprt, ep, nvl);
252 err = ip_fmdo_send(hdl, ipx->ipx_xprt, ep, nvl);
348 nvlist_t *nvl; local
354 err = nvlist_dup(ip_auth, &nvl,
402 nvlist_t *nvl; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_fmri.c447 topo_fmri_asru(topo_hdl_t *thp, nvlist_t *nvl, nvlist_t **asru, int *err) argument
451 if (fmri_prop(thp, nvl, TOPO_PGROUP_PROTOCOL, TOPO_PROP_ASRU,
452 nvl, &prop, err) < 0)
469 topo_fmri_fru(topo_hdl_t *thp, nvlist_t *nvl, nvlist_t **fru, int *err) argument
473 if (fmri_prop(thp, nvl, TOPO_PGROUP_PROTOCOL, TOPO_PROP_FRU,
474 nvl, &prop, err) < 0)
491 topo_fmri_label(topo_hdl_t *thp, nvlist_t *nvl, char **label, int *err) argument
496 if (fmri_prop(thp, nvl, TOPO_PGROUP_PROTOCOL, TOPO_PROP_LABEL,
514 topo_fmri_serial(topo_hdl_t *thp, nvlist_t *nvl, char **serial, int *err) argument
524 if (nvlist_lookup_string(nvl, FM_FMRI_HC_SERIAL_I
549 topo_fmri_getprop(topo_hdl_t *thp, nvlist_t *nvl, const char *pg, const char *pname, nvlist_t *args, nvlist_t **prop, int *err) argument
558 topo_fmri_setprop(topo_hdl_t *thp, nvlist_t *nvl, const char *pg, nvlist_t *prop, int flag, nvlist_t *args, int *err) argument
696 topo_fmri_create(topo_hdl_t *thp, const char *scheme, const char *name, topo_instance_t inst, nvlist_t *nvl, int *err) argument
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_self.c82 self_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) argument
98 nvlist_lookup_nvlist(nvl, FM_EREPORT_DETECTOR, &mod) == 0 &&
108 (void) nvlist_lookup_int32(nvl, FMD_ERR_MOD_ERRNO, &err);
H A Dfmd_case.c398 nvlist_t **nva, *nvl; local
447 nvl = fmd_protocol_list(class, cip->ci_diag_de == NULL ?
452 return (nvl);
462 fmd_case_compare_elem(nvlist_t *nvl, nvlist_t *xnvl, const char *elem) argument
484 if (nvlist_lookup_nvlist(nvl, elem, &new_rsrc) != 0)
686 nvlist_t *nvl = (nvlist_t *)arg; local
690 fmd_case_match_suspect(nvl, alp->al_event) == 1)
1045 nvlist_t *nvl; local
1094 nvl = fmd_case_mkevent(cp, FM_LIST_SUSPECT_CLASS);
1095 (void) nvlist_lookup_string(nvl, FM_CLAS
1669 fmd_case_insert_suspect(fmd_case_t *cp, nvlist_t *nvl) argument
1690 fmd_case_recreate_suspect(fmd_case_t *cp, nvlist_t *nvl) argument
2170 nvlist_t *nvl; local
2429 fmd_case_set_de_fmri(fmd_case_t *cp, nvlist_t *nvl) argument
2452 nvlist_t *nvl; local
[all...]
H A Dfmd_subr.c129 nvlist_t *nvl; local
161 (nvl = fmd_protocol_fmderror(err, format, ap)) != NULL) {
163 (void) nvlist_lookup_string(nvl, FM_CLASS, &class);
164 e = fmd_event_create(FMD_EVT_PROTOCOL, FMD_HRT_NOW, nvl, class);
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfabric-xlate.h54 nvlist_t *nvl; member in struct:fab_data
168 extern char *fab_find_addr(fmd_hdl_t *hdl, nvlist_t *nvl, uint64_t addr);
169 extern char *fab_find_bdf(fmd_hdl_t *hdl, nvlist_t *nvl, pcie_req_id_t bdf);
H A Dfabric-xlate.c112 fab_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) argument
121 if (nvlist_dup(nvl, &new_nvl, NV_UNIQUE_NAME) != 0) {
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_main.c58 gmem_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) argument
66 if (fmd_nvl_class_match(hdl, nvl, sp->subr_class)) {
67 disp = sp->subr_func(hdl, ep, nvl, class);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_smhba.c174 nvlist_t *nvl; local
181 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) {
211 (void) nvlist_add_nvlist_array(nvl, SAS_PHY_INFO_NVL, phy_props,
214 (void) nvlist_size(nvl, &packed_size, NV_ENCODE_NATIVE);
216 (void) nvlist_pack(nvl, &packed_data, &packed_size,
225 nvlist_free(nvl);
/illumos-gate/usr/src/uts/common/os/
H A Ddevcache.c377 nvlist_t *nvl; local
466 nvl = NULL;
467 rval = nvlist_unpack(buf, hdr.nvpf_size, &nvl, 0);
476 *ret_nvlist = nvl;
663 fwrite_nvlist(char *filename, nvlist_t *nvl) argument
676 err = nvlist_pack(nvl, &nvbuf, &buflen, NV_ENCODE_NATIVE, 0);
754 e_fwrite_nvlist(nvfd_t *nvfd, nvlist_t *nvl) argument
758 if ((err = fwrite_nvlist(nvfd->nvf_cache_path, nvl)) == 0)
784 nvlist_t *nvl; local
793 rval = fread_nvlist(nvfd->nvf_cache_path, &nvl);
958 nvlist_t *nvl; local
[all...]
/illumos-gate/usr/src/uts/intel/io/mc-amd/
H A Dmcamd_drv.c189 mc_nvl_add_socket(nvlist_t *nvl, mc_t *mc) argument
201 (void) nvlist_add_string(nvl, "socket", s);
234 mc_nvl_add_ecctype(nvlist_t *nvl, mc_t *mc) argument
236 (void) nvlist_add_string(nvl, "ecc-type", mc_ecc_enabled(mc) ?
241 mc_nvl_add_prop(nvlist_t *nvl, void *node, mcamd_propcode_t code, int reqval) argument
251 (void) nvlist_add_uint64(nvl, name, value);
348 nvlist_t *nvl; local
351 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP);
353 (void) nvlist_add_uint32(nvl, "NodeId", MCREG_FIELD_CMN(nip, NodeId));
354 (void) nvlist_add_uint32(nvl, "CoherentNode
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem.c301 mem_expand_opt(topo_mod_t *mod, nvlist_t *nvl, char **serids) argument
316 if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_OFFSET, &offset) == 0) {
321 (void) nvlist_add_uint64(nvl,
325 } else if (nvlist_lookup_uint64(nvl,
339 (void) (nvlist_add_uint64(nvl,
379 mem_page_isretired(topo_mod_t *mod, nvlist_t *nvl) argument
390 rc = ldom_fmri_status(lhp, nvl);
404 mem_page_retire(topo_mod_t *mod, nvlist_t *nvl) argument
415 rc = ldom_fmri_retire(lhp, nvl);
429 mem_page_unretire(topo_mod_t *mod, nvlist_t *nvl) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c568 device_configured(devctl_hdl_t hdl, nvlist_t *nvl, ap_rstate_t *rstate) argument
574 if (devctl_ap_getstate(hdl, nvl, &devctl_ap_state) == -1) {
853 reset_device(devctl_hdl_t devctl_hdl, nvlist_t *nvl) argument
863 if (devctl_ap_disconnect(devctl_hdl, nvl) != 0) {
873 if (devctl_ap_configure(devctl_hdl, nvl) != 0) {
1014 nvlist_t *nvl = NULL; local
1036 if ((rv = setup_for_devctl_cmd(ap_id, &hdl, &nvl, 0)) !=
1043 if ((rv = device_configured(hdl, nvl, &rstate)) !=
1053 if (devctl_ap_configure(hdl, nvl) != 0) {
1082 if ((rv = device_connected(hdl, nvl,
[all...]
/illumos-gate/usr/src/lib/libiscsit/common/
H A Dlibiscsit.c81 it_validate_configprops(nvlist_t *nvl, nvlist_t *errs);
84 it_validate_tgtprops(nvlist_t *nvl, nvlist_t *errs);
87 it_validate_iniprops(nvlist_t *nvl, nvlist_t *errs);
1535 it_validate_tgtprops(nvlist_t *nvl, nvlist_t *errs) argument
1544 if (!nvl) {
1548 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) {
1623 (void) nvlist_remove_all(nvl, PROP_AUTH);
1635 it_validate_configprops(nvlist_t *nvl, nvlist_t *errs) argument
1647 if (!nvl) {
1651 while ((nvp = nvlist_next_nvpair(nvl, nv
1795 it_validate_iniprops(nvlist_t *nvl, nvlist_t *errs) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvlds.c1346 nvlist_t *nvl = NULL; local
1378 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) ||
1379 nvlist_add_uint64(nvl, VLDS_HDL, hdl) ||
1380 nvlist_add_uint16(nvl, VLDS_VER_MAJOR, ver->major) ||
1381 nvlist_add_uint16(nvl, VLDS_VER_MINOR, ver->minor) ||
1382 nvlist_add_uint64(nvl, VLDS_DOMAIN_HDL, dhdl) ||
1383 nvlist_add_string(nvl, VLDS_SERVICE_ID, servicep) ||
1384 nvlist_add_boolean_value(nvl, VLDS_ISCLIENT,
1387 ESC_VLDS_REGISTER, "sun.com", "kernel", nvl, EVCH_SLEEP)) {
1393 nvlist_free(nvl);
1400 nvlist_t *nvl = NULL; local
1443 nvlist_t *nvl = NULL; local
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_rcm.c656 nvlist_t *nvl = NULL; local
668 else if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) {
779 if (nvlist_add_string(nvl, "state", "capacity") != 0 ||
780 nvlist_add_int32(nvl, "old_total", oldncpuids) != 0 ||
781 nvlist_add_int32(nvl, "new_total", newncpuids) != 0 ||
782 nvlist_add_int32_array(nvl, "old_cpu_list", oldcpuids,
784 nvlist_add_int32_array(nvl, "new_cpu_list", newcpuids,
793 flags, nvl, rinfo);
796 flags & ~RCM_FORCE, nvl, rinfo);
800 nvlist_free(nvl);
816 nvlist_t *nvl; local
[all...]
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_subr.c83 nvlist_add_fixed_string(nvlist_t *nvl, const char *name, argument
90 return (nvlist_add_string(nvl, name, str));
97 nvlist_add_fixed_string_trunc(nvlist_t *nvl, const char *name, argument
108 return (nvlist_add_fixed_string(nvl, name, buf, len));
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dscheme.c184 sunFm_nvl2str(nvlist_t *nvl) argument
190 if (nvlist_lookup_string(nvl, FM_FMRI_SCHEME, &name) != 0) {
205 if ((len = sp->sch_ops.sop_nvl2str(nvl, &c, sizeof (c))) == -1 ||
207 sp->sch_ops.sop_nvl2str(nvl, s, len + 1) == -1) {
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.h101 extern char *fmdump_nvl2str(nvlist_t *nvl);

Completed in 126 milliseconds

1234567891011>>