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/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/mdb/common/modules/genunix/
H A Dfm.c188 nvpair_t *nvp, *nvpair; local
199 nvp = &i_nvp.nvi_nvp;
200 size = NVP_SIZE(nvp);
202 mdb_warn("nvpair of size zero at %p", nvp);
209 mdb_warn("failed to read nvpair and data at %p", nvp);
/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/common/avs/ns/rdc/
H A Drdc_subr.c145 rdc_srv_t *nvp; local
156 nvp = kmem_zalloc(sizeof (*nvp), KM_SLEEP);
157 nvp->ri_knconf = kmem_alloc(sizeof (*nvp->ri_knconf), KM_SLEEP);
158 nvp->ri_hostname = kmem_zalloc(hlen, KM_SLEEP);
160 if (nvp == NULL || nvp->ri_hostname == NULL || nvp->ri_knconf == NULL) {
161 rdc_destroy_svinfo(nvp);
[all...]
/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.c148 zfs_deleg_verify_nvlist(nvlist_t *nvp) argument
154 if (nvp == NULL)
157 who = nvlist_next_nvpair(nvp, NULL);
165 error = nvlist_lookup_nvlist(nvp, nvpair_name(who), &perms);
183 } while ((who = nvlist_next_nvpair(nvp, who)) != NULL);
/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/cmd/lvm/metassist/common/
H A Dvolume_nvpair.c43 const char *name, data_type_t type, nvpair_t *nvp);
699 * @param nvp
711 nvpair_t *nvp)
713 /* For each nvpair in the list following nvp... */
714 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) {
717 if ((name == NULL || strcmp(nvpair_name(nvp), name) == 0) &&
720 (type == DATA_TYPE_UNKNOWN || type == nvpair_type(nvp))) {
721 return (nvp);
707 nvlist_walk_nvpair( nvlist_t *nvl, const char *name, data_type_t type, nvpair_t *nvp) argument
/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/lib/fm/topo/modules/i86pc/chip/
H A Dchip_intel.c104 nvpair_t *nvp; local
153 for (nvp = nvlist_next_nvpair(ranks_nvp[i], NULL); nvp != NULL;
154 nvp = nvlist_next_nvpair(ranks_nvp[i], nvp)) {
155 (void) nvprop_add(mod, nvp, PGNAME(RANK), rnode);
168 nvpair_t *nvp; local
189 for (nvp = nvlist_next_nvpair(nvl[i], NULL); nvp != NULL;
190 nvp
294 nvpair_t *nvp; local
347 nvpair_t *nvp; local
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Devents.c378 nvpair_t *nvp; local
380 nvp = nvlist_next_nvpair(list, NULL);
381 while (nvp != NULL) {
390 attrname = nvpair_name(nvp);
391 switch (nvpair_type(nvp)) {
393 (void) nvpair_value_string(nvp, &str);
398 (void) nvpair_value_string_array(nvp, &str_array, &cnt);
406 (void) nvpair_value_uint32(nvp, &ui32);
411 (void) nvpair_value_uint64(nvp, &ui64);
430 nvp
[all...]
/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/cmd/fm/modules/common/sensor-transport/
H A Dsensor_transport.c87 nvpair_t *nvp; local
154 nvp = NULL;
155 while ((nvp = nvlist_next_nvpair(nvl, nvp)) != NULL) {
156 if (nvpair_value_nvlist(nvp, &props) != 0)
/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);

Completed in 175 milliseconds

12345