Lines Matching defs:nvlp
102 nvlist_t *nvlp;
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, ¶m)) != 0) {
147 nvlist_free(nvlp);
156 if ((err = nvlist_lookup_uint32(nvlp, DLCOSMK_PRI, ¶m)) != 0) {
157 nvlist_free(nvlp);
166 if ((err = nvlist_lookup_uint32(nvlp, IPP_ACTION_STATS_ENABLE, &bstats))
174 nvlist_free(nvlp);
182 nvlist_free(nvlp);
201 nvlist_t *nvlp;
213 nvlp = *nvlpp;
216 if ((err = nvlist_lookup_byte(nvlp, IPP_CONFIG_TYPE, &config_type))
218 nvlist_free(nvlp);
225 nvlist_free(nvlp);
235 if ((err = nvlist_lookup_string(nvlp, DLCOSMK_NEXT_ACTION_NAME,
240 nvlist_free(nvlp);
247 nvlist_free(nvlp);
259 if ((err = nvlist_lookup_byte(nvlp, DLCOSMK_COS, &cos)) == 0) {
262 if ((err = nvlist_lookup_uint32(nvlp, DLCOSMK_BAND,
264 nvlist_free(nvlp);
271 if ((err = nvlist_lookup_uint32(nvlp, DLCOSMK_PRI,
273 nvlist_free(nvlp);
287 if ((err = nvlist_lookup_uint32(nvlp, IPP_ACTION_STATS_ENABLE, &bstats))
293 nvlist_free(nvlp);
305 nvlist_free(nvlp);
453 nvlist_t *nvlp;
464 if ((err = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, KM_NOSLEEP)) != 0) {
473 nvlist_free(nvlp);
478 if ((err = nvlist_add_string(nvlp, DLCOSMK_NEXT_ACTION_NAME,
481 nvlist_free(nvlp);
490 if ((err = nvlist_add_byte(nvlp, IPP_CONFIG_TYPE, IPP_SET)) != 0) {
492 nvlist_free(nvlp);
497 if ((err = nvlist_add_byte(nvlp, DLCOSMK_COS, dlcosmk_data->usr_pri))
500 nvlist_free(nvlp);
505 if ((err = nvlist_add_uint32(nvlp, IPP_ACTION_STATS_ENABLE,
508 nvlist_free(nvlp);
513 err = fn(nvlp, arg);
515 nvlist_free(nvlp);