Lines Matching defs:nvlist_t

96 } nvlist_t;
155 int nvlist_alloc(nvlist_t **, uint_t, int);
156 void nvlist_free(nvlist_t *);
157 int nvlist_size(nvlist_t *, size_t *, int);
158 int nvlist_pack(nvlist_t *, char **, size_t *, int, int);
159 int nvlist_unpack(char *, size_t, nvlist_t **, int);
160 int nvlist_dup(nvlist_t *, nvlist_t **, int);
161 int nvlist_merge(nvlist_t *, nvlist_t *, int);
163 uint_t nvlist_nvflag(nvlist_t *);
165 int nvlist_xalloc(nvlist_t **, uint_t, nv_alloc_t *);
166 int nvlist_xpack(nvlist_t *, char **, size_t *, int, nv_alloc_t *);
167 int nvlist_xunpack(char *, size_t, nvlist_t **, nv_alloc_t *);
168 int nvlist_xdup(nvlist_t *, nvlist_t **, nv_alloc_t *);
169 nv_alloc_t *nvlist_lookup_nv_alloc(nvlist_t *);
171 int nvlist_add_nvpair(nvlist_t *, nvpair_t *);
172 int nvlist_add_boolean(nvlist_t *, const char *);
173 int nvlist_add_boolean_value(nvlist_t *, const char *, boolean_t);
174 int nvlist_add_byte(nvlist_t *, const char *, uchar_t);
175 int nvlist_add_int8(nvlist_t *, const char *, int8_t);
176 int nvlist_add_uint8(nvlist_t *, const char *, uint8_t);
177 int nvlist_add_int16(nvlist_t *, const char *, int16_t);
178 int nvlist_add_uint16(nvlist_t *, const char *, uint16_t);
179 int nvlist_add_int32(nvlist_t *, const char *, int32_t);
180 int nvlist_add_uint32(nvlist_t *, const char *, uint32_t);
181 int nvlist_add_int64(nvlist_t *, const char *, int64_t);
182 int nvlist_add_uint64(nvlist_t *, const char *, uint64_t);
183 int nvlist_add_string(nvlist_t *, const char *, const char *);
184 int nvlist_add_nvlist(nvlist_t *, const char *, nvlist_t *);
185 int nvlist_add_boolean_array(nvlist_t *, const char *, boolean_t *, uint_t);
186 int nvlist_add_byte_array(nvlist_t *, const char *, uchar_t *, uint_t);
187 int nvlist_add_int8_array(nvlist_t *, const char *, int8_t *, uint_t);
188 int nvlist_add_uint8_array(nvlist_t *, const char *, uint8_t *, uint_t);
189 int nvlist_add_int16_array(nvlist_t *, const char *, int16_t *, uint_t);
190 int nvlist_add_uint16_array(nvlist_t *, const char *, uint16_t *, uint_t);
191 int nvlist_add_int32_array(nvlist_t *, const char *, int32_t *, uint_t);
192 int nvlist_add_uint32_array(nvlist_t *, const char *, uint32_t *, uint_t);
193 int nvlist_add_int64_array(nvlist_t *, const char *, int64_t *, uint_t);
194 int nvlist_add_uint64_array(nvlist_t *, const char *, uint64_t *, uint_t);
195 int nvlist_add_string_array(nvlist_t *, const char *, char *const *, uint_t);
196 int nvlist_add_nvlist_array(nvlist_t *, const char *, nvlist_t **, uint_t);
197 int nvlist_add_hrtime(nvlist_t *, const char *, hrtime_t);
199 int nvlist_add_double(nvlist_t *, const char *, double);
202 int nvlist_remove(nvlist_t *, const char *, data_type_t);
203 int nvlist_remove_all(nvlist_t *, const char *);
204 int nvlist_remove_nvpair(nvlist_t *, nvpair_t *);
206 int nvlist_lookup_boolean(nvlist_t *, const char *);
207 int nvlist_lookup_boolean_value(nvlist_t *, const char *, boolean_t *);
208 int nvlist_lookup_byte(nvlist_t *, const char *, uchar_t *);
209 int nvlist_lookup_int8(nvlist_t *, const char *, int8_t *);
210 int nvlist_lookup_uint8(nvlist_t *, const char *, uint8_t *);
211 int nvlist_lookup_int16(nvlist_t *, const char *, int16_t *);
212 int nvlist_lookup_uint16(nvlist_t *, const char *, uint16_t *);
213 int nvlist_lookup_int32(nvlist_t *, const char *, int32_t *);
214 int nvlist_lookup_uint32(nvlist_t *, const char *, uint32_t *);
215 int nvlist_lookup_int64(nvlist_t *, const char *, int64_t *);
216 int nvlist_lookup_uint64(nvlist_t *, const char *, uint64_t *);
217 int nvlist_lookup_string(nvlist_t *, const char *, char **);
218 int nvlist_lookup_nvlist(nvlist_t *, const char *, nvlist_t **);
219 int nvlist_lookup_boolean_array(nvlist_t *, const char *,
221 int nvlist_lookup_byte_array(nvlist_t *, const char *, uchar_t **, uint_t *);
222 int nvlist_lookup_int8_array(nvlist_t *, const char *, int8_t **, uint_t *);
223 int nvlist_lookup_uint8_array(nvlist_t *, const char *, uint8_t **, uint_t *);
224 int nvlist_lookup_int16_array(nvlist_t *, const char *, int16_t **, uint_t *);
225 int nvlist_lookup_uint16_array(nvlist_t *, const char *, uint16_t **, uint_t *);
226 int nvlist_lookup_int32_array(nvlist_t *, const char *, int32_t **, uint_t *);
227 int nvlist_lookup_uint32_array(nvlist_t *, const char *, uint32_t **, uint_t *);
228 int nvlist_lookup_int64_array(nvlist_t *, const char *, int64_t **, uint_t *);
229 int nvlist_lookup_uint64_array(nvlist_t *, const char *, uint64_t **, uint_t *);
230 int nvlist_lookup_string_array(nvlist_t *, const char *, char ***, uint_t *);
231 int nvlist_lookup_nvlist_array(nvlist_t *, const char *,
232 nvlist_t ***, uint_t *);
233 int nvlist_lookup_hrtime(nvlist_t *, const char *, hrtime_t *);
234 int nvlist_lookup_pairs(nvlist_t *, int, ...);
236 int nvlist_lookup_double(nvlist_t *, const char *, double *);
239 int nvlist_lookup_nvpair(nvlist_t *, const char *, nvpair_t **);
240 int nvlist_lookup_nvpair_embedded_index(nvlist_t *, const char *, nvpair_t **,
242 boolean_t nvlist_exists(nvlist_t *, const char *);
243 boolean_t nvlist_empty(nvlist_t *);
246 nvpair_t *nvlist_next_nvpair(nvlist_t *, nvpair_t *);
247 nvpair_t *nvlist_prev_nvpair(nvlist_t *, nvpair_t *);
262 int nvpair_value_nvlist(nvpair_t *, nvlist_t **);
274 int nvpair_value_nvlist_array(nvpair_t *, nvlist_t ***, uint_t *);
280 nvlist_t *fnvlist_alloc(void);
281 void fnvlist_free(nvlist_t *);
282 size_t fnvlist_size(nvlist_t *);
283 char *fnvlist_pack(nvlist_t *, size_t *);
285 nvlist_t *fnvlist_unpack(char *, size_t);
286 nvlist_t *fnvlist_dup(nvlist_t *);
287 void fnvlist_merge(nvlist_t *, nvlist_t *);
288 size_t fnvlist_num_pairs(nvlist_t *);
290 void fnvlist_add_boolean(nvlist_t *, const char *);
291 void fnvlist_add_boolean_value(nvlist_t *, const char *, boolean_t);
292 void fnvlist_add_byte(nvlist_t *, const char *, uchar_t);
293 void fnvlist_add_int8(nvlist_t *, const char *, int8_t);
294 void fnvlist_add_uint8(nvlist_t *, const char *, uint8_t);
295 void fnvlist_add_int16(nvlist_t *, const char *, int16_t);
296 void fnvlist_add_uint16(nvlist_t *, const char *, uint16_t);
297 void fnvlist_add_int32(nvlist_t *, const char *, int32_t);
298 void fnvlist_add_uint32(nvlist_t *, const char *, uint32_t);
299 void fnvlist_add_int64(nvlist_t *, const char *, int64_t);
300 void fnvlist_add_uint64(nvlist_t *, const char *, uint64_t);
301 void fnvlist_add_string(nvlist_t *, const char *, const char *);
302 void fnvlist_add_nvlist(nvlist_t *, const char *, nvlist_t *);
303 void fnvlist_add_nvpair(nvlist_t *, nvpair_t *);
304 void fnvlist_add_boolean_array(nvlist_t *, const char *, boolean_t *, uint_t);
305 void fnvlist_add_byte_array(nvlist_t *, const char *, uchar_t *, uint_t);
306 void fnvlist_add_int8_array(nvlist_t *, const char *, int8_t *, uint_t);
307 void fnvlist_add_uint8_array(nvlist_t *, const char *, uint8_t *, uint_t);
308 void fnvlist_add_int16_array(nvlist_t *, const char *, int16_t *, uint_t);
309 void fnvlist_add_uint16_array(nvlist_t *, const char *, uint16_t *, uint_t);
310 void fnvlist_add_int32_array(nvlist_t *, const char *, int32_t *, uint_t);
311 void fnvlist_add_uint32_array(nvlist_t *, const char *, uint32_t *, uint_t);
312 void fnvlist_add_int64_array(nvlist_t *, const char *, int64_t *, uint_t);
313 void fnvlist_add_uint64_array(nvlist_t *, const char *, uint64_t *, uint_t);
314 void fnvlist_add_string_array(nvlist_t *, const char *, char * const *, uint_t);
315 void fnvlist_add_nvlist_array(nvlist_t *, const char *, nvlist_t **, uint_t);
317 void fnvlist_remove(nvlist_t *, const char *);
318 void fnvlist_remove_nvpair(nvlist_t *, nvpair_t *);
320 nvpair_t *fnvlist_lookup_nvpair(nvlist_t *nvl, const char *name);
321 boolean_t fnvlist_lookup_boolean(nvlist_t *nvl, const char *name);
322 boolean_t fnvlist_lookup_boolean_value(nvlist_t *nvl, const char *name);
323 uchar_t fnvlist_lookup_byte(nvlist_t *nvl, const char *name);
324 int8_t fnvlist_lookup_int8(nvlist_t *nvl, const char *name);
325 int16_t fnvlist_lookup_int16(nvlist_t *nvl, const char *name);
326 int32_t fnvlist_lookup_int32(nvlist_t *nvl, const char *name);
327 int64_t fnvlist_lookup_int64(nvlist_t *nvl, const char *name);
328 uint8_t fnvlist_lookup_uint8_t(nvlist_t *nvl, const char *name);
329 uint16_t fnvlist_lookup_uint16(nvlist_t *nvl, const char *name);
330 uint32_t fnvlist_lookup_uint32(nvlist_t *nvl, const char *name);
331 uint64_t fnvlist_lookup_uint64(nvlist_t *nvl, const char *name);
332 char *fnvlist_lookup_string(nvlist_t *nvl, const char *name);
333 nvlist_t *fnvlist_lookup_nvlist(nvlist_t *nvl, const char *name);
346 nvlist_t *fnvpair_value_nvlist(nvpair_t *nvp);