| /onnv/onnv-gate/usr/src/cmd/fm/schemes/fmd/ |
| scheme.c | 35 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) 39 if (nvlist_lookup_string(nvl, FM_FMRI_FMD_NAME, &name) != 0) 48 fmd_fmri_present(nvlist_t *nvl) 55 fmd_fmri_unusable(nvlist_t *nvl)
|
| /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_ctl.c | 79 fmd_ctl_addhrt(nvlist_t *nvl) 83 (void) nvlist_lookup_int64(nvl, FMD_CTL_ADDHRT_DELTA, &delta); 95 fmd_ctl_inval(nvlist_t *nvl) 99 (void) nvlist_lookup_string(nvl, FM_CLASS, &class); 105 fmd_ctl_pause(nvlist_t *nvl) 116 fmd_ctl_init(nvlist_t *nvl) 127 cp->ctl_nvl = nvl; 130 if (nvl == NULL) { 135 if (nvlist_lookup_string(nvl, FM_CLASS, &class) != 0 || 136 nvlist_lookup_uint8(nvl, FM_VERSION, &vers) != 0 [all...] |
| fmd_fmri.c | 134 fmd_fmri_auth2str(nvlist_t *nvl) 140 for (nvp = nvlist_next_nvpair(nvl, NULL); 141 nvp != NULL; nvp = nvlist_next_nvpair(nvl, nvp)) { 153 for (nvp = nvlist_next_nvpair(nvl, NULL); 154 nvp != NULL; nvp = nvlist_next_nvpair(nvl, nvp)) { 254 nvl2scheme(nvlist_t *nvl) 258 if (nvlist_lookup_string(nvl, FM_FMRI_SCHEME, &name) != 0) { 267 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) 278 if ((sp = nvl2scheme(nvl)) == NULL) 283 rv = sp->sch_ops.sop_nvl2str(nvl, buf, buflen) 437 nvlist_t *nvl; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/schemes/legacy-hc/ |
| scheme.c | 31 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) 37 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 || 39 nvlist_lookup_string(nvl, FM_FMRI_LEGACY_HC, &c) != 0) 51 fmd_fmri_present(nvlist_t *nvl) 58 fmd_fmri_unusable(nvlist_t *nvl)
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
| cma_page_arch.c | 33 cma_fmri_page_service_state(fmd_hdl_t *hdl, nvlist_t *nvl) 39 rc = fmd_agent_page_isretired(fa_hdl, nvl); 55 cma_fmri_page_retire(fmd_hdl_t *hdl, nvlist_t *nvl) 61 rc = fmd_agent_page_retire(fa_hdl, nvl); 71 cma_fmri_page_unretire(fmd_hdl_t *hdl, nvlist_t *nvl) 77 rc = fmd_agent_page_unretire(fa_hdl, nvl);
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/ |
| cma_page_sun4v.c | 36 cma_fmri_page_service_state(fmd_hdl_t *hdl, nvlist_t *nvl) 38 errno = ldom_fmri_status(cma_lhp, nvl); 50 cma_fmri_page_retire(fmd_hdl_t *hdl, nvlist_t *nvl) 52 errno = ldom_fmri_retire(cma_lhp, nvl); 64 cma_fmri_page_unretire(fmd_hdl_t *hdl, nvlist_t *nvl) 66 errno = ldom_fmri_unretire(cma_lhp, nvl);
|
| /onnv/onnv-gate/usr/src/uts/common/fs/ |
| fs_reparse.h | 65 extern void reparse_free(nvlist_t *nvl); 66 extern int reparse_parse(const char *reparse_data, nvlist_t *nvl); 72 extern int reparse_vnode_parse(vnode_t *vp, nvlist_t *nvl); 74 extern int reparse_add(nvlist_t *nvl, const char *svc_type, 76 extern int reparse_remove(nvlist_t *nvl, const char *svc_type); 77 extern int reparse_unparse(nvlist_t *nvl, char **stringp);
|
| /onnv/onnv-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
| ses2_element.c | 39 elem_parse_device(const ses2_elem_status_impl_t *esip, nvlist_t *nvl) 44 SES_NV_ADD(uint64, nverr, nvl, SES_DEV_PROP_SLOT_ADDR, 46 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_REPORT, 48 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_IDENT, 50 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_RMV, dip->sdsi_rmv); 51 SES_NV_ADD(boolean_value, nverr, nvl, SES_DEV_PROP_READY_TO_INSERT, 53 SES_NV_ADD(boolean_value, nverr, nvl, SES_DEV_PROP_ENC_BYP_B, 55 SES_NV_ADD(boolean_value, nverr, nvl, SES_DEV_PROP_ENC_BYP_A, 57 SES_NV_ADD(boolean_value, nverr, nvl, SES_DEV_PROP_DO_NOT_REMOVE, 59 SES_NV_ADD(boolean_value, nverr, nvl, SES_DEV_PROP_APP_BYP_A 543 nvlist_t *nvl = ses_node_props(np); local 956 nvlist_t *nvl = ses_node_props(np); local [all...] |
| 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/adm/common/ |
| mmsadm.c | 68 static int mmsadm_discover(nvlist_t *nvl, nvlist_t *errs); 69 static int mmsadm_create(nvlist_t *nvl, nvlist_t *errs); 70 static int mmsadm_delete(nvlist_t *nvl, nvlist_t *errs); 71 static int mmsadm_set(nvlist_t *nvl, nvlist_t *errs); 72 static int mmsadm_list(nvlist_t *nvl, nvlist_t *errs); 73 static int mmsadm_online(nvlist_t *nvl, nvlist_t *errs); 74 static int mmsadm_offline(nvlist_t *nvl, nvlist_t *errs); 75 static int mmsadm_add_vol(nvlist_t *nvl, nvlist_t *errs); 76 static int mmsadm_rm_vol(nvlist_t *nvl, nvlist_t *errs); 77 static int mmsadm_showreq(nvlist_t *nvl, nvlist_t *errs) 254 nvlist_t *nvl = NULL; local [all...] |
| /onnv/onnv-gate/usr/src/uts/sparc/io/ |
| devfm_machdep.c | 37 fm_get_paddr(nvlist_t *nvl, uint64_t *paddr) 49 if ((nvlist_lookup_string(nvl, FM_FMRI_SCHEME, &scheme) != 0) || 51 (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0) || 66 if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_OFFSET, &offset) != 0) { 67 if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_PHYSADDR, &pa) != 71 } else if (nvlist_lookup_string(nvl, FM_FMRI_MEM_UNUM, &unum) != 0 || 72 nvlist_lookup_string_array(nvl, FM_FMRI_MEM_SERIAL_ID, &serids, 80 if (nvlist_lookup_uint64(nvl,
|
| /onnv/onnv-gate/usr/src/cmd/fm/schemes/svc/ |
| scheme.c | 45 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) 55 if (topo_fmri_nvl2str(thp, nvl, &str, &err) != 0) { 73 fmd_fmri_present(nvlist_t *nvl) 79 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 || 85 present = topo_fmri_present(thp, nvl, &err); 92 fmd_fmri_replaced(nvlist_t *nvl) 98 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 || 104 replaced = topo_fmri_replaced(thp, nvl, &err); 111 fmd_fmri_service_state(nvlist_t *nvl) 117 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 | [all...] |
| /onnv/onnv-gate/usr/src/lib/mms/mgmt/common/ |
| mms_mgmt.h | 230 mms_mgmt_set_state(void *session, nvlist_t *nvl, nvlist_t *errs); 233 mms_mgmt_add_application(void *session, nvlist_t *nvl, nvlist_t *errs); 236 mms_mgmt_remove_application(void *session, nvlist_t *nvl, nvlist_t *errs); 239 mms_mgmt_modify_application(void *session, nvlist_t *nvl, nvlist_t *errs); 247 mms_mgmt_add_mpool(void *session, nvlist_t *nvl, nvlist_t *errs); 250 mms_mgmt_add_dpool(void *session, nvlist_t *nvl, nvlist_t *errs); 253 mms_mgmt_modify_mpool(void *session, nvlist_t *nvl, nvlist_t *errs); 256 mms_mgmt_modify_dpool(void *session, nvlist_t *nvl, nvlist_t *errs); 267 mms_mgmt_add_cartridges(void *session, nvlist_t *nvl, nvlist_t *errs); 270 mms_mgmt_remove_cartridges(void *session, nvlist_t *nvl, nvlist_t *errs) [all...] |
| /onnv/onnv-gate/usr/src/cmd/dcs/sparc/sun4u/ |
| rsrc_info.c | 136 nvlist_t *nvl = NULL; local 154 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) { 159 if (nvlist_add_int32(nvl, RI_HDL_FLAGS, hdl->flags) != 0) { 165 nvlist_add_byte_array(nvl, RI_HDL_APS, (uchar_t *)buf, size) != 0) { 172 nvlist_add_byte_array(nvl, RI_HDL_CPU_CAPS, (uchar_t *)buf, 180 nvlist_add_byte_array(nvl, RI_HDL_MEM_CAPS, (uchar_t *)buf, 186 if (nvlist_pack(nvl, &buf, &size, encoding, 0) != 0) { 191 nvlist_free(nvl); 199 if (nvl != NULL) 200 nvlist_free(nvl); 211 nvlist_t *nvl = NULL; local 265 nvlist_t *nvl = NULL; local 320 nvlist_t *nvl = NULL; local 371 nvlist_t *nvl = NULL; local 436 nvlist_t *nvl = NULL; local 482 nvlist_t *nvl = NULL; local 556 nvlist_t *nvl = NULL; local 630 nvlist_t *nvl; local 690 nvlist_t *nvl; local 748 nvlist_t *nvl; local 807 nvlist_t *nvl; local 848 nvlist_t *nvl; local 886 nvlist_t *nvl; local [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/schemes/dev/ |
| scheme.c | 48 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) 58 if (topo_fmri_nvl2str(thp, nvl, &str, &err) != 0) { 75 fmd_fmri_present(nvlist_t *nvl) 83 present = topo_fmri_present(thp, nvl, &err); 90 fmd_fmri_replaced(nvlist_t *nvl) 98 rval = topo_fmri_replaced(thp, nvl, &err); 105 fmd_fmri_unusable(nvlist_t *nvl) 111 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 || 118 unusable = topo_fmri_unusable(thp, nvl, &err); 128 fmd_fmri_service_state(nvlist_t *nvl) [all...] |
| /onnv/onnv-gate/usr/src/lib/libcontract/common/ |
| process.c | 111 if (info->nvl == NULL) 113 return (nvlist_lookup_uint32(info->nvl, CTPE_PID, (uint_t *)pid)); 124 if (info->nvl == NULL) 126 return (nvlist_lookup_uint32(info->nvl, CTPE_PPID, (uint_t *)ppid)); 137 if (info->nvl == NULL) 139 return (nvlist_lookup_uint32(info->nvl, CTPE_SIGNAL, (uint_t *)signal)); 150 if (info->nvl == NULL) 152 return (nvlist_lookup_uint32(info->nvl, CTPE_SENDER, (uint_t *)sender)); 163 if (info->nvl == NULL) 165 return (nvlist_lookup_uint32(info->nvl, CTPE_SENDCT, (uint_t *)sendct)) [all...] |
| /onnv/onnv-gate/usr/src/common/nvpair/ |
| nvpair.c | 131 static int nvlist_add_common(nvlist_t *nvl, const char *name, data_type_t type, 175 nvlist_lookup_nv_alloc(nvlist_t *nvl) 179 if (nvl == NULL || 180 (priv = (nvpriv_t *)(uintptr_t)nvl->nvl_priv) == NULL) 251 nvlist_init(nvlist_t *nvl, uint32_t nvflag, nvpriv_t *priv) 253 nvl->nvl_version = NV_VERSION; 254 nvl->nvl_nvflag = nvflag & (NV_UNIQUE_NAME|NV_UNIQUE_NAME_TYPE); 255 nvl->nvl_priv = (uint64_t)(uintptr_t)priv; 256 nvl->nvl_flag = 0; 257 nvl->nvl_pad = 0 2415 nvlist_t *nvl; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/schemes/mem/i386/ |
| mem_disc.c | 57 mem_expand_opt(nvlist_t *nvl, char *unum, char **serids)
|
| /onnv/onnv-gate/usr/src/cmd/fm/schemes/mod/ |
| scheme.c | 33 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) 43 if (topo_fmri_nvl2str(thp, nvl, &str, &err) != 0) { 68 fmd_fmri_present(nvlist_t *nvl) 82 fmd_fmri_unusable(nvlist_t *nvl)
|
| /onnv/onnv-gate/usr/src/cmd/fm/schemes/pkg/ |
| scheme.c | 33 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) 43 if (topo_fmri_nvl2str(thp, nvl, &str, &err) != 0) { 68 fmd_fmri_present(nvlist_t *nvl) 82 fmd_fmri_unusable(nvlist_t *nvl)
|
| /onnv/onnv-gate/usr/src/lib/fm/topo/libtopo/common/ |
| topo_nvl.c | 56 topo_mod_nvdup(topo_mod_t *mod, nvlist_t *nvl, nvlist_t **nvlp) 58 if (nvlist_xdup(nvl, nvlp, &mod->tm_alloc->ta_nva) != 0) 75 topo_hdl_nvdup(topo_hdl_t *thp, nvlist_t *nvl, nvlist_t **nvlp) 77 if (nvlist_xdup(nvl, nvlp, &thp->th_alloc->ta_nva) != 0)
|
| /onnv/onnv-gate/usr/src/common/iscsit/ |
| iscsit_common.c | 192 it_config_to_nv(it_config_t *cfg, nvlist_t **nvl) 198 if (!nvl) { 202 *nvl = NULL; 211 *nvl = nv; 252 *nvl = nv; 268 it_nv_to_config(nvlist_t *nvl, it_config_t **cfg) 287 if (!nvl) { 299 ret = nvlist_lookup_uint32(nvl, "cfgVersion", &intval); 307 ret = nvlist_lookup_nvlist(nvl, "targetList", &listval); 314 ret = nvlist_lookup_nvlist(nvl, "tpgList", &listval) [all...] |
| /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...] |