Home
last modified time | relevance | path

Searched refs:nvpair_t (Results 1 – 25 of 174) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/sys/
H A Dnvpair.h87 } nvpair_t; typedef
117 #define NVP_NAME(nvp) ((char *)(nvp) + sizeof (nvpair_t))
120 #define NVP_VALUE(nvp) ((char *)(nvp) + NV_ALIGN(sizeof (nvpair_t) \
171 int nvlist_add_nvpair(nvlist_t *, nvpair_t *);
204 int nvlist_remove_nvpair(nvlist_t *, nvpair_t *);
239 int nvlist_lookup_nvpair(nvlist_t *, const char *, nvpair_t **);
240 int nvlist_lookup_nvpair_embedded_index(nvlist_t *, const char *, nvpair_t **,
246 nvpair_t *nvlist_next_nvpair(nvlist_t *, nvpair_t *);
247 nvpair_t *nvlist_prev_nvpair(nvlist_t *, nvpair_t *);
248 char *nvpair_name(nvpair_t *);
[all …]
H A Dpool_pset.h66 extern int pool_pset_propput(psetid_t, nvpair_t *);
69 extern int pool_cpu_propput(processorid_t, nvpair_t *);
H A Dsunmdi.h269 nvpair_t *mdi_pi_get_next_prop(mdi_pathinfo_t *, nvpair_t *);
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_auth.c47 iscsit_select_auth(iscsit_conn_t *ict, nvpair_t *nvp,
51 auth_propose_chap(iscsit_conn_t *ict, nvpair_t *nvp,
55 auth_chap_select_alg(iscsit_conn_t *ict, nvpair_t *nvp,
59 auth_chap_recv_n(iscsit_conn_t *ict, nvpair_t *nvp,
63 auth_chap_recv_r(iscsit_conn_t *ict, nvpair_t *nvp,
67 auth_chap_recv_i(iscsit_conn_t *ict, nvpair_t *nvp,
71 auth_chap_recv_c(iscsit_conn_t *ict, nvpair_t *nvp,
75 iscsit_auth_propose(iscsit_conn_t *ict, nvpair_t *nvp,
79 iscsit_auth_expect_key(iscsit_conn_t *ict, nvpair_t *nvp,
83 auth_chap_expect_r(iscsit_conn_t *ict, nvpair_t *nvp,
[all …]
H A Discsit_login.c152 iscsit_handle_key(iscsit_conn_t *ict, nvpair_t *nvp, char *nvp_name);
155 iscsit_handle_common_key(iscsit_conn_t *ict, nvpair_t *nvp,
159 iscsit_handle_security_key(iscsit_conn_t *ict, nvpair_t *nvp,
166 iscsit_handle_operational_key(iscsit_conn_t *ict, nvpair_t *nvp,
178 iscsit_handle_digest(iscsit_conn_t *ict, nvpair_t *choices,
182 iscsit_handle_boolean(iscsit_conn_t *ict, nvpair_t *nvp, boolean_t value,
186 iscsit_handle_numerical(iscsit_conn_t *ict, nvpair_t *nvp, uint64_t value,
1942 nvpair_t *nvp; in login_sm_process_nvlist()
1943 nvpair_t *next_nvp; in login_sm_process_nvlist()
1944 nvpair_t *negotiated_nvp; in login_sm_process_nvlist()
[all …]
H A Discsit_auth.h28 typedef kv_status_t (*iscsit_auth_handler_t)(iscsit_conn_t *, nvpair_t *,
/illumos-gate/usr/src/common/nvpair/
H A Dfnvpair.c122 nvpair_t *pair; in fnvlist_num_pairs()
209 fnvlist_add_nvpair(nvlist_t *nvl, nvpair_t *pair) in fnvlist_add_nvpair()
299 fnvlist_remove_nvpair(nvlist_t *nvl, nvpair_t *pair) in fnvlist_remove_nvpair()
304 nvpair_t *
307 nvpair_t *rv; in fnvlist_lookup_nvpair()
429 fnvpair_value_boolean_value(nvpair_t *nvp) in fnvpair_value_boolean_value()
437 fnvpair_value_byte(nvpair_t *nvp) in fnvpair_value_byte()
445 fnvpair_value_int8(nvpair_t *nvp) in fnvpair_value_int8()
453 fnvpair_value_int16(nvpair_t *nvp) in fnvpair_value_int16()
461 fnvpair_value_int32(nvpair_t *nvp) in fnvpair_value_int32()
[all …]
H A Dnvpair.c128 (NV_ALIGN((sizeof (nvpair_t)) + name_len) + NV_ALIGN(data_len))
138 #define NVP_VALOFF(nvp) (NV_ALIGN(sizeof (nvpair_t) + (nvp)->nvp_name_sz))
305 nvt_nvpair_match(nvpair_t *nvp1, nvpair_t *nvp2, uint32_t nvflag) in nvt_nvpair_match()
320 static nvpair_t *
352 static nvpair_t *
459 nvt_remove_nvpair(nvlist_t *nvl, nvpair_t *nvp) in nvt_remove_nvpair()
497 nvt_add_nvpair(nvlist_t *nvl, nvpair_t *nvp) in nvt_add_nvpair()
598 static nvpair_t *
603 nvpair_t *nvp; in nvp_buf_alloc()
624 nvp_buf_free(nvlist_t *nvl, nvpair_t *nvp) in nvp_buf_free()
[all …]
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_text.c197 static int idm_itextbuf_add_nvpair(nvpair_t *nvp, idm_textbuf_t *itb);
199 static int idm_itextbuf_add_string(nvpair_t *nvp,
202 static int idm_itextbuf_add_boolean(nvpair_t *nvp,
205 static int idm_itextbuf_add_binary(nvpair_t *nvp,
208 static int idm_itextbuf_add_large_numerical(nvpair_t *nvp,
211 static int idm_itextbuf_add_numerical(nvpair_t *nvp,
214 static int idm_itextbuf_add_numeric_range(nvpair_t *nvp,
217 static int idm_itextbuf_add_list_of_values(nvpair_t *nvp,
741 nvpair_t *nvp = NULL; in idm_nvlist_to_textbuf()
768 idm_itextbuf_add_nvpair(nvpair_t *nvp, in idm_itextbuf_add_nvpair()
[all …]
/illumos-gate/usr/src/uts/common/sys/idm/
H A Didm_text.h167 nvpair_t *
168 idm_get_next_listvalue(nvpair_t *value_list, nvpair_t *curr_nvp);
174 idm_nvpair_value_to_textbuf(nvpair_t *nvp);
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_element_ctl.c40 nvpair_t *nvp) in elem_setprop_device()
81 nvpair_t *nvp) in elem_setprop_psu()
108 nvpair_t *nvp) in elem_setprop_cooling()
143 nvpair_t *nvp) in elem_setprop_temp()
168 nvpair_t *nvp) in elem_setprop_lock()
195 nvpair_t *nvp) in elem_setprop_alarm()
232 nvpair_t *nvp) in elem_setprop_esc()
259 nvpair_t *nvp) in elem_setprop_scc()
284 nvpair_t *nvp) in elem_setprop_ups()
309 nvpair_t *nvp) in elem_setprop_cache()
[all …]
H A Dses2.c43 nvpair_t *nvp, *next; in ses2_setprop()
66 nvpair_t *nvp) in ses2_ctl_common_setprop()
H A Dses2_enclosure_ctl.c123 nvpair_t *nvp) in enc_ctl_common()
161 nvpair_t *nvp) in enc_ctl_string()
200 nvpair_t *nvp) in enc_ctl_nick()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_userhold.c99 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_holds, NULL); in dsl_dataset_user_hold_check()
114 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_holds, NULL); in dsl_dataset_user_hold_check()
284 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_chkholds, NULL); in dsl_dataset_user_hold_sync()
328 nvpair_t *pair; in dsl_dataset_user_hold()
388 for (nvpair_t *pair = nvlist_next_nvpair(holds, NULL); pair != NULL; in dsl_dataset_user_release_check_one()
460 for (nvpair_t *pair = nvlist_next_nvpair(ddura->ddura_holds, NULL); in dsl_dataset_user_release_check()
501 for (nvpair_t *pair = nvlist_next_nvpair(holds, NULL); pair != NULL; in dsl_dataset_user_release_sync_one()
528 for (nvpair_t *pair = nvlist_next_nvpair(ddura->ddura_chkholds, NULL); in dsl_dataset_user_release_sync()
574 nvpair_t *pair; in dsl_dataset_user_release_impl()
H A Ddsl_bookmark.c162 for (nvpair_t *pair = nvlist_next_nvpair(dbca->dbca_bmarks, NULL); in dsl_bookmark_create_check()
194 for (nvpair_t *pair = nvlist_next_nvpair(dbca->dbca_bmarks, NULL); in dsl_bookmark_create_sync()
265 nvpair_t *pair; in dsl_bookmark_create()
407 for (nvpair_t *pair = nvlist_next_nvpair(dbda->dbda_bmarks, NULL); in dsl_bookmark_destroy_check()
452 for (nvpair_t *pair = nvlist_next_nvpair(dbda->dbda_success, NULL); in dsl_bookmark_destroy_sync()
492 nvpair_t *pair = nvlist_next_nvpair(bmarks, NULL); in dsl_bookmark_destroy()
H A Ddsl_deleg.c94 nvpair_t *whopair = NULL; in dsl_deleg_can_allow()
102 nvpair_t *permpair = NULL; in dsl_deleg_can_allow()
127 nvpair_t *whopair = NULL; in dsl_deleg_can_unallow()
162 nvpair_t *whopair = NULL; in dsl_deleg_set_sync()
177 nvpair_t *permpair = NULL; in dsl_deleg_set_sync()
207 nvpair_t *whopair = NULL; in dsl_deleg_unset_sync()
220 nvpair_t *permpair = NULL; in dsl_deleg_unset_sync()
H A Dzfs_ioctl.c315 static int zfs_check_settable(const char *name, nvpair_t *property,
691 zfs_secpolicy_setprop(const char *dsname, zfs_prop_t prop, nvpair_t *propval, in zfs_secpolicy_setprop()
908 nvpair_t *pair, *nextpair; in zfs_secpolicy_destroy_snaps()
1054 nvpair_t *pair; in zfs_secpolicy_snapshot()
1085 for (nvpair_t *pair = nvlist_next_nvpair(innvl, NULL); in zfs_secpolicy_bookmark()
1116 nvpair_t *pair, *nextpair; in zfs_secpolicy_destroy_bookmarks()
1308 nvpair_t *pair; in zfs_secpolicy_hold()
1332 nvpair_t *pair; in zfs_secpolicy_release()
1444 nvpair_t *more_errors; in nvlist_smush()
1454 nvpair_t *pair = nvlist_prev_nvpair(errors, in nvlist_smush()
[all …]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_util.h104 nvpair_t *zjni_nvlist_walk_nvpair(
105 nvlist_t *, const char *, data_type_t, nvpair_t *);
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_persist.c98 typedef size_t ipadm_wfunc_t(nvpair_t *, char *, size_t);
182 i_ipadm_ip4_nvp2dbline(nvpair_t *nvp, char *buf, size_t buflen) in i_ipadm_ip4_nvp2dbline()
208 i_ipadm_ip6_nvp2dbline(nvpair_t *nvp, char *buf, size_t buflen) in i_ipadm_ip6_nvp2dbline()
233 i_ipadm_intfid_nvp2dbline(nvpair_t *nvp, char *buf, size_t buflen) in i_ipadm_intfid_nvp2dbline()
272 i_ipadm_dhcp_nvp2dbline(nvpair_t *nvp, char *buf, size_t buflen) in i_ipadm_dhcp_nvp2dbline()
298 i_ipadm_str_nvp2dbline(nvpair_t *nvp, char *buf, size_t buflen) in i_ipadm_str_nvp2dbline()
315 nvpair_t *nvp = NULL; in ipadm_nvlist2str()
641 i_ipadm_families_nvp2dbline(nvpair_t *nvp, char *buf, size_t buflen) in i_ipadm_families_nvp2dbline()
700 i_ipadm_groupmembers_nvp2dbline(nvpair_t *nvp, char *buf, size_t buflen) in i_ipadm_groupmembers_nvp2dbline()
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/
H A Diser_idm.c55 static kv_status_t iser_handle_numerical(nvpair_t *nvp, uint64_t value,
59 static kv_status_t iser_handle_boolean(nvpair_t *nvp, boolean_t value,
62 static kv_status_t iser_handle_key(nvpair_t *nvp, const idm_kv_xlate_t *ikvx,
576 nvpair_t *nvp; in iser_process_request_nvlist()
577 nvpair_t *next_nvp; in iser_process_request_nvlist()
617 iser_handle_key(nvpair_t *nvp, const idm_kv_xlate_t *ikvx, in iser_handle_key()
700 iser_handle_boolean(nvpair_t *nvp, boolean_t value, const idm_kv_xlate_t *ikvx, in iser_handle_boolean()
749 iser_handle_numerical(nvpair_t *nvp, uint64_t value, const idm_kv_xlate_t *ikvx, in iser_handle_numerical()
/illumos-gate/usr/src/lib/libnvpair/
H A Dlibnvpair.h45 extern int nvpair_value_match(nvpair_t *, int, char *, char **);
46 extern int nvpair_value_match_regex(nvpair_t *, int, char *, regex_t *,
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_persist.c84 typedef int ipmgmt_if_updater_func_t(nvlist_t *, nvpair_t *, uint_t);
117 ipmgmt_if_groupmembers_updater(nvlist_t *db_nvl, nvpair_t *member_nvp, in ipmgmt_if_groupmembers_updater()
182 ipmgmt_if_family_updater(nvlist_t *db_nvl, nvpair_t *families_nvp, uint_t flags) in ipmgmt_if_family_updater()
249 nvpair_t *nvp; in ipmgmt_nvlist_match()
302 nvpair_t *nvp; in ipmgmt_nvlist_intersects()
331 nvpair_t *nvp; in ipmgmt_nvlist_contains()
492 nvpair_t *nvp; in ipmgmt_db_getaddr()
662 nvpair_t *nvp; in ipmgmt_db_update()
726 nvpair_t *nvp; in ipmgmt_db_update_if()
812 nvpair_t *nvp; in ipmgmt_db_getif()
[all …]
/illumos-gate/usr/src/cmd/pptadm/
H A Dpptadm.c86 nvpair_t *nvp = NULL; in print_field()
158 nvpair_t *nvp = NULL; in list()
/illumos-gate/usr/src/cmd/ktest/
H A Dktest.c492 nvpair_t *ki_module;
499 nvpair_t *ki_suite;
506 nvpair_t *ki_test;
518 ktest_module_name(nvpair_t *module) in ktest_module_name()
525 ktest_module_suites(nvpair_t *module) in ktest_module_suites()
532 ktest_suite_name(nvpair_t *suite) in ktest_suite_name()
539 ktest_suite_tests(nvpair_t *suite) in ktest_suite_tests()
546 ktest_test_name(nvpair_t *test) in ktest_test_name()
553 ktest_test_requires_input(nvpair_t *test) in ktest_test_requires_input()
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_profile.c114 nvpair_t *nvp = NULL; in apply_glob_pattern()
318 nvpair_t *nvp = NULL; in prof_make_symlinks()
342 nvpair_t *nvp = NULL; in prof_make_maps()
425 nvpair_t *nvp = NULL; in prof_name_matched()
624 nvpair_t *nvp = NULL; in prof_make_names()
936 nvpair_t *nvpair; in sdev_process_profile()
1053 nvpair_t *nvp; in devname_profile_update()

1234567