Searched defs:nvp (Results 1 - 25 of 125) sorted by relevance

12345

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dftok.c47 nvlist_t *nvp; local
59 path, &nvp)) == 0) {
62 if ((error = libc_nvlist_lookup_uint64(nvp,
65 libc_nvlist_free(nvp);
H A Dattrat.c311 libc_nvlist_free(nvlist_t *nvp) argument
313 nvfree(nvp);
317 libc_nvlist_lookup_uint64(nvlist_t *nvp, const char *name, uint64_t *value) argument
319 return (nvlookupint64(nvp, name, value));
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_pcb.c128 dt_provider_t *pvp, *nvp; local
143 for (pvp = dt_list_next(&dtp->dt_provlist); pvp; pvp = nvp) {
144 nvp = dt_list_next(pvp);
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2.c45 nvpair_t *nvp, *next; local
47 for (nvp = nvlist_next_nvpair(props, NULL); nvp != NULL;
48 nvp = next) {
49 next = nvlist_next_nvpair(props, nvp);
51 if (strcmp(cpp->scp_name, nvpair_name(nvp)) == 0)
56 if (cpp->scp_setprop(sp, np, cpp->scp_num, nvp) != 0)
59 (void) nvlist_remove(props, nvpair_name(nvp),
60 nvpair_type(nvp));
68 nvpair_t *nvp)
67 ses2_ctl_common_setprop(ses_plugin_t *sp, ses_node_t *np, ses2_diag_page_t page, nvpair_t *nvp) argument
[all...]
H A Dses2_enclosure_ctl.c123 nvpair_t *nvp)
136 name = nvpair_name(nvp);
137 (void) nvpair_value_boolean_value(nvp, &boolval);
138 (void) nvpair_value_uint64(nvp, &intval);
161 nvpair_t *nvp)
171 ASSERT(strcmp(nvpair_name(nvp), SES_EN_PROP_STRING) == 0);
175 (void) nvpair_value_byte_array(nvp, (uint8_t **)&data, &nvlen);
200 nvpair_t *nvp)
209 ASSERT(strcmp(nvpair_name(nvp), SES_EN_PROP_NICK) == 0);
212 (void) nvpair_value_string(nvp, (cha
122 enc_ctl_common(ses_plugin_t *sp, ses_node_t *np, ses2_diag_page_t page, nvpair_t *nvp) argument
160 enc_ctl_string(ses_plugin_t *sp, ses_node_t *np, ses2_diag_page_t page, nvpair_t *nvp) argument
199 enc_ctl_nick(ses_plugin_t *sp, ses_node_t *np, ses2_diag_page_t page, nvpair_t *nvp) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_reparse.c151 nvpair_t *nvp; local
159 nvp = nvlist_next_nvpair(nvl, NULL);
161 while (nvp != NULL) {
162 stype = nvpair_name(nvp);
165 if ((rc = nvpair_value_string(nvp, &sdata)) != 0)
176 nvp = nvlist_next_nvpair(nvl, nvp);
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_latest.c105 vnode_t *nvp; local
110 if (nvp = ctfs_latest_nested_open(vp, cr)) {
111 VN_RELE(nvp);
127 vnode_t *nvp; local
132 if (nvp = ctfs_latest_nested_open(*vpp, cr)) {
134 *vpp = nvp;
155 vnode_t *nvp; local
157 if (nvp = ctfs_latest_nested_open(vp, cr)) {
158 int res = VOP_GETATTR(nvp, vap, flags, cr, ct);
159 VN_RELE(nvp);
[all...]
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_lookup.c73 vnode_t *nvp; /* next component vp */ local
88 nvp = NULL;
105 error = VOP_LOOKUP(cvp, component, &nvp, &pn, flags,
111 /* Lookup gave us a hold on nvp */
112 cvp = nvp;
113 nvp = NULL;
/illumos-gate/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_filter.c106 nvpair_t *nvp; local
111 &nvp, &ai, NULL) != 0)
116 (nvpair_value_match_regex(nvp, ai, value, value_regex, NULL) == 1))
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Devnv.c239 evnv_dupnvl(nvlist_t *nvp) argument
244 if (nvp == NULL)
247 if ((nvret = nvlist_xdup(nvp, &retval, &Eft_nv_hdl)) != 0)
H A Ditree.h80 nvlist_t *nvp; /* payload nvp for ereports */ member in struct:event
/illumos-gate/usr/src/uts/sparc/v9/syscall/
H A Dinstall_utrap.c153 utrap_handler_t *ov, *nvp, *pv, *sv, *tmp; local
218 nvp = (utrap_handler_t *)new_precise;
219 if (nvp != UTRAP_UTH_NOCHANGE) {
220 if (((uintptr_t)nvp) & 0x3)
246 tmp = atomic_cas_ptr(&p->p_utraps[idx], ov, nvp);
/illumos-gate/usr/src/common/zfs/
H A Dzfs_deleg.c159 zfs_deleg_verify_nvlist(nvlist_t *nvp) argument
165 if (nvp == NULL)
168 who = nvlist_next_nvpair(nvp, NULL);
176 error = nvlist_lookup_nvlist(nvp, nvpair_name(who), &perms);
194 } while ((who = nvlist_next_nvpair(nvp, who)) != NULL);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dfm.c189 nvpair_t *nvp, *nvpair; local
200 nvp = &i_nvp.nvi_nvp;
201 size = NVP_SIZE(nvp);
203 mdb_warn("nvpair of size zero at %p", nvp);
210 mdb_warn("failed to read nvpair and data at %p", nvp);
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_impl.c345 nvpair_t *nvp; local
366 for (len = 0, nvp = NULL; nvp = nvlist_next_nvpair(nvl, nvp); ) {
368 name = nvpair_name(nvp);
372 (nvpair_type(nvp) != DATA_TYPE_STRING))
375 (void) nvpair_value_string(nvp, &value);
390 for (nvp = NULL; nvp = nvlist_next_nvpair(nvl, nvp); ) {
[all...]
/illumos-gate/usr/src/cmd/svc/common/
H A Dnotify_params.c240 nvpair_t *tnvp, *nvp; local
275 for (nvp = nvlist_next_nvpair(nvl, NULL); nvp != NULL;
276 nvp = nvlist_next_nvpair(nvl, nvp)) {
277 if (nvpair_type(nvp) != DATA_TYPE_STRING_ARRAY)
279 nvpair_print(nvp);
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm_event.c56 nvpair_t *nvp = NULL; local
58 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) {
59 if (strcmp(nvpair_name(nvp), RCM_SEQ_NUM) == 0 &&
60 nvpair_type(nvp) == DATA_TYPE_UINT64)
61 return (nvpair_value_uint64(nvp, seq_num));
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_event.c369 nvpair_t *nvp = NULL; local
376 while (nvp = nvlist_next_nvpair(nvl, nvp)) {
377 type = nvpair_type(nvp);
378 name = nvpair_name(nvp);
387 (void) nvpair_value_byte(nvp, &data_byte);
393 (void) nvpair_value_int16(nvp, &data_int16);
399 (void) nvpair_value_uint16(nvp, &data_uint16);
405 (void) nvpair_value_int32(nvp, &data_int32);
411 (void) nvpair_value_uint32(nvp,
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_fmri.c136 nvpair_t *nvp; local
140 for (nvp = nvlist_next_nvpair(nvl, NULL);
141 nvp != NULL; nvp = nvlist_next_nvpair(nvl, nvp)) {
143 if (nvpair_type(nvp) != DATA_TYPE_STRING)
146 n += fmd_fmri_uriescape(nvpair_name(nvp), NULL, NULL, 0) + 1;
147 (void) nvpair_value_string(nvp, &v);
153 for (nvp = nvlist_next_nvpair(nvl, NULL);
154 nvp !
[all...]
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_plugin.c80 nvpair_t *nvp; local
110 if ((nvp = nvlist_next_nvpair(nvl, NULL)) != NULL) {
112 "this node", nvpair_name(nvp));
/illumos-gate/usr/src/uts/common/exec/aout/
H A Daout.c140 struct vnode *nvp; local
190 NULLVPP, &nvp)) {
193 if (error = elf32exec(nvp, uap, args, idatap, level, execsz,
195 VN_RELE(nvp);
198 VN_RELE(nvp);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_vnops.c628 vnode_t *nvp; local
656 nvp = makenfs3node(&res.resok.fh,
660 nvp = makenfs3node(&res.resok.fh, NULL,
662 if (nvp->v_type == VNON) {
664 error = nfs3getattr(nvp, &vattr, cr);
666 VN_RELE(nvp);
669 nvp->v_type = vattr.va_type;
672 mutex_enter(&nvp->v_lock);
673 nvp->v_flag |= V_XATTRDIR;
674 mutex_exit(&nvp
[all...]
/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,
206 iscsit_select_auth(iscsit_conn_t *ict, nvpair_t *nvp, const idm_kv_xlate_t *ikvx) argument
264 auth_propose_chap(iscsit_conn_t *ict, nvpair_t *nvp, const idm_kv_xlate_t *ikvx) argument
281 auth_chap_select_alg(iscsit_conn_t *ict, nvpair_t *nvp, const idm_kv_xlate_t *ikvx) argument
350 auth_chap_recv_n(iscsit_conn_t *ict, nvpair_t *nvp, const idm_kv_xlate_t *ikvx) argument
379 auth_chap_recv_r(iscsit_conn_t *ict, nvpair_t *nvp, const idm_kv_xlate_t *ikvx) argument
409 auth_chap_recv_i(iscsit_conn_t *ict, nvpair_t *nvp, const idm_kv_xlate_t *ikvx) argument
438 auth_chap_recv_c(iscsit_conn_t *ict, nvpair_t *nvp, const idm_kv_xlate_t *ikvx) argument
467 auth_chap_expect_r(iscsit_conn_t *ict, nvpair_t *nvp, const idm_kv_xlate_t *ikvx) argument
497 iscsit_auth_propose(iscsit_conn_t *ict, nvpair_t *nvp, const idm_kv_xlate_t *ikvx) argument
544 iscsit_auth_expect_key(iscsit_conn_t *ict, nvpair_t *nvp, const idm_kv_xlate_t *ikvx) argument
579 auth_chap_done(iscsit_conn_t *ict, nvpair_t *nvp, const idm_kv_xlate_t *ikvx) argument
[all...]
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drsrc_info.c616 nvpair_t *nvp = NULL; local
627 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) {
628 assert(strcmp(nvpair_name(nvp), RI_AP_T) == 0 &&
629 nvpair_type(nvp) == DATA_TYPE_BYTE_ARRAY);
638 if (nvpair_value_byte_array(nvp, (uchar_t **)&buf,
675 nvpair_t *nvp = NULL; local
686 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) {
687 assert(strcmp(nvpair_name(nvp), RI_DEV_
732 nvpair_t *nvp = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/exec/java/
H A Djava.c93 vnode_t *nvp; local
153 if (error = lookuppn(&lookpn, &resolvepn, FOLLOW, NULLVPP, &nvp)) {
162 error = gexec(&nvp, uap, args, &idata, level + 1, execsz, execfile,
173 VN_RELE(nvp);

Completed in 194 milliseconds

12345