/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_kshare.c | 1176 smb_kshare_decode_bool(nvlist_t *nvl, const char *propname, uint32_t flag) in smb_kshare_decode_bool() argument 1180 if (nvlist_lookup_string(nvl, propname, &boolp) == 0) in smb_kshare_decode_bool()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ioctl.c | 1470 put_nvlist(zfs_cmd_t *zc, nvlist_t *nvl) in put_nvlist() argument 1476 size = fnvlist_size(nvl); in put_nvlist() 1481 packed = fnvlist_pack(nvl, &size); in put_nvlist() 1591 nvlist_t *nvl = NULL; in zfs_ioc_pool_create() local 1603 if (nvl) { in zfs_ioc_pool_create() 2708 } else if (err != 0 && nvl != retrynvl) { in zfs_set_prop_nvlist() 2726 nvl = retrynvl; in zfs_set_prop_nvlist() 2855 nvlist_t *nvl; in zfs_ioc_set_prop() local 2863 zc->zc_iflags, &nvl)) != 0) in zfs_ioc_set_prop() 2871 origprops, nvl); in zfs_ioc_set_prop() [all …]
|
H A D | dsl_crypt.c | 2082 nvlist_t *nvl, dmu_tx_t *tx) in dsl_crypto_recv_raw_objset_sync() argument 2104 blksz = fnvlist_lookup_uint64(nvl, "mdn_blksz"); in dsl_crypto_recv_raw_objset_sync() 2265 keyformat = fnvlist_lookup_uint64(nvl, in dsl_crypto_recv_raw_key_sync() 2267 iters = fnvlist_lookup_uint64(nvl, in dsl_crypto_recv_raw_key_sync() 2269 salt = fnvlist_lookup_uint64(nvl, in dsl_crypto_recv_raw_key_sync() 2393 dcrka.dcrka_nvl = nvl; in dsl_crypto_recv_raw() 2408 nvlist_t *nvl = NULL; in dsl_crypto_populate_key_nvlist() local 2426 ret = nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in dsl_crypto_populate_key_nvlist() 2525 VERIFY0(nvlist_add_uint8_array(nvl, "portable_mac", in dsl_crypto_populate_key_nvlist() 2540 *nvl_out = nvl; in dsl_crypto_populate_key_nvlist() [all …]
|
H A D | vdev.c | 1808 nvlist_t *nvl; in vdev_validate() local 1885 if (nvlist_lookup_nvlist(label, ZPOOL_CONFIG_VDEV_TREE, &nvl) in vdev_validate() 1886 != 0 || nvlist_lookup_uint64(nvl, ZPOOL_CONFIG_ORIG_GUID, in vdev_validate()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/zen/ |
H A D | topo_zen.c | 357 nvlist_t *nvl = cpu_cache->fmcc_caches[i]; in topo_zen_map_caches() local 363 if (nvlist_lookup_pairs(nvl, 0, in topo_zen_map_caches() 397 *cachep = nvl; in topo_zen_map_caches()
|
H A D | topo_zen_tn.c | 135 tnode_t *pnode, topo_instance_t inst, nvlist_t *nvl) in topo_zen_build_cache() argument 149 if (nvlist_lookup_pairs(nvl, 0, in topo_zen_build_cache() 177 if (nvlist_lookup_boolean(nvl, FM_CACHE_INFO_FULLY_ASSOC) == 0) { in topo_zen_build_cache()
|
/illumos-gate/usr/src/common/nvpair/ |
H A D | nvpair.c | 186 if (nvl == NULL || in nvlist_lookup_nv_alloc() 548 nvl->nvl_flag = 0; in nvlist_init() 549 nvl->nvl_pad = 0; in nvlist_init() 853 if (nvl == NULL || in nvlist_free() 937 if (nvl == NULL || name == NULL || nvl->nvl_priv == 0) in nvlist_remove_all() 955 if (nvl == NULL || name == NULL || nvl->nvl_priv == 0) in nvlist_remove() 1138 if (name == NULL || nvl == NULL || nvl->nvl_priv == 0) in nvlist_add_common() 1607 if (name == NULL || nvl == NULL || nvl->nvl_priv == 0) in nvlist_lookup_common() 2269 if (dst != nvl) in nvlist_merge() 2715 nvlist_t *nvl; in nvlist_xunpack() local [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | spa.h | 1018 extern int spa_history_log_nvl(spa_t *spa, nvlist_t *nvl);
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_util.c | 877 nvlist_t *nvl) in zcmd_write_nvlist_com() argument 882 verify(nvlist_size(nvl, &len, NV_ENCODE_NATIVE) == 0); in zcmd_write_nvlist_com() 887 verify(nvlist_pack(nvl, &packed, &len, NV_ENCODE_NATIVE, 0) == 0); in zcmd_write_nvlist_com() 896 zcmd_write_conf_nvlist(libzfs_handle_t *hdl, zfs_cmd_t *zc, nvlist_t *nvl) in zcmd_write_conf_nvlist() argument 899 &zc->zc_nvlist_conf_size, nvl)); in zcmd_write_conf_nvlist() 903 zcmd_write_src_nvlist(libzfs_handle_t *hdl, zfs_cmd_t *zc, nvlist_t *nvl) in zcmd_write_src_nvlist() argument 906 &zc->zc_nvlist_src_size, nvl)); in zcmd_write_src_nvlist()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv.c | 9926 nvlist_t *nvl; in vn_find_nfs_record() local 9929 if ((nvl = reparse_init()) == NULL) in vn_find_nfs_record() 9933 reparse_free(nvl); in vn_find_nfs_record() 9940 reparse_free(nvl); in vn_find_nfs_record() 9949 reparse_free(nvl); in vn_find_nfs_record() 9952 *nvlp = nvl; in vn_find_nfs_record() 9961 nvlist_t *nvl; in vn_is_nfs_reparse() local 9970 if (vn_find_nfs_record(vp, &nvl, &s, &d) != 0) in vn_is_nfs_reparse() 9973 reparse_free(nvl); in vn_is_nfs_reparse() 10060 nvlist_t *nvl; in fetch_referral() local [all …]
|
/illumos-gate/usr/src/test/nvme-tests/tests/libnvme/ |
H A D | info-roundtrip.c | 326 nvlist_t *nvl; in main() local 335 if (!nvme_ctrl_info_persist(info, &nvl)) { in main() 340 if (!nvme_ctrl_info_restore(nvme, nvl, &rest_info)) { in main()
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme_ctrl_info.c | 175 if (nvl == NULL) { in nvme_ctrl_info_restore() 177 "invalid nvlist_t input pointer: %p", nvl)); in nvme_ctrl_info_restore() 206 ret = nvlist_lookup_pairs(nvl, 0, in nvme_ctrl_info_restore() 256 ret = nvlist_lookup_pairs(nvl, 0, in nvme_ctrl_info_restore() 285 nvlist_t *nvl; in nvme_ctrl_info_persist() local 293 if ((ret = nvlist_add_uint32(nvl, NVME_NVL_CI_VERS, in nvme_ctrl_info_persist() 307 if ((ret = nvlist_add_uint16(nvl, NVME_NVL_CI_MAJOR, in nvme_ctrl_info_persist() 309 (ret = nvlist_add_uint16(nvl, NVME_NVL_CI_MINOR, in nvme_ctrl_info_persist() 344 if ((ret = nvlist_add_uint16(nvl, NVME_NVL_CI_PCI_VID, in nvme_ctrl_info_persist() 352 (ret = nvlist_add_uint8(nvl, NVME_NVL_CI_PCI_REV, in nvme_ctrl_info_persist() [all …]
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 3612 nvpair64_to_stat_array(nvlist_t *nvl, const char *name, in nvpair64_to_stat_array() argument 3618 verify(nvlist_lookup_nvpair(nvl, name, &tmp) == 0); in nvpair64_to_stat_array()
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 1516 nvlist_t *nvl; in zfs_do_destroy() local 5270 nvlist_t *nvl; in store_allow_perm() local 5334 nvl = set_nvl; in store_allow_perm() 5336 nvl = base_nvl; in store_allow_perm() 5666 nvlist_t *nvl; member 5968 nvlist_t *nvl = NULL; in holds_callback() local 6014 nvlist_t *nvl; in zfs_do_holds() local 6072 cb.cb_nvlp = &nvl; in zfs_do_holds() 6088 nvlist_free(nvl); in zfs_do_holds() 7369 nvlist_t *nvl; in zfs_do_bookmark() local [all …]
|
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | svcs.c | 2812 nvlist_t *nvl; in print_notify_fma() local 2818 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) in print_notify_fma() 2822 if (get_fma_notify_params(nvl, class) == 0) in print_notify_fma() 2823 listnotify_print(nvl, get_fma_tag(i)); in print_notify_fma() 2831 if (get_fma_notify_params(nvl, p) == 0) in print_notify_fma() 2832 listnotify_print(nvl, re_tag(p)); in print_notify_fma() 2840 nvlist_free(nvl); in print_notify_fma() 2850 nvlist_t *nvl; in print_notify_fmri() local 2852 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) in print_notify_fmri() 2867 listnotify_print(nvl, NULL); in print_notify_fmri() [all …]
|
/illumos-gate/usr/src/cmd/itadm/ |
H A D | itadm.c | 194 itadm_get_password(nvlist_t *nvl, char *key, char *passfile, 1933 nvlist_t *nvl; in list_defaults() local 1954 nvl = cfg->config_global_properties; in list_defaults() 1957 (void) nvlist_lookup_string(nvl, "alias", &alias); in list_defaults() 1958 (void) nvlist_lookup_string(nvl, "auth", &auth); in list_defaults() 1959 (void) nvlist_lookup_boolean_value(nvl, "isns", &val); in list_defaults() 1966 if (nvlist_exists(nvl, "radiussecret")) { in list_defaults() 2018 if (!nvl || !key) { in itadm_get_password() 2111 ret = nvlist_add_string(nvl, key, buf); in itadm_get_password() 2123 if (!opt || !key || !nvl) { in itadm_opt_to_arr() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsref/ |
H A D | nfsref.c | 105 if (nvl == NULL) in addref() 115 reparse_free(nvl); in addref() 126 reparse_free(nvl); in addref() 149 reparse_free(nvl); in addref() 155 reparse_free(nvl); in addref() 193 nvlist_t *nvl; in delref() local 207 reparse_free(nvl); in delref() 215 reparse_free(nvl); in delref() 222 reparse_free(nvl); in delref() 262 nvlist_t *nvl; in lookup() local [all …]
|
/illumos-gate/usr/src/cmd/fm/schemes/mem/ |
H A D | mem_unum.c | 421 mem_unum_rewrite(nvlist_t *nvl, nvlist_t **rnvl) in mem_unum_rewrite() argument 428 if (nvlist_lookup_string(nvl, FM_FMRI_MEM_UNUM, &unumstr) != 0 || in mem_unum_rewrite() 442 if ((err = nvlist_dup(nvl, rnvl, 0)) != 0) { in mem_unum_rewrite()
|
/illumos-gate/usr/src/cmd/fm/notify/snmp-notify/common/ |
H A D | snmp-notify.c | 386 ireport_cb(fmev_t ev, const char *class, nvlist_t *nvl, void *arg) in ireport_cb() argument 441 list_cb(fmev_t ev, const char *class, nvlist_t *nvl, void *arg) in list_cb() argument
|
/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/ |
H A D | smtp-notify.c | 570 irpt_cbfunc(fmev_t ev, const char *class, nvlist_t *nvl, void *arg) in irpt_cbfunc() argument 701 listev_cb(fmev_t ev, const char *class, nvlist_t *nvl, void *arg) in listev_cb() argument
|
/illumos-gate/usr/src/cmd/fm/fmtopo/common/ |
H A D | fmtopo.c | 616 nvlist_t *nvl = NULL; in set_prop() local 740 nvlist_free(nvl); in set_prop() 741 nvl = NULL; in set_prop() 766 nvlist_free(nvl); in set_prop() 773 nvlist_t *nvl; in print_props() local 821 nvlist_free(nvl); in print_props() 834 nvlist_t *nvl; in walk_node() local 884 nvlist_free(nvl); in walk_node() 1124 nvlist_free(nvl); in print_fmri_props() 1136 nvlist_t *nvl; in print_fmri() local [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 4358 if (nvl) { in hot_cleanup() 4360 free(nvl); in hot_cleanup() 8208 nvlist_t *nvl; in build_event_attributes() local 8218 nvl = NULL; in build_event_attributes() 8230 return (nvl); in build_event_attributes() 8253 nvlist_free(nvl); in build_event_attributes() 8339 return (nvl); in build_event_attributes() 8342 nvlist_free(nvl); in build_event_attributes() 8388 tmp->nvl = nvl; in enqueue_sysevent() 8428 nvlist_t *nvl; in build_and_enq_event() local [all …]
|
/illumos-gate/usr/src/cmd/diskinfo/ |
H A D | diskinfo.c | 68 nvlist_query_string(nvlist_t *nvl, const char *label, char **val) in nvlist_query_string() argument 70 if (nvlist_lookup_string(nvl, label, val) != 0) in nvlist_query_string()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 857 nvlist_t *nvl = statep->sps_proplist; in show_properties() local 869 if (nvl == NULL) { in show_properties() 873 for (curr_nvp = nvlist_next_nvpair(nvl, NULL); curr_nvp; in show_properties() 874 curr_nvp = nvlist_next_nvpair(nvl, curr_nvp)) { in show_properties()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfsimpl.c | 1959 nvl = tmp; in vdev_label_read_config() 1966 nvl = tmp; in vdev_label_read_config() 1982 nvlist_destroy(nvl); in vdev_label_read_config() 1983 nvl = NULL; in vdev_label_read_config() 1987 return (nvl); in vdev_label_read_config() 2022 nvlist_t *nvl; in vdev_probe() local 2045 if (nvl == NULL) in vdev_probe() 2050 nvlist_destroy(nvl); in vdev_probe() 2057 nvlist_destroy(nvl); in vdev_probe() 2064 nvlist_destroy(nvl); in vdev_probe() [all …]
|