| /onnv/onnv-gate/usr/src/lib/libcontract/common/ |
| libcontract_impl.h | 42 nvlist_t *nvl; member in struct:ctlib_status_info 47 nvlist_t *nvl; member in struct:ctlib_event_info
|
| /onnv/onnv-gate/usr/src/lib/fm/libdiskstatus/common/ |
| libdiskstatus.c | 165 nvlist_t *nvl = NULL; local 186 if ((err = nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0)) != 0) 189 if ((err = nvlist_add_string(nvl, "protocol", "scsi")) != 0 || 190 (err = nvlist_add_nvlist(nvl, "status", dsp->ds_state)) != 0) 203 (err = nvlist_add_nvlist(nvl, FM_EREPORT_SCSI_PREDFAIL, 212 (err = nvlist_add_nvlist(nvl, FM_EREPORT_SCSI_TESTFAIL, 221 (err = nvlist_add_nvlist(nvl, FM_EREPORT_SCSI_OVERTEMP, 226 if ((err = nvlist_add_nvlist(nvl, "faults", faults)) != 0) 230 return (nvl); 234 nvlist_free(nvl); [all...] |
| /onnv/onnv-gate/usr/src/lib/libdevinfo/ |
| devinfo_profile.c | 56 nvlist_t *nvl; local 58 if (nvlist_alloc(&nvl, 0, 0)) 61 if (nvlist_add_string(nvl, SDEV_NVNAME_MOUNTPT, mountpt)) { 62 nvlist_free(nvl); 66 *profp = (di_prof_t)nvl; 129 nvlist_t *nvl = (nvlist_t *)prof; local 134 if (nvlist_add_string_array(nvl, SDEV_NVNAME_SYMLINK, syml, 2)) 145 nvlist_t *nvl = (nvlist_t *)prof; local 150 if (nvlist_add_string_array(nvl, SDEV_NVNAME_MAP, map, 2))
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
| cmd_dp_page.c | 182 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);
|
| cmd_dp.c | 50 nvlist_t *nvl = NULL; local 54 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) 57 err = nvlist_add_string(nvl, FM_FMRI_SCHEME, FM_FMRI_SCHEME_CPU); 58 err |= nvlist_add_uint8(nvl, FM_VERSION, FM_CPU_SCHEME_VERSION); 59 err |= nvlist_add_uint32(nvl, FM_FMRI_CPU_ID, cpuid); 65 err |= nvlist_add_string(nvl, FM_FMRI_CPU_SERIAL_ID, sbuf); 67 nvlist_free(nvl); 70 return (nvl); 103 nvlist_t *nvl; local 105 nvl = dp_cpu_fmri(hdl, ptr->dp_cpuid_list[i] 327 nvlist_t *nvl; local [all...] |
| /onnv/onnv-gate/usr/src/lib/fm/libfmd_agent/i386/ |
| fmd_agent_i386.c | 51 nvlist_t *nvl, **nvl_array, **cpus; local 55 NULL, &nvl)) != 0) 57 if ((err = nvlist_lookup_nvlist_array(nvl, FM_PHYSCPU_INFO_CPUS, 59 return (cleanup_set_errno(hdl, NULL, nvl, err)); 63 return (cleanup_set_errno(hdl, NULL, nvl, errno)); 69 return (cleanup_set_errno(hdl, NULL, nvl, err)); 73 nvlist_free(nvl); 101 nvlist_t *nvl = NULL, *outnvl = NULL; local 104 if ((err = nvlist_alloc(&nvl, NV_UNIQUE_NAME_TYPE, 0)) != 0 || 105 (err = nvlist_add_int32(nvl, FM_CPU_RETIRE_CHIP_ID, chipid)) != 0 | [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/ |
| fm.c | 75 nvlist_t nvl; local 84 != sizeof (eqnp) || mdb_vread(&nvl, sizeof (nvl), 85 (uintptr_t)eqnp.eqn_nvl) != sizeof (nvl)) { 92 return (wsp->walk_callback((uintptr_t)eqnp.eqn_nvl, &nvl, 127 nvlist_t nvl; local 136 != sizeof (eqnp) || mdb_vread(&nvl, sizeof (nvl), 137 (uintptr_t)eqnp.eqn_nvl) != sizeof (nvl)) { 144 return (wsp->walk_callback((uintptr_t)eqnp.eqn_nvl, &nvl, 156 nvlist_t nvl; local [all...] |
| /onnv/onnv-gate/usr/src/lib/fm/libfmd_agent/common/ |
| fmd_agent.c | 149 nvlist_t *nvl; local 168 if ((err = fmd_agent_nvl_ioctl(hdl, FM_IOC_VERSIONS, ver, NULL, &nvl)) 176 hdl->agent_ioc_versions = nvl; 220 nvlist_t *nvl = NULL; local 222 if ((err = nvlist_alloc(&nvl, NV_UNIQUE_NAME_TYPE, 0)) != 0 || 223 (err = nvlist_add_nvlist(nvl, FM_PAGE_RETIRE_FMRI, fmri)) != 0 || 224 (err = fmd_agent_nvl_ioctl(hdl, cmd, 1, nvl, NULL)) != 0) 225 return (cleanup_set_errno(hdl, nvl, NULL, err)); 227 nvlist_free(nvl);
|
| /onnv/onnv-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
| ses2_enclosure.c | 38 enc_parse_sd(ses2_elem_status_impl_t *esip, nvlist_t *nvl) 45 SES_NV_ADD(uint64, nverr, nvl, SES_PROP_STATUS_CODE, 47 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_SWAP, 49 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_DISABLED, 51 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_PRDFAIL, 54 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_IDENT, sdp->sesi_ident); 55 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_WARN, 57 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_FAIL, 59 SES_NV_ADD(uint64, nverr, nvl, SES_EN_PROP_POWER_DELAY, 61 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_WARN_REQ 78 nvlist_t *nvl = ses_node_props(np); local 135 nvlist_t *nvl = ses_node_props(np); local 210 nvlist_t *nvl = ses_node_props(np); local 259 nvlist_t *nvl = ses_node_props(np); local [all...] |
| /onnv/onnv-gate/usr/src/cmd/mms/mgmt/init/common/ |
| mmsinit.c | 298 int nvl = 0; local 303 (void) nvpair_value_int32(nv, &nvl); 304 errmsg = mms_mgmt_get_errstr(nvl); 310 nvo, nvl);
|
| /onnv/onnv-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
| mdescplugin.c | 214 nvlist_t *nvl; local 219 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME_TYPE, NULL) != 0) 233 if (nvlist_add_string(nvl, PICLEVENTARG_EVENT_NAME, 235 free(nvl); 245 if (nvlist_add_string(nvl, PICLEVENTARG_DEVFS_PATH, "/cpu") != 0) { 246 free(nvl); 250 if (nvlist_pack(nvl, &packed_nvl, &nvl_size, NV_ENCODE_NATIVE, 252 free(nvl); 258 free(nvl);
|
| /onnv/onnv-gate/usr/src/cmd/syseventd/modules/datalink_mod/ |
| datalink_mod.c | 115 nvlist_t *nvl; local 123 if (sysevent_get_attr_list(ev, &nvl) != 0) 133 newp->ev = nvl;
|
| /onnv/onnv-gate/usr/src/lib/sun_sas/common/ |
| devtree_phy_disco.c | 79 nvlist_t *nvl, **phyInfoVal; local 105 rval = nvlist_unpack((char *)propByteData, count, &nvl, 0); 118 rval = nvlist_lookup_nvlist_array(nvl, "phy-info-nvl", 123 "nvlist array phy-info-nvl not\ 129 "nvlist array phy-info-nvl not\ 132 nvlist_free(nvl); 169 nvlist_free(nvl); 191 nvlist_free(nvl);
|
| /onnv/onnv-gate/usr/src/common/fsreparse/ |
| fs_reparse.c | 42 static int reparse_create_nvlist(const char *string, nvlist_t *nvl); 43 static int reparse_add_nvpair(char *token, nvlist_t *nvl); 45 static int reparse_validate_create_nvlist(const char *string, nvlist_t *nvl); 62 nvlist_t *nvl; local 68 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0)) 71 return (nvl); 81 reparse_free(nvlist_t *nvl) 83 if (nvl) 84 nvlist_free(nvl); 98 reparse_parse(const char *string, nvlist_t *nvl) [all...] |
| /onnv/onnv-gate/usr/src/cmd/hotplugd/ |
| hotplugd_impl.c | 264 nvlist_t *nvl; local 285 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) { 308 if (nvlist_add_string(nvl, name, value) != 0) { 310 nvlist_free(nvl); 318 if (nvlist_pack(nvl, &buf, &len, NV_ENCODE_NATIVE, 0) != 0) { 320 nvlist_free(nvl); 329 nvlist_free(nvl); 344 nvlist_t *nvl = NULL; local 360 if (nvlist_unpack(prop->nvlist_buf, prop->buf_size, &nvl, 0) != 0) { 366 for (len = 0, nvp = NULL; nvp = nvlist_next_nvpair(nvl, nvp); ) [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/fmd/common/ |
| fmd_protocol.c | 49 nvlist_t *nvl; local 52 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, &fmd.d_nva) != 0) 55 err |= nvlist_add_uint8(nvl, FM_VERSION, FM_FMRI_AUTH_VERSION); 61 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_PRODUCT, str); 64 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_PRODUCT_SN, str); 67 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_CHASSIS, str); 70 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_DOMAIN, str); 73 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_SERVER, str); 78 return (nvl); 88 nvlist_t *nvl; local 117 nvlist_t *nvl; local 148 nvlist_t *nvl; local 216 nvlist_t *nvl; local 265 nvlist_t *nvl; local 297 nvlist_t *nvl, *fmri; local 332 nvlist_t *nvl; local 352 nvlist_t *nvl = fmd_protocol_xprt_ctl(mp, class, version); local 365 nvlist_t *nvl = fmd_protocol_xprt_ctl(mp, class, version); local 378 nvlist_t *nvl = fmd_protocol_xprt_ctl(mp, class, version); local 391 nvlist_t *nvl = fmd_protocol_xprt_ctl(mp, class, version); local [all...] |
| fmd_subr.c | 155 nvlist_t *nvl; local 187 (nvl = fmd_protocol_fmderror(err, format, ap)) != NULL) { 189 (void) nvlist_lookup_string(nvl, FM_CLASS, &class); 190 e = fmd_event_create(FMD_EVT_PROTOCOL, FMD_HRT_NOW, nvl, class);
|
| /onnv/onnv-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
| pmcs_smhba.c | 164 nvlist_t *nvl; local 171 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) { 201 (void) nvlist_add_nvlist_array(nvl, SAS_PHY_INFO_NVL, phy_props, 204 (void) nvlist_size(nvl, &packed_size, NV_ENCODE_NATIVE); 206 (void) nvlist_pack(nvl, &packed_data, &packed_size, 215 nvlist_free(nvl);
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/sun4u/datapath-retire/ |
| cda_main.c | 64 cda_get_subr(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t **asrup) 71 if (nvlist_lookup_nvlist(nvl, FM_FAULT_ASRU, &asru) != 0 || 79 if (fmd_nvl_class_match(hdl, nvl, sp->subr_class) && 92 cda_recv_list(fmd_hdl_t *hdl, nvlist_t *nvl) 99 err |= nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid); 100 err |= nvlist_lookup_nvlist_array(nvl, FM_SUSPECT_FAULT_LIST, 108 nvlist_t *nvl = *nva++; local 115 if ((subr = cda_get_subr(hdl, nvl, &asru)) == NULL) 119 subr->subr_func(hdl, nvl, asru, uuid); 124 cda_recv_one(fmd_hdl_t *hdl, nvlist_t *nvl) [all...] |
| /onnv/onnv-gate/usr/src/common/net/wanboot/ |
| bootconf.c | 95 nvlist_t *nvl = NULL; local 103 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) { 231 if (nvlist_add_string(nvl, ks, vs) != 0) { 254 if (nvl != NULL) { 255 nvlist_free(nvl); 263 handle->bc_nvl = nvl; 278 nvlist_t *nvl = handle->bc_nvl; local 290 if (nvlist_lookup_string(nvl, BC_ENCRYPTION_TYPE, &strval) == 0) { 313 nvlist_t *nvl = handle->bc_nvl; local 325 if (nvlist_lookup_string(nvl, BC_SIGNATURE_TYPE, &strval) == 0) 348 nvlist_t *nvl = handle->bc_nvl; local 382 nvlist_t *nvl = handle->bc_nvl; local 416 nvlist_t *nvl = handle->bc_nvl; local 462 nvlist_t *nvl = handle->bc_nvl; local [all...] |
| /onnv/onnv-gate/usr/src/lib/fm/topo/libtopo/common/ |
| mem.c | 190 nvlist_t *nvl; local 199 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0) 203 nvlist_free(nvl); 254 nvlist_free(nvl); 261 err = nvlist_add_string(nvl, "fmri-string", buf); 265 nvlist_free(nvl); 269 *out = nvl;
|
| topo_method.c | 387 nvlist_t *nvl, *props, *propval, *tmp; local 403 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0) 410 nvlist_free(nvl); 461 nvlist_add_nvlist(nvl, topo_node_name(fp->tf_node), 465 nvlist_free(nvl); 477 *out = nvl;
|
| /onnv/onnv-gate/usr/src/lib/librcm/ |
| librcm_event.c | 54 lookup_seq_num(nvlist_t *nvl, uint64_t *seq_num) 58 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) { 250 nvlist_t *nvl; local 279 nvl = (nvlist_t *)(void *)args; 282 if (errno = nvlist_size(nvl, &nvl_size, NV_ENCODE_NATIVE)) { 283 nvlist_free(nvl); 297 (void) nvlist_add_uint64(nvl, RCM_SEQ_NUM, seq_num); 301 if (errno = nvlist_pack(nvl, &args, &alen, NV_ENCODE_NATIVE, 0)) { 302 nvlist_free(nvl); 306 nvlist_free(nvl); [all...] |
| /onnv/onnv-gate/usr/src/lib/scsi/libses/common/ |
| ses_plugin.c | 79 nvlist_t *nvl; local 83 if (nvlist_dup(arg, &nvl, 0) != 0) 103 if (sp->sp_node_ctl(sp, np, op, nvl) != 0) { 104 nvlist_free(nvl); 110 if ((nvp = nvlist_next_nvpair(nvl, NULL)) != NULL) { 113 nvlist_free(nvl); 118 nvlist_free(nvl);
|
| /onnv/onnv-gate/usr/src/uts/intel/io/intel_nhm/ |
| dimm_topo.c | 191 inhm_dimmlist(uint32_t node, nvlist_t *nvl) 206 (void) nvlist_add_string(nvl, "memory-policy", 208 (void) nvlist_add_string(nvl, "memory-ecc", 238 (void) nvlist_add_nvlist_array(nvl, MCINTEL_NVLIST_MC, newchannel, 255 nvlist_t *nvl; local 257 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); 258 (void) nvlist_add_uint8(nvl, MCINTEL_NVLIST_VERSTR, 260 (void) nvlist_add_string(nvl, MCINTEL_NVLIST_MEM, inhm_mc_name()); 261 (void) nvlist_add_uint8(nvl, MCINTEL_NVLIST_NMEM, 1); 262 (void) nvlist_add_uint8(nvl, MCINTEL_NVLIST_NRANKS, 4) [all...] |