Searched refs:nvl (Results 201 - 225 of 338) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/panic/
H A Dpanic_diag.c400 swde_panic_detected(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, argument
413 if (nvlist_lookup_nvlist(nvl, FM_IREPORT_ATTRIBUTES, &attr) != 0) {
496 swde_panic_savecore_done(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, argument
508 if (nvlist_lookup_nvlist(nvl, FM_IREPORT_ATTRIBUTES, &attr) != 0) {
/illumos-gate/usr/src/cmd/fm/schemes/mem/
H A Dmem_unum.c412 * a new nvl (to be freed by the caller) that is a duplicate of the
416 mem_unum_rewrite(nvlist_t *nvl, nvlist_t **rnvl) argument
423 if (nvlist_lookup_string(nvl, FM_FMRI_MEM_UNUM, &unumstr) != 0 ||
437 if ((err = nvlist_dup(nvl, rnvl, 0)) != 0) {
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_nvpair.c42 static nvpair_t *nvlist_walk_nvpair(nvlist_t *nvl,
688 * @param nvl
708 nvlist_t *nvl,
714 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) {
707 nvlist_walk_nvpair( nvlist_t *nvl, const char *name, data_type_t type, nvpair_t *nvp) argument
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_prop.c770 nvlist_t *nvl = fnvlist_alloc(); local
773 fnvlist_add_uint64(nvl, propname, value);
774 error = dsl_props_set(dsname, source, nvl);
775 fnvlist_free(nvl);
783 nvlist_t *nvl = fnvlist_alloc(); local
786 fnvlist_add_string(nvl, propname, value);
787 error = dsl_props_set(dsname, source, nvl);
788 fnvlist_free(nvl);
796 nvlist_t *nvl = fnvlist_alloc(); local
799 fnvlist_add_boolean(nvl, propnam
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c202 pset_validate_remove(nvlist_t *nvl, char **errorp) argument
225 if ((error = nvlist_lookup_int32(nvl, "old_total", &old_total)) != 0) {
234 if ((error = nvlist_lookup_int32(nvl, "new_total", &new_total)) != 0) {
262 if ((error = nvlist_lookup_int32_array(nvl, "old_cpu_list",
277 if ((error = nvlist_lookup_int32_array(nvl, "new_cpu_list",
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_walker.c664 nvlist_t *nvl; local
666 result = topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME);
672 if (nvlist_add_uint32(nvl, PI_STR_MIN, min) != 0 ||
673 nvlist_add_uint32(nvl, PI_STR_MAX, max) != 0 ||
674 nvlist_add_nvlist(typelist, hc_name, nvl) != 0) {
675 nvlist_free(nvl);
678 nvlist_free(nvl);
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm_ckpt.c429 nvlist_t *nvl; /* ereport */ local
486 nvl = NULL;
487 if (nvlist_unpack(buf, ep->eb_len, &nvl, 0)) {
493 if (etm_filter_find_ldom_id(hdl, nvl, ldom, ETM_LINE_LEN,
498 nvlist_free(nvl);
511 (void) etm_pack_ds_msg(hdl, iosvc, NULL, 0, nvl, SP_MSG,
514 nvlist_free(nvl);
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dses.c194 nvlist_t *nvl; local
208 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0 ||
209 nvlist_add_uint64(nvl, SES_CTL_PROP_UCODE_MODE,
220 if (nvlist_add_uint64(nvl, SES_CTL_PROP_UCODE_BUFID,
229 if (nvlist_add_byte_array(nvl, SES_CTL_PROP_UCODE_DATA,
253 rv = sendimg(targetnode, nvl);
270 nvlist_free(nvl);
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_mca.c625 nvlist_t *nvl, *snvl; local
628 if ((nvl = fm_nvlist_create(nva)) == NULL) /* freed by caller */
632 fm_nvlist_destroy(nvl, nva ? FM_NVA_RETAIN : FM_NVA_FREE);
643 fm_nvlist_destroy(nvl,
650 fm_fmri_hc_create(nvl, FM_HC_SCHEME_VERSION, NULL, snvl,
657 fm_fmri_hc_set(nvl, FM_HC_SCHEME_VERSION, NULL, snvl, 5,
667 return (nvl);
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsd/
H A Dnfsd.c835 nvlist_t *nvl; local
892 error = nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0);
899 error = nvlist_add_string_array(nvl, NFS4_DSS_NVPAIR_NAME,
904 nvlist_free(nvl);
915 error = nvlist_pack(nvl, &bufp, &buflen, NV_ENCODE_XDR, 0);
918 nvlist_free(nvl);
923 nvlist_free(nvl);
/illumos-gate/usr/src/uts/common/fs/
H A Dxattr.c461 nvlist_t *nvl; local
463 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP)) {
467 if (xattr_fill_nvlist(vp, xattr_view, nvl, cr, ct)) {
468 nvlist_free(nvl);
472 VERIFY(nvlist_size(nvl, size, NV_ENCODE_XDR) == 0);
473 nvlist_free(nvl);
526 nvlist_t *nvl; local
538 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP))
541 if (xattr_fill_nvlist(vp, xattr_view, nvl, cr, ct)) {
542 nvlist_free(nvl);
[all...]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_addr.c545 * Parses the given nvlist `nvl' for an address or an address property.
552 * `ia_sname' and `ia_dname'. Values for `ia_pflags' are obtained if the `nvl'
554 * obtained if `nvl' contains an address.
557 i_ipadm_nvl2ainfo_common(nvlist_t *nvl, ipadm_addr_info_t *ainfo) argument
569 for (nvp = nvlist_next_nvpair(nvl, NULL); nvp != NULL;
570 nvp = nvlist_next_nvpair(nvl, nvp)) {
586 * We got an address from the nvlist `nvl'.
625 * We got an address property from `nvl'. Parse the
642 * Parses the given nvlist `nvl' for an address or an address property.
649 * Since the address object in `nvl' i
657 i_ipadm_nvl2ainfo_active(nvlist_t *nvl, ipadm_addr_info_t *ainfo) argument
677 i_ipadm_nvl2ainfo_persist(nvlist_t *nvl, ipadm_addr_info_t *ainfo) argument
1606 i_ipadm_nvl2in6_addr(nvlist_t *nvl, char *addr_type, in6_addr_t *in6_addr) argument
1978 i_ipadm_enable_static(ipadm_handle_t iph, const char *ifname, nvlist_t *nvl, sa_family_t af) argument
2051 i_ipadm_enable_dhcp(ipadm_handle_t iph, const char *ifname, nvlist_t *nvl) argument
2100 i_ipadm_enable_addrconf(ipadm_handle_t iph, const char *ifname, nvlist_t *nvl) argument
3038 nvlist_t *nvl; local
3126 i_ipadm_addr_persist_nvl(ipadm_handle_t iph, nvlist_t *nvl, uint32_t flags) argument
3532 nvlist_t *addrnvl, *nvl; local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_main.c79 cmd_nop(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class, argument
98 opl_opluecpu_detio(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, argument
101 return (cmd_opluecpu_detio(hdl, ep, nvl,
396 cmd_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) argument
404 if (fmd_nvl_class_match(hdl, nvl, sp->subr_class)) {
405 disp = sp->subr_func(hdl, ep, nvl, class, sp->subr_arg);
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcmi.c868 cmi_mc_unumtopa(mc_unum_t *up, nvlist_t *nvl, uint64_t *pap) argument
875 if (up != NULL && nvl != NULL)
885 up, nvl, pap));
895 if (nvl != NULL && nvlist_lookup_nvlist(nvl,
908 rv = mcops->cmi_mc_unumtopa(cmi_hdl_getmcdata(hdl), up, nvl, pap);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_smhba.c155 nvlist_t *nvl; local
157 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) != 0) {
162 rval = nvlist_add_nvlist_array(nvl, SAS_PHY_INFO_NVL, phy_props,
169 (void) nvlist_size(nvl, &packed_size, NV_ENCODE_NATIVE);
171 (void) nvlist_pack(nvl, &packed_data, &packed_size,
178 nvlist_free(nvl);
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_svc.c193 nvlist_t *nvl; local
207 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0)
210 if (nvlist_add_string(nvl, SHOPT_DFSROOT, dfs) != 0) {
211 nvlist_free(nvl);
215 nerr = srvsvc_sa_setprop(si, nvl);
216 nvlist_free(nvl);
1276 nvlist_t *nvl; local
1310 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0)
1313 err |= nvlist_add_string(nvl, SHOPT_CSC, csc_value);
1314 err |= nvlist_add_string(nvl, SHOPT_AB
2971 nvlist_t *nvl; local
3048 srvsvc_sa_setprop(smb_share_t *si, nvlist_t *nvl) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c576 nvlist_t *nvl = NULL; local
600 if ((rv = setup_for_devctl_cmd(ap_id, &hdl, &nvl,
625 if ((rv = port_state(hdl, nvl, &rstate, &ostate)) !=
645 if (devctl_ap_configure(hdl, nvl) != 0) {
678 if ((rv = port_state(hdl, nvl, &rstate, &ostate)) !=
728 ret = devctl_ap_unconfigure(hdl, nvl);
747 if ((rv = port_state(hdl, nvl, &rstate, &ostate)) !=
802 ret = devctl_ap_unconfigure(hdl, nvl);
847 ret = devctl_ap_disconnect(hdl, nvl);
857 if ((rv = port_state(hdl, nvl,
[all...]
/illumos-gate/usr/src/lib/libnvpair/
H A Dnvpair_json.c117 nvlist_print_json(FILE *fp, nvlist_t *nvl) argument
124 for (curr = nvlist_next_nvpair(nvl, NULL); curr;
125 curr = nvlist_next_nvpair(nvl, curr)) {
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_door.c115 nvlist_t *nvl = NULL; local
119 if (((err = nvlist_alloc(&nvl, NV_UNIQUE_NAME_TYPE, 0)) != 0) ||
120 ((err = nvlist_add_uint64(nvl, RCM_NV_LINKID, linkid)) != 0) ||
121 ((err = nvlist_add_boolean_value(nvl, RCM_NV_RECONFIGURED,
127 (char *)progname, nvl, &eid) == -1) {
136 nvlist_free(nvl);
1070 nvlist_t *nvl = NULL; local
1094 err = nvlist_alloc(&nvl, NV_UNIQUE_NAME_TYPE, 0);
1099 if ((err = nvlist_add_byte_array(nvl, attrp->lp_name,
1105 if ((err = nvlist_size(nvl,
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_mod.c553 nvlist_t *nvl = NULL; local
596 ret = nvlist_dup(hcalist, &nvl, 0);
620 srpt_ctxt->sc_cfg_hca_nv = nvl;
/illumos-gate/usr/src/uts/common/io/
H A Ddevfm.c182 nvlist_t *nvl; local
185 if ((err = nvlist_dup(fm_vers_nvl, &nvl, KM_SLEEP)) == 0)
186 *onvlp = nvl;
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_subr.c565 nvlist_t *nvl = NULL; local
607 (void) nvlist_unpack(fid.fid_outbuf, fid.fid_outsz, &nvl, 0);
608 (void) nvlist_lookup_int32(nvl, FM_GENTOPO_LEGACY, &legacy);
610 nvlist_free(nvl);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/
H A Dpiclfrutree.c1045 nvlist_t *nvl; local
1051 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME_TYPE, NULL)) {
1056 nvlist_add_uint64(nvl, PICLEVENTARG_PARENTHANDLE, parenth)) {
1058 nvlist_free(nvl);
1062 nvlist_add_uint64(nvl, PICLEVENTARG_FRUHANDLE, fruh)) {
1064 nvlist_free(nvl);
1067 if (ptree_post_event(ev_name, nvl, sizeof (nvl),
1070 nvlist_free(nvl);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/
H A Dpiclfrutree.c1170 nvlist_t *nvl; local
1176 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME_TYPE, NULL)) {
1181 nvlist_add_uint64(nvl, PICLEVENTARG_PARENTHANDLE, parenth)) {
1183 nvlist_free(nvl);
1187 nvlist_add_uint64(nvl, PICLEVENTARG_FRUHANDLE, fruh)) {
1189 nvlist_free(nvl);
1192 if (ptree_post_event(ev_name, nvl, sizeof (nvl),
1195 nvlist_free(nvl);
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_cache.c37 cma_cache_way_retire(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, argument

Completed in 107 milliseconds

1234567891011>>