/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_profile.c | 125 char *expr = nvpair_name(nvp); in apply_glob_pattern() 131 rv, nvpair_name(nvp)); in apply_glob_pattern() 328 lnm = nvpair_name(nvp); in prof_make_symlinks() 332 rv, nvpair_name(nvp)); in prof_make_symlinks() 353 char *rename = nvpair_name(nvp); in prof_make_maps() 357 rv, nvpair_name(nvp)); in prof_make_maps() 431 expr = nvpair_name(nvp); in prof_name_matched() 435 rv, nvpair_name(nvp)); in prof_name_matched() 455 expr = nvpair_name(nvp); in prof_name_matched() 461 rv, nvpair_name(nvp)); in prof_name_matched() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_userhold.c | 101 size_t len = strlen(nvpair_name(pair)) + in dsl_dataset_user_hold_check() 104 (void) strcpy(nameval, nvpair_name(pair)); in dsl_dataset_user_hold_check() 121 name = nvpair_name(pair); in dsl_dataset_user_hold_check() 289 VERIFY0(dsl_dataset_hold(dp, nvpair_name(pair), FTAG, &ds)); in dsl_dataset_user_hold_sync() 341 ret = dsl_sync_task(nvpair_name(pair), dsl_dataset_user_hold_check, in dsl_dataset_user_hold() 392 const char *holdname = nvpair_name(pair); in dsl_dataset_user_release_check_one() 465 const char *snapname = nvpair_name(pair); in dsl_dataset_user_release_check() 504 const char *holdname = nvpair_name(pair); in dsl_dataset_user_release_sync_one() 532 const char *name = nvpair_name(pair); in dsl_dataset_user_release_sync() 597 nvpair_name(pair), FTAG, &ds); in dsl_dataset_user_release_impl() [all …]
|
H A D | dsl_bookmark.c | 172 nvpair_name(pair), tx); in dsl_bookmark_create_check() 177 nvpair_name(pair), error); in dsl_bookmark_create_check() 203 VERIFY0(dsl_bookmark_hold_ds(dp, nvpair_name(pair), in dsl_bookmark_create_sync() 275 return (dsl_sync_task(nvpair_name(pair), dsl_bookmark_create_check, in dsl_bookmark_create() 409 const char *fullname = nvpair_name(pair); in dsl_bookmark_destroy_check() 458 VERIFY0(dsl_bookmark_hold_ds(dp, nvpair_name(pair), in dsl_bookmark_destroy_sync() 500 rv = dsl_sync_task(nvpair_name(pair), dsl_bookmark_destroy_check, in dsl_bookmark_destroy()
|
H A D | dsl_deleg.c | 107 const char *perm = nvpair_name(permpair); in dsl_deleg_can_allow() 138 zfs_deleg_who_type_t type = nvpair_name(whopair)[0]; in dsl_deleg_can_unallow() 144 if (strcmp(idstr, &nvpair_name(whopair)[3]) != 0) in dsl_deleg_can_unallow() 175 const char *whokey = nvpair_name(whopair); in dsl_deleg_set_sync() 188 const char *perm = nvpair_name(permpair); in dsl_deleg_set_sync() 218 const char *whokey = nvpair_name(whopair); in dsl_deleg_unset_sync() 238 const char *perm = nvpair_name(permpair); in dsl_deleg_unset_sync()
|
H A D | zfs_ioctl.c | 916 error = zfs_secpolicy_destroy_perms(nvpair_name(pair), cr); in zfs_secpolicy_destroy_snaps() 1060 char *name = nvpair_name(pair); in zfs_secpolicy_snapshot() 1087 char *name = nvpair_name(pair); in zfs_secpolicy_bookmark() 1121 char *name = nvpair_name(pair); in zfs_secpolicy_destroy_bookmarks() 1317 error = dmu_fsname(nvpair_name(pair), fsname); in zfs_secpolicy_hold() 1338 error = dmu_fsname(nvpair_name(pair), fsname); in zfs_secpolicy_release() 2459 const char *propname = nvpair_name(pair); in zfs_prop_set_userquota() 2513 const char *propname = nvpair_name(pair); in zfs_prop_set_special() 2633 const char *propname = nvpair_name(pair); in zfs_set_prop_nvlist() 2738 const char *propname = nvpair_name(pair); in zfs_set_prop_nvlist() [all …]
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_element_ctl.c | 50 name = nvpair_name(nvp); in elem_setprop_device() 91 name = nvpair_name(nvp); in elem_setprop_psu() 119 name = nvpair_name(nvp); in elem_setprop_cooling() 153 name = nvpair_name(nvp); in elem_setprop_temp() 178 name = nvpair_name(nvp); in elem_setprop_lock() 205 name = nvpair_name(nvp); in elem_setprop_alarm() 242 name = nvpair_name(nvp); in elem_setprop_esc() 269 name = nvpair_name(nvp); in elem_setprop_scc() 294 name = nvpair_name(nvp); in elem_setprop_ups() 319 name = nvpair_name(nvp); in elem_setprop_cache() [all …]
|
H A D | ses2.c | 49 if (strcmp(cpp->scp_name, nvpair_name(nvp)) == 0) in ses2_setprop() 57 (void) nvlist_remove(props, nvpair_name(nvp), in ses2_setprop() 78 name = nvpair_name(nvp); in ses2_ctl_common_setprop()
|
H A D | ses2_enclosure_ctl.c | 136 name = nvpair_name(nvp); in enc_ctl_common() 171 ASSERT(strcmp(nvpair_name(nvp), SES_EN_PROP_STRING) == 0); in enc_ctl_string() 209 ASSERT(strcmp(nvpair_name(nvp), SES_EN_PROP_NICK) == 0); in enc_ctl_nick()
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_deleg.c | 173 if (zfs_validate_who(nvpair_name(who))) in zfs_deleg_verify_nvlist() 176 error = nvlist_lookup_nvlist(nvp, nvpair_name(who), &perms); in zfs_deleg_verify_nvlist() 189 nvpair_name(perm_name)); in zfs_deleg_verify_nvlist()
|
/illumos-gate/usr/src/lib/libhotplug/common/ |
H A D | libhotplug.c | 804 if (strcmp(nvpair_name(nvp), HP_INFO_BASE) == 0) { in hp_unpack() 812 } else if (strcmp(nvpair_name(nvp), HP_INFO_BRANCH) == 0) { in hp_unpack() 1021 if (strcmp(nvpair_name(nvp), HP_INFO_NODE) == 0) { in i_hp_unpack_branch() 1039 } else if (strcmp(nvpair_name(nvp), HP_INFO_BRANCH) == 0) { in i_hp_unpack_branch() 1096 if ((strcmp(nvpair_name(nvp), HP_INFO_TYPE) == 0) && in i_hp_unpack_node() 1102 } else if ((strcmp(nvpair_name(nvp), HP_INFO_NAME) == 0) && in i_hp_unpack_node() 1111 } else if ((strcmp(nvpair_name(nvp), HP_INFO_STATE) == 0) && in i_hp_unpack_node() 1117 } else if ((strcmp(nvpair_name(nvp), HP_INFO_USAGE) == 0) && in i_hp_unpack_node() 1126 } else if ((strcmp(nvpair_name(nvp), HP_INFO_DESC) == 0) && in i_hp_unpack_node() 1136 } else if ((strcmp(nvpair_name(nvp), HP_INFO_TIME) == 0) && in i_hp_unpack_node() [all …]
|
/illumos-gate/usr/src/cmd/fm/fmtopo/common/ |
H A D | fmtopo.c | 263 nvpair_name(pv_nvp) == NULL || in print_prop_nameval() 264 strcmp(TOPO_PROP_VAL_NAME, nvpair_name(pv_nvp)) != 0) { in print_prop_nameval() 273 nvpair_name(pv_nvp) == NULL || in print_prop_nameval() 274 strcmp(nvpair_name(pv_nvp), TOPO_PROP_VAL_TYPE) != 0 || in print_prop_nameval() 306 if (nvpair_name(pv_nvp) == NULL || in print_prop_nameval() 545 if (strcmp(TOPO_PROP_GROUP, nvpair_name(nvp)) != 0 || in print_all_props() 559 if (strcmp(TOPO_PROP_GROUP_NAME, nvpair_name(pg_nvp)) in print_all_props() 567 nvpair_name(pg_nvp)) == 0 && in print_all_props() 574 nvpair_name(pg_nvp)) == 0 && in print_all_props() 581 nvpair_name(pg_nvp)) == 0 && in print_all_props() [all …]
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_persist.c | 188 strcmp(nvpair_name(nvp), IPADM_NVP_IPV4ADDR) == 0); in i_ipadm_ip4_nvp2dbline() 214 strcmp(nvpair_name(nvp), IPADM_NVP_IPV6ADDR) == 0); in i_ipadm_ip6_nvp2dbline() 243 strcmp(nvpair_name(nvp), IPADM_NVP_INTFID) == 0); in i_ipadm_intfid_nvp2dbline() 280 strcmp(nvpair_name(nvp), IPADM_NVP_DHCP) == 0); in i_ipadm_dhcp_nvp2dbline() 305 return (snprintf(buf, buflen, "%s=%s", nvpair_name(nvp), str)); in i_ipadm_str_nvp2dbline() 322 ipent = i_ipadm_find_conf_type(nvpair_name(nvp)); in ipadm_nvlist2str() 658 nvpair_name(nvp), elem[0])); in i_ipadm_families_nvp2dbline() 661 nvpair_name(nvp), elem[0], elem[1])); in i_ipadm_families_nvp2dbline()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_persist.c | 255 name = nvpair_name(nvp); in ipmgmt_nvlist_match() 309 name = nvpair_name(nvp); in ipmgmt_nvlist_intersects() 337 name = nvpair_name(nvp); in ipmgmt_nvlist_contains() 500 else if (strcmp(nvpair_name(nvp), IPADM_NVP_IFNAME) == 0) in ipmgmt_db_getaddr() 502 else if (strcmp(nvpair_name(nvp), IPADM_NVP_AOBJNAME) == 0) in ipmgmt_db_getaddr() 672 name = nvpair_name(nvp); in ipmgmt_db_update() 767 name = nvpair_name(nvp); in ipmgmt_db_update_if() 819 if (strcmp(nvpair_name(nvp), IPADM_NVP_IFNAME) == 0) { in ipmgmt_db_getif() 821 } else if (strcmp(nvpair_name(nvp), IPADM_NVP_FAMILIES) == 0) { in ipmgmt_db_getif() 1387 name = nvpair_name(nvp); in ipmgmt_aobjmap_init() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-transport/ |
H A D | disk_transport.c | 166 nvlist_lookup_nvlist(result, nvpair_name(elem), in dt_analyze_disk() 170 if (strcmp(nvpair_name(elem), in dt_analyze_disk() 177 nvpair_name(elem), in dt_analyze_disk()
|
/illumos-gate/usr/src/lib/libnvpair/ |
H A D | libnvpair.c | 583 name = nvpair_name(nvp); in nvlist_print_with_indent() 775 nvpair_name(elem), (ptype)value); \ 785 nvpair_name(elem), i, (ptype)value[i]); \ 809 (void) printf("%*s%s\n", indent, "", nvpair_name(elem)); in dump_nvlist() 815 nvpair_name(elem), bool_value ? "true" : "false"); in dump_nvlist() 863 nvpair_name(elem), i, in dump_nvlist() 912 nvpair_name(elem)); in dump_nvlist() 921 nvpair_name(elem), i); in dump_nvlist() 929 nvpair_name(elem)); in dump_nvlist()
|
/illumos-gate/usr/src/lib/libktest/common/ |
H A D | libktest.c | 254 entry->ke_module = nvpair_name(iter->kli_module); in ktest_list_next() 255 entry->ke_suite = nvpair_name(iter->kli_suite); in ktest_list_next() 256 entry->ke_test = nvpair_name(iter->kli_test); in ktest_list_next()
|
/illumos-gate/usr/src/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 377 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_snapshot() 427 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_destroy_snaps() 537 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_hold() 582 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_release() 996 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_bookmark() 1059 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_destroy_bookmarks()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpc.c | 609 if (strcmp(nvpair_name(nvp), "flags") != 0 || in kcpc_copyin_set() 616 if (strcmp(nvpair_name(nvp), "reqs") != 0 || in kcpc_copyin_set() 673 name = nvpair_name(nvp); in kcpc_copyin_set() 737 nvpair_name(nvp_attr), in kcpc_copyin_set()
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | evnv.c | 83 s1 = nvpair_name(p1); in evnv_cmpnvl() 84 s2 = nvpair_name(p2); in evnv_cmpnvl()
|
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | notify_params.c | 229 safe_printf(" %s:", nvpair_name(p)); in nvpair_print() 269 nvpair_name(tnvp)); in params_type_print()
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_impl.c | 368 name = nvpair_name(nvp); in unpack_properties() 392 name = nvpair_name(nvp); in unpack_properties()
|
/illumos-gate/usr/src/uts/common/io/idm/ |
H A D | idm_text.c | 775 key = nvpair_name(nvp); in idm_itextbuf_add_nvpair() 837 key_name = nvpair_name(nvp); in idm_itextbuf_add_string() 865 key_name = nvpair_name(nvp); in idm_itextbuf_add_boolean() 894 key_name = nvpair_name(nvp); in idm_itextbuf_add_binary() 940 key_name = nvpair_name(nvp); in idm_itextbuf_add_numerical() 978 key_name = nvpair_name(nvp); in idm_itextbuf_add_list_of_values()
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | nv.h | 36 return (nvpair_name(nvp)); in nvlist_next()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_util.c | 1296 "'%s' must be a string"), nvpair_name(elem)); in zprop_parse_value() 1302 "'%s' is too long"), nvpair_name(elem)); in zprop_parse_value() 1321 "'%s' must be a number"), nvpair_name(elem)); in zprop_parse_value() 1356 "volumes"), nvpair_name(elem)); in zprop_parse_value() 1364 nvpair_name(elem)); in zprop_parse_value() 1374 "'%s' must be a string"), nvpair_name(elem)); in zprop_parse_value()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_fmri.c | 146 n += fmd_fmri_uriescape(nvpair_name(nvp), NULL, NULL, 0) + 1; in fmd_fmri_auth2str() 162 p += fmd_fmri_uriescape(nvpair_name(nvp), NULL, p, n); in fmd_fmri_auth2str()
|