Searched refs:nvlp (Results 1 - 25 of 60) sorted by relevance

123

/opensolaris-onvv-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_nvl.c47 topo_mod_nvalloc(topo_mod_t *mod, nvlist_t **nvlp, uint_t nvflag) argument
49 if (nvlist_xalloc(nvlp, nvflag, &mod->tm_alloc->ta_nva) != 0)
56 topo_mod_nvdup(topo_mod_t *mod, nvlist_t *nvl, nvlist_t **nvlp) argument
58 if (nvlist_xdup(nvl, nvlp, &mod->tm_alloc->ta_nva) != 0)
65 topo_hdl_nvalloc(topo_hdl_t *thp, nvlist_t **nvlp, uint_t nvflag) argument
68 if (nvlist_xalloc(nvlp, nvflag, &thp->th_alloc->ta_nva) != 0)
75 topo_hdl_nvdup(topo_hdl_t *thp, nvlist_t *nvl, nvlist_t **nvlp) argument
77 if (nvlist_xdup(nvl, nvlp, &thp->th_alloc->ta_nva) != 0)
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclenvmond.c193 nvlist_t *nvlp; local
204 if (nvlist_unpack(envl, elen, &nvlp, 0) < 0) {
205 nvlist_free(nvlp);
210 if (nvlist_alloc(&nvlp, NV_UNIQUE_NAME_TYPE, NULL)) {
216 if (nvlist_add_uint64(nvlp, PICLEVENTARG_NODEHANDLE, nodeh) == -1) {
217 nvlist_free(nvlp);
222 if (nvlist_pack(nvlp, &pack_buf, &nvl_size, NV_ENCODE_NATIVE, NULL)) {
223 nvlist_free(nvlp);
227 nvlist_free(nvlp);
254 nvlist_t *nvlp; /* nvlis local
305 nvlist_t *nvlp; /* nvlist of event specific args */ local
344 nvlist_t *nvlp; /* nvlist of event specific args */ local
381 nvlist_t *nvlp; /* nvlist of event specific args */ local
[all...]
H A Dpiclplatmod.c402 nvlist_t *nvlp; local
424 if (nvlist_unpack((char *)earg, size, &nvlp, NULL)) {
427 if (nvlist_lookup_uint64(nvlp, PICLEVENTARG_NODEHANDLE, &nodeh) == -1) {
428 nvlist_free(nvlp);
431 if (nvlist_lookup_string(nvlp, (state_event) ?
434 nvlist_free(nvlp);
443 nvlist_free(nvlp);
453 nvlist_free(nvlp);
463 nvlist_free(nvlp);
483 nvlist_free(nvlp);
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/ipp/meters/
H A Dtswtclddi.c105 nvlist_t *nvlp; local
112 nvlp = *nvlpp;
117 nvlist_free(nvlp);
122 if ((rc = nvlist_lookup_string(nvlp, TSWTCL_RED_ACTION_NAME,
124 nvlist_free(nvlp);
132 nvlist_free(nvlp);
139 if ((rc = nvlist_lookup_string(nvlp, TSWTCL_YELLOW_ACTION_NAME,
141 nvlist_free(nvlp);
149 nvlist_free(nvlp);
156 if ((rc = nvlist_lookup_string(nvlp, TSWTCL_GREEN_ACTION_NAM
285 nvlist_t *nvlp; local
611 nvlist_t *nvlp; local
[all...]
H A Dtokenmtddi.c124 nvlist_t *nvlp; local
134 nvlp = *nvlpp;
138 nvlist_free(nvlp);
143 if ((rc = nvlist_lookup_string(nvlp, TOKENMT_RED_ACTION_NAME,
145 nvlist_free(nvlp);
153 nvlist_free(nvlp);
160 if ((rc = nvlist_lookup_string(nvlp, TOKENMT_YELLOW_ACTION_NAME,
164 nvlist_free(nvlp);
175 if ((rc = nvlist_lookup_string(nvlp, TOKENMT_GREEN_ACTION_NAME,
177 nvlist_free(nvlp);
387 nvlist_t *nvlp; local
797 nvlist_t *nvlp; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/ipp/dlcosmk/
H A Ddlcosmkddi.c102 nvlist_t *nvlp; local
110 nvlp = *nvlpp;
114 nvlist_free(nvlp);
119 if ((err = nvlist_lookup_string(nvlp, DLCOSMK_NEXT_ACTION_NAME,
121 nvlist_free(nvlp);
129 nvlist_free(nvlp);
136 if ((err = nvlist_lookup_byte(nvlp, DLCOSMK_COS,
138 nvlist_free(nvlp);
146 if ((err = nvlist_lookup_uint32(nvlp, DLCOSMK_BAND, &param)) != 0) {
147 nvlist_free(nvlp);
201 nvlist_t *nvlp; local
453 nvlist_t *nvlp; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/ipp/
H A Dippctl.c207 static int ippctl_attach_modname(nvlist_t *nvlp, char *val);
208 static int ippctl_attach_modname_array(nvlist_t *nvlp, char **val, int);
209 static int ippctl_attach_aname_array(nvlist_t *nvlp, char **val, int);
762 nvlist_t *nvlp,
772 if ((rc = nvlist_lookup_byte(nvlp, IPPCTL_OP, valp)) != 0)
775 (void) nvlist_remove_all(nvlp, IPPCTL_OP);
783 nvlist_t *nvlp,
794 if ((rc = nvlist_lookup_string(nvlp, IPPCTL_ANAME, &ptr)) != 0)
799 (void) nvlist_remove_all(nvlp, IPPCTL_ANAME);
807 nvlist_t *nvlp,
761 ippctl_extract_op( nvlist_t *nvlp, uint8_t *valp) argument
782 ippctl_extract_aname( nvlist_t *nvlp, char **valp) argument
806 ippctl_extract_modname( nvlist_t *nvlp, char **valp) argument
830 ippctl_attach_modname( nvlist_t *nvlp, char *modname) argument
845 ippctl_attach_modname_array( nvlist_t *nvlp, char **modname_array, int nelt) argument
862 ippctl_attach_aname_array( nvlist_t *nvlp, char **aname_array, int nelt) argument
879 ippctl_extract_flags( nvlist_t *nvlp, ipp_flags_t *valp) argument
906 nvlist_t *nvlp = NULL; local
1130 ippctl_action_create( char *modname, char *aname, nvlist_t *nvlp, ipp_flags_t flags) argument
1222 ippctl_action_modify( char *aname, nvlist_t *nvlp, ipp_flags_t flags) argument
1314 nvlist_t *nvlp; local
1368 nvlist_t *nvlp; local
1454 nvlist_t *nvlp; local
1628 ippctl_add_nvlist( nvlist_t *nvlp, int i) argument
1670 ippctl_callback( nvlist_t *nvlp, void *arg) argument
1709 nvlist_t *nvlp; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacctddi.c182 nvlist_t *nvlp; local
191 nvlp = *nvlpp;
196 nvlist_free(nvlp);
201 if ((rc = nvlist_lookup_string(nvlp, FLOWACCT_NEXT_ACTION_NAME,
203 nvlist_free(nvlp);
211 nvlist_free(nvlp);
218 nvlist_free(nvlp);
225 (void) nvlist_lookup_uint32(nvlp, FLOWACCT_TIMEOUT, &timeout);
231 (void) nvlist_lookup_uint32(nvlp, FLOWACCT_TIMER, &timer);
236 if ((rc = nvlist_lookup_uint32(nvlp, FLOWACCT_MAX_LIMI
285 nvlist_t *nvlp; local
454 nvlist_t *nvlp; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dmdescplugin.c103 nvlist_t *nvlp = NULL; local
113 if (nvlist_unpack((char *)earg, size, &nvlp, NULL)) {
117 if (nvlist_lookup_string(nvlp, PICLEVENTARG_DATA_TYPE, &dtype)) {
118 nvlist_free(nvlp);
123 nvlist_free(nvlp);
127 if (nvlist_lookup_string(nvlp, PICLEVENTARG_AP_ID, &ap_id)) {
128 nvlist_free(nvlp);
132 if (nvlist_lookup_string(nvlp, PICLEVENTARG_HINT, &hint)) {
133 nvlist_free(nvlp);
139 nvlist_free(nvlp);
168 nvlist_t *nvlp = NULL; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libipp/
H A Dlibipp.c124 nvlist_t *nvlp; local
142 nvlp = *nvlpp;
143 if ((rc = nvlist_add_byte(nvlp, IPPCTL_OP,
149 if ((rc = nvlist_add_string(nvlp, IPPCTL_MODNAME,
156 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) {
161 if ((rc = nvlist_add_uint32(nvlp, IPPCTL_FLAGS, flags)) != 0) {
183 nvlist_t *nvlp; local
200 if ((rc = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0)) != 0) {
202 nvlp = NULL;
206 if ((rc = nvlist_add_byte(nvlp, IPPCTL_O
242 nvlist_t *nvlp; local
295 nvlist_t *nvlp; local
352 nvlist_t *nvlp; local
405 nvlist_t *nvlp; local
463 nvlist_t *nvlp; local
548 nvlist_callback( nvlist_t *nvlp, void *arg) argument
582 string_callback( nvlist_t *nvlp, void *arg) argument
629 string_array_callback( nvlist_t *nvlp, void *arg) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/wbem/provider/c/wbem_disk/common/
H A Dctrl_descriptors.c57 nvlist_t *nvlp; local
117 nvlp = dm_get_attributes(desc, &error);
126 if (nvlp == NULL) {
130 for (nvp = nvlist_next_nvpair(nvlp, NULL); nvp != NULL;
131 nvp = nvlist_next_nvpair(nvlp, nvp)) {
150 nvlist_free(nvlp);
177 nvlist_free(nvlp);
184 nvlist_free(nvlp);
214 nvlist_free(nvlp);
221 nvlist_free(nvlp);
236 nvlist_t *nvlp; local
[all...]
H A Ddisk_descriptors.c54 nvlist_t *nvlp; local
123 nvlp = dm_get_attributes(dlist[0], &error);
133 error = nvlist_lookup_string(nvlp, "product_id", &prodid);
142 nvlist_free(nvlp);
146 error = nvlist_lookup_string(nvlp, "vendor_id", &vid);
156 nvlist_free(nvlp);
163 error = nvlist_lookup_uint32(nvlp, "status", &status);
177 nvlist_free(nvlp);
182 nvlist_free(nvlp);
237 nvlp
[all...]
H A Dlogicaldisk_descriptors.c54 nvlist_t *nvlp; local
182 nvlp = dm_get_attributes(desc, &error);
190 if (nvlp == NULL) {
194 for (nvp = nvlist_next_nvpair(nvlp, NULL); nvp != NULL;
195 nvp = nvlist_next_nvpair(nvlp, nvp)) {
215 nvlist_free(nvlp);
223 nvlist_free(nvlp);
237 nvlist_free(nvlp);
244 nvlist_free(nvlp);
252 nvlist_free(nvlp);
[all...]
H A Dpartbasedon_descriptors.c57 nvlist_t *nvlp; local
155 nvlp = dm_get_attributes(dep, &error);
163 if (nvlp == NULL) {
167 for (nvp = nvlist_next_nvpair(nvlp, NULL); nvp != NULL;
168 nvp = nvlist_next_nvpair(nvlp, nvp)) {
183 nvlist_free(nvlp);
193 nvlist_free(nvlp);
203 nvlist_free(nvlp);
217 nvlist_free(nvlp);
224 nvlist_free(nvlp);
[all...]
H A Ddrive_descriptors.c52 nvlist_t *nvlp; local
184 nvlp = dm_get_attributes(desc, &error);
192 if (nvlp == NULL) {
196 for (nvp = nvlist_next_nvpair(nvlp, NULL); nvp != NULL;
197 nvp = nvlist_next_nvpair(nvlp, nvp)) {
219 nvlist_free(nvlp);
236 if (nvlist_lookup_boolean(nvlp, DM_REMOVABLE) == 0) {
257 nvlist_free(nvlp);
273 nvlist_free(nvlp);
292 nvlist_free(nvlp);
[all...]
H A Dmpxiogroup_descriptors.c135 nvlist_t *nvlp; local
152 nvlp = dm_get_attributes(dp[i], errp);
164 *errp = nvlist_lookup_string(nvlp, "ctype", &type);
168 nvlist_free(nvlp);
172 error = nvlist_lookup_boolean(nvlp, "multiplex");
192 nvlist_free(nvlp);
203 nvlist_free(nvlp);
207 nvlist_free(nvlp);
H A Dpartition_descriptors.c271 nvlist_t *nvlp; local
319 nvlp = dm_get_attributes(desc, errp);
320 if (*errp == ENODEV || nvlp == NULL) {
332 for (nvp = nvlist_next_nvpair(nvlp, NULL); nvp != NULL;
333 nvp = nvlist_next_nvpair(nvlp, nvp)) {
491 nvlist_free(nvlp);
498 nvlist_t *nvlp; local
506 nvlp = dm_get_attributes(desc, errp);
507 if (*errp == ENODEV || nvlp == NULL) {
515 for (nvp = nvlist_next_nvpair(nvlp, NUL
555 nvlist_t *nvlp; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifierddi.c158 nvlist_t *nvlp; local
160 nvlp = *nvlpp;
165 nvlist_free(nvlp);
170 nvlist_free(nvlp);
175 if ((rc = nvlist_lookup_uint32(nvlp, IPP_ACTION_STATS_ENABLE,
186 nvlist_free(nvlp);
191 nvlist_free(nvlp);
210 nvlist_t *nvlp; local
219 nvlp = *nvlpp;
222 if ((rc = nvlist_lookup_byte(nvlp, IPP_CONFIG_TYP
[all...]
H A Dfilters.c577 * ipgpc_parse_filter(filter, nvlp)
584 ipgpc_parse_filter(ipgpc_filter_t *filter, nvlist_t *nvlp) argument
594 if (nvlist_lookup_string(nvlp, CLASSIFIER_FILTER_NAME, &s) != 0) {
599 if (nvlist_lookup_uint32(nvlp, IPP_CONFIG_ORIGINATOR,
615 if (nvlist_lookup_uint32(nvlp, IPGPC_UID, &filter->uid) != 0) {
620 if (nvlist_lookup_int32(nvlp, IPGPC_PROJID, &filter->projid) != 0) {
625 if (nvlist_lookup_uint32(nvlp, IPGPC_IF_INDEX, &filter->if_index)
631 if (nvlist_lookup_uint32(nvlp, IPGPC_DIR, &filter->direction) != 0) {
636 if (nvlist_lookup_byte(nvlp, IPGPC_PROTO, &filter->proto) != 0) {
644 if (nvlist_lookup_byte(nvlp, IPGPC_DSFIELD_MAS
1173 ipgpc_parse_class(ipgpc_class_t *out_class, nvlist_t *nvlp) argument
2113 nvlist_t *nvlp; local
2152 nvlist_t *nvlp = *nvlpp; local
2215 nvlist_t *nvlp; local
2256 nvlist_t *nvlp = *nvlpp; local
2451 nvlist_t *nvlp; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/ipp/dscpmk/
H A Ddscpmkddi.c125 nvlist_t *nvlp; local
135 nvlp = *nvlpp;
139 nvlist_free(nvlp);
144 if ((err = nvlist_lookup_string(nvlp, DSCPMK_NEXT_ACTION_NAME,
146 nvlist_free(nvlp);
155 nvlist_free(nvlp);
169 if ((err = nvlist_lookup_int32_array(nvlp, DSCPMK_DSCP_MAP,
181 if ((err = nvlist_lookup_uint32(nvlp, IPP_ACTION_STATS_ENABLE, &bstats))
190 nvlist_free(nvlp);
207 if ((err = nvlist_lookup_uint32(nvlp, DSCPMK_DETAILED_STAT
259 nvlist_t *nvlp; local
589 nvlist_t *nvlp; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/common/piclevent/
H A Dpiclevent.c102 parse_piclevent(nvlist_t *nvlp) argument
110 if (nvlist_lookup_string(nvlp, PICLEVENTARG_EVENT_NAME, &enval))
114 if (nvlist_pack(nvlp, &packed_nvl, &nvl_size, NV_ENCODE_NATIVE, NULL))
150 nvlist_t *nvlp; local
161 if (nvlist_unpack(argp, asize, &nvlp, NULL))
164 if (nvlist_lookup_string(nvlp, PICLEVENTARG_DATA_TYPE, &dtype)) {
165 nvlist_free(nvlp);
170 parse_piclevent(nvlp);
174 nvlist_free(nvlp);
/opensolaris-onvv-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.h47 void platform_set_payloadnvp(nvlist_t *nvlp);
/opensolaris-onvv-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dtopo_gather.c64 nonunique_nvlist_lookup_##suffix(nvlist_t *nvlp, const char *n, atype *rpp) \
67 while ((nvp = nvlist_next_nvpair(nvlp, nvp)) != NULL) { \
135 nvlist_t *list_of_lists, *nvlp, *dupnvlp; local
158 nvpair_value_nvlist(nvp, &nvlp) != 0)
161 dm_assert(nvlp != NULL);
164 if (nonunique_nvlist_lookup_string(nvlp,
174 if (nvlist_dup(nvlp, &dupnvlp, 0) == 0)
465 nvlist_t *nvlp = find_disk_monitor_private_pgroup(node); local
489 if (nvlp == NULL)
517 nvlist_free(nvlp);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/
H A Dpiclsbl.c204 nvlist_t *nvlp = NULL; local
239 if (nvlist_unpack((char *)earg, size, &nvlp, NULL))
241 if (nvlist_lookup_string(nvlp, "devfs-path", &devfs_path))
375 if (nvlp != NULL)
376 nvlist_free(nvlp);
/opensolaris-onvv-gate/usr/src/uts/intel/io/
H A Ddevfm_machdep.c149 populate_cpu(nvlist_t **nvlp, cmi_hdl_t hdl) argument
154 (void) nvlist_alloc(nvlp, NV_UNIQUE_NAME, KM_SLEEP);
171 (void) nvlist_add_nvlist(*nvlp, FM_PHYSCPU_INFO_CHIP_ROOTS,
173 (void) nvlist_add_uint16(*nvlp, FM_PHYSCPU_INFO_SMBIOS_ID,
178 fm_payload_set(*nvlp,

Completed in 729 milliseconds

123