Searched refs:nvl (Results 251 - 275 of 338) sorted by relevance

<<11121314

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_util.c784 nvlist_t *nvl)
789 verify(nvlist_size(nvl, &len, NV_ENCODE_NATIVE) == 0);
794 verify(nvlist_pack(nvl, &packed, &len, NV_ENCODE_NATIVE, 0) == 0);
803 zcmd_write_conf_nvlist(libzfs_handle_t *hdl, zfs_cmd_t *zc, nvlist_t *nvl) argument
806 &zc->zc_nvlist_conf_size, nvl));
810 zcmd_write_src_nvlist(libzfs_handle_t *hdl, zfs_cmd_t *zc, nvlist_t *nvl) argument
813 &zc->zc_nvlist_src_size, nvl));
783 zcmd_write_nvlist_com(libzfs_handle_t *hdl, uint64_t *outnv, uint64_t *outlen, nvlist_t *nvl) argument
/illumos-gate/usr/src/cmd/prtconf/
H A Dpdevinfo.c945 nvlist_t *nvl, *cnvl; local
951 if (nvlist_unpack((char *)buf, size, &nvl, 0))
955 dump_node(nvl, level);
958 error = nvlist_lookup_byte_array(nvl, "@child", &cbuf, &csize);
985 nvlist_free(nvl);
992 dump_node(nvlist_t *nvl, int level) argument
1001 if (nvlist_lookup_string(nvl, "name", &name))
1008 (void) nvlist_lookup_int32(nvl, "@nodeid", &id);
1011 while (nvp = nvlist_next_nvpair(nvl, nvp)) {
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c1338 nvlist_t *nvl; local
1364 nvl = fnvlist_alloc();
1365 fnvlist_add_boolean(nvl, argv[0]);
1367 err = lzc_destroy_bookmarks(nvl, NULL);
2540 nvlist_t *nvl = node->usn_nvl; local
2548 (void) nvlist_lookup_uint32(nvl, "type", &ustype);
2559 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) {
4451 parse_who_perm(who_perm_t *who_perm, nvlist_t *nvl, char locality) argument
4458 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) {
4475 parse_fs_perm(fs_perm_t *fsperm, nvlist_t *nvl) argument
4576 parse_fs_perm_set(fs_perm_set_t *fspset, nvlist_t *nvl) argument
4880 nvlist_t *nvl; local
5275 nvlist_t *nvl; member in struct:deleg_perms
5522 print_holds(boolean_t scripted, size_t nwidth, size_t tagwidth, nvlist_t *nvl) argument
5574 nvlist_t *nvl = NULL; local
5620 nvlist_t *nvl; local
6850 nvlist_t *nvl; local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/common/
H A Dsw_main_cmn.c71 sw_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) argument
92 if (fmd_nvl_class_match(hdl, nvl, dp->swd_classpat)) {
99 (*dispf)(hdl, ep, nvl, class, dp->swd_arg);
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_mem.h173 nvlist_t *nvl, const char *class, cmd_errcl_t clcode,
H A Dcmd_memerr.c573 cmd_ce_common(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, argument
617 if (nvlist_lookup_nvlist(nvl, FM_EREPORT_DETECTOR, &det) != 0)
628 if (nvlist_lookup_uint64_array(nvl,
803 cmd_ue_common(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, argument
816 cpu = cmd_cpu_lookup_from_detector(hdl, nvl, class,
819 cpu = cmd_cpu_lookup_from_detector(hdl, nvl, class,
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dmpath.c435 nvlist_t *nvl; local
461 prop_buf_size, &nvl, 0);
466 retval = nvlist_lookup_string(nvl, "path-class",
476 nvlist_free(nvl);
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c2328 nvlist_t *nvl; local
2402 nvl = NULL;
2431 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0)
2445 nvlist_add_nvlist(nvl, mppx->mp_name,
2457 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0)
2471 nvlist_add_nvlist(nvl, mpp->mp_name,
2480 if (np_restore_property(nvl, ptr) != 0)
2483 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL &&
2487 nvlist_free(nvl);
2496 while ((nvp = nvlist_next_nvpair(nvl, nv
[all...]
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_node.c116 elem_parse_td(ses2_td_hdr_impl_t *tip, const char *tp, nvlist_t *nvl) argument
121 SES_NV_ADD(fixed_string, nverr, nvl, SES_PROP_CLASS_DESCRIPTION,
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_util.c377 * @param nvl
396 zjni_nvlist_walk_nvpair(nvlist_t *nvl, const char *name, data_type_t type, argument
400 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) {
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_node.c1738 extern int reparse_vnode_parse(vnode_t *vp, nvlist_t *nvl);
1748 nvlist_t *nvl; local
1755 if ((nvl = reparse_init()) == NULL)
1758 if (reparse_vnode_parse(node->vp, nvl) != 0) {
1759 reparse_free(nvl);
1765 rec = nvlist_next_nvpair(nvl, NULL);
1773 rec = nvlist_next_nvpair(nvl, rec);
1776 reparse_free(nvl);
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c1466 sa_zfs_sprintf_new_prop(nvlist_t *nvl, char *sharesmb_val) argument
1473 cur = nvlist_next_nvpair(nvl, NULL);
1483 cur = nvlist_next_nvpair(nvl, cur);
1540 sa_zfs_setprop(sa_handle_t handle, char *path, nvlist_t *nvl) argument
1547 if (nvlist_empty(nvl))
1569 if (sa_zfs_sprintf_new_prop(nvl, sharesmb_val) != 0) {
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_amd.c310 nvlist_t *nvl = NULL; local
345 err = nvlist_unpack(buf, mcs.mcs_size, &nvl, 0);
348 if (nvlist_lookup_uint8(nvl, MC_NVLIST_VERSTR, &ver) != 0) {
350 nvlist_free(nvl);
354 nvlist_free(nvl);
358 return (err ? NULL : nvl);
/illumos-gate/usr/src/uts/common/os/
H A Dsunmdi.c7480 nvlist_t *nvl = NULL; local
7508 nvl = vhcache_nvl[i];
7518 if (nvl == NULL && modrootloaded)
7519 nvl = read_on_disk_vhci_cache(vh->vh_class);
7521 if (nvl != NULL) {
7523 if (mainnvl_to_vhcache(vhcache, nvl) == MDI_SUCCESS)
7531 nvlist_free(nvl);
7792 paddrnvl_to_vhcache(nvlist_t *nvl, mdi_vhcache_phci_t *cphci_list[], argument
7800 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) {
7819 caddrmapnvl_to_vhcache(mdi_vhci_cache_t *vhcache, nvlist_t *nvl, argument
7878 mainnvl_to_vhcache(mdi_vhci_cache_t *vhcache, nvlist_t *nvl) argument
7928 nvlist_t *nvl; local
7960 nvlist_t *nvl; local
7991 nvlist_t *nvl; local
8279 nvlist_t *nvl; local
9383 nvlist_t *nvl; local
[all...]
H A Dzone.c2432 nvlist_t *nvl = NULL; local
2437 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) ||
2438 nvlist_add_string(nvl, ZONE_CB_NAME, zone->zone_name) ||
2439 nvlist_add_string(nvl, ZONE_CB_NEWSTATE,
2441 nvlist_add_string(nvl, ZONE_CB_OLDSTATE,
2443 nvlist_add_int32(nvl, ZONE_CB_ZONEID, zone->zone_id) ||
2444 nvlist_add_uint64(nvl, ZONE_CB_TIMESTAMP, (uint64_t)gethrtime()) ||
2446 ZONE_EVENT_STATUS_SUBCLASS, "sun.com", "kernel", nvl, EVCH_SLEEP)) {
2452 nvlist_free(nvl);
3693 nvlist2rctlval(nvlist_t *nvl, rctl_val_ argument
3822 nvlist_t *nvl = za->nvlist; local
4239 nvlist_t *nvl = NULL; local
7275 nvlist_t *nvl; local
7331 nvlist_t *nvl; local
[all...]
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c2777 get_fma_notify_params(nvlist_t *nvl, const char *class) argument
2779 if (_scf_get_fma_notify_params(class, nvl, 0) != 0) {
2805 nvlist_t *nvl; local
2811 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0)
2815 if (get_fma_notify_params(nvl, class) == 0)
2816 listnotify_print(nvl, get_fma_tag(i));
2824 if (get_fma_notify_params(nvl, p) == 0)
2825 listnotify_print(nvl, re_tag(p));
2833 nvlist_free(nvl);
2843 nvlist_t *nvl; local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_Lxcache.c1088 cmd_fmri_nvl2str(fmd_hdl_t *hdl, nvlist_t *nvl, char *buf, size_t buflen) argument
1098 if (nvlist_lookup_uint32(nvl, FM_FMRI_CPU_ID, &cpuid) != 0)
1100 if (nvlist_lookup_string(nvl, FM_FMRI_CPU_SERIAL_ID, &serstr) != 0)
1102 if (nvlist_lookup_uint32(nvl, FM_FMRI_CPU_CACHE_INDEX, &index) != 0)
1104 if (nvlist_lookup_uint32(nvl, FM_FMRI_CPU_CACHE_WAY, &way) != 0)
1106 if (nvlist_lookup_uint16(nvl, FM_FMRI_CPU_CACHE_BIT, &bit) != 0)
1108 if (nvlist_lookup_uint8(nvl, FM_FMRI_CPU_CACHE_TYPE, &type) != 0)
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c1334 nvlist_t *nvl; local
1340 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME_TYPE, NULL)) {
1345 nvlist_add_uint64(nvl, PICLEVENTARG_PARENTHANDLE, parenth)) {
1347 nvlist_free(nvl);
1351 nvlist_add_uint64(nvl, PICLEVENTARG_FRUHANDLE, fruh)) {
1353 nvlist_free(nvl);
1356 if (ptree_post_event(ev_name, nvl, sizeof (nvl),
1359 nvlist_free(nvl);
/illumos-gate/usr/src/uts/i86pc/cpu/authenticamd/
H A Dauthamd_main.c995 nvlist_t *nvl; local
1012 if ((nvl = fm_nvlist_create(nva)) == NULL)
1015 elems[nelems] = nvl;
1022 fm_fmri_hc_create(nvl, FM_HC_SCHEME_VERSION,
1029 fm_fmri_hc_set(nvl, FM_HC_SCHEME_VERSION,
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdllink.c477 nvlist_t *nvl = NULL; local
567 if ((nvlist_alloc(&nvl, 0, 0) != 0) ||
568 (nvlist_add_uint64(nvl, RCM_NV_LINKID, linkid2) != 0)) {
575 if (rcm_notify_event(rcm_hdl, RCM_RESOURCE_LINK_NEW, 0, nvl, NULL) ==
583 nvlist_free(nvl);
H A Dlibdlmgmt.c435 * get a specific link propertie from that snapshot (nvl), otherwise, get
495 nvlist_t *nvl = conf.ds_nvl; local
501 if (nvl == NULL || attrval == NULL || attrsz == 0 || attr == NULL ||
505 while ((nvp = nvlist_next_nvpair(nvl, last)) != NULL) {
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_zvolops.c186 nvlist_t *nvl; local
198 nvl = fnvlist_alloc();
199 fnvlist_add_boolean_value(nvl, "cachedpropsonly", B_TRUE);
200 zc->zc_nvlist_src = (uintptr_t)fnvlist_pack(nvl, &nvsz);
202 fnvlist_free(nvl);
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c832 sysevent_evc_setpropnvl(evchan_t *scp, nvlist_t *nvl) argument
842 if (nvl != NULL &&
843 nvlist_pack(nvl, &buf, &nvlsz, NV_ENCODE_NATIVE, 0) != 0)
907 * set *nvlp to NULL. Otherwise we must unpack the nvl.
/illumos-gate/usr/src/uts/common/fs/
H A Dfs_subr.c882 reparse_vnode_parse(vnode_t *vp, nvlist_t *nvl) argument
889 if (vp == NULL || nvl == NULL)
908 err = reparse_parse(lkdata, nvl);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_ckpt.c531 fmd_ckpt_save_nvlist(fmd_ckpt_t *ckp, nvlist_t *nvl) argument
537 (void) nvlist_size(nvl, &nvsize, NV_ENCODE_NATIVE);
540 (void) nvlist_pack(nvl, &nvbuf, &nvsize, NV_ENCODE_NATIVE, 0);
959 nvlist_t *nvl; local
979 if ((err = nvlist_xunpack(data, size, &nvl, &fmd.d_nva)) != 0) {
985 fmd_case_insert_suspect(cp, nvl);

Completed in 173 milliseconds

<<11121314