Lines Matching refs:nvlist_t
121 nvlist_t *
124 nvlist_t *nvl; in nvlist_create()
143 nvlist_destroy(nvlist_t *nvl) in nvlist_destroy()
169 nvlist_set_error(nvlist_t *nvl, int error) in nvlist_set_error()
183 nvlist_error(const nvlist_t *nvl) in nvlist_error()
195 nvlist_get_nvpair_parent(const nvlist_t *nvl) in nvlist_get_nvpair_parent()
203 const nvlist_t *
204 nvlist_get_parent(const nvlist_t *nvl, void **cookiep) in nvlist_get_parent()
220 nvlist_set_parent(nvlist_t *nvl, nvpair_t *parent) in nvlist_set_parent()
229 nvlist_set_array_next(nvlist_t *nvl, nvpair_t *ele) in nvlist_set_array_next()
245 nvlist_update_size(nvlist_t *nvl, nvpair_t *new, ssize_t mul) in nvlist_update_size()
249 const nvlist_t *nvlistnew; in nvlist_update_size()
250 const nvlist_t * const *nvlarray; in nvlist_update_size()
251 nvlist_t *parent; in nvlist_update_size()
283 while ((parent = __DECONST(nvlist_t *, in nvlist_update_size()
290 nvlist_get_array_next_nvpair(nvlist_t *nvl) in nvlist_get_array_next_nvpair()
299 nvlist_in_array(const nvlist_t *nvl) in nvlist_in_array()
307 const nvlist_t *
308 nvlist_get_array_next(const nvlist_t *nvl) in nvlist_get_array_next()
321 const nvlist_t *
322 nvlist_get_pararr(const nvlist_t *nvl, void **cookiep) in nvlist_get_pararr()
324 const nvlist_t *ret; in nvlist_get_pararr()
337 nvlist_empty(const nvlist_t *nvl) in nvlist_empty()
347 nvlist_flags(const nvlist_t *nvl) in nvlist_flags()
357 nvlist_set_flags(nvlist_t *nvl, int flags) in nvlist_set_flags()
375 nvlist_find(const nvlist_t *nvl, int type, const char *name) in nvlist_find()
405 nvlist_exists_type(const nvlist_t *nvl, const char *name, int type) in nvlist_exists_type()
417 nvlist_free_type(nvlist_t *nvl, const char *name, int type) in nvlist_free_type()
433 nvlist_t *
434 nvlist_clone(const nvlist_t *nvl) in nvlist_clone()
436 nvlist_t *newnvl; in nvlist_clone()
463 nvlist_dump_error_check(const nvlist_t *nvl, int fd, int level) in nvlist_dump_error_check()
479 nvlist_dump(const nvlist_t *nvl, int fd) in nvlist_dump()
481 const nvlist_t *tmpnvl; in nvlist_dump()
610 const nvlist_t * const *value; in nvlist_dump()
668 nvlist_fdump(const nvlist_t *nvl, FILE *fp) in nvlist_fdump()
680 nvlist_size(const nvlist_t *nvl) in nvlist_size()
688 nvlist_xdescriptors(const nvlist_t *nvl, int *descs) in nvlist_xdescriptors()
726 const nvlist_t * const *value; in nvlist_xdescriptors()
747 nvlist_descriptors(const nvlist_t *nvl, size_t *nitemsp) in nvlist_descriptors()
766 nvlist_ndescriptors(const nvlist_t *nvl) in nvlist_ndescriptors()
792 const nvlist_t * const *value; in nvlist_ndescriptors()
823 nvlist_pack_header(const nvlist_t *nvl, unsigned char *ptr, size_t *leftp) in nvlist_pack_header()
846 nvlist_xpack(const nvlist_t *nvl, int64_t *fdidxp, size_t *sizep) in nvlist_xpack()
850 const nvlist_t *tmpnvl; in nvlist_xpack()
928 const nvlist_t * const * value; in nvlist_xpack()
1002 nvlist_pack(const nvlist_t *nvl, size_t *sizep) in nvlist_pack()
1051 nvlist_unpack_header(nvlist_t *nvl, const unsigned char *ptr, size_t nfds, in nvlist_unpack_header()
1091 static nvlist_t *
1096 nvlist_t *nvl, *retnvl, *tmpnvl, *array; in nvlist_xunpack()
1168 nvl = __DECONST(nvlist_t *, in nvlist_xunpack()
1195 array = __DECONST(nvlist_t *, in nvlist_xunpack()
1220 nvlist_t *
1229 nvlist_send(int sock, const nvlist_t *nvl) in nvlist_send()
1270 nvlist_t *
1274 nvlist_t *nvl, *ret; in nvlist_recv()
1338 nvlist_t *
1339 nvlist_xfer(int sock, nvlist_t *nvl, int flags) in nvlist_xfer()
1352 nvlist_first_nvpair(const nvlist_t *nvl) in nvlist_first_nvpair()
1361 nvlist_next_nvpair(const nvlist_t *nvl __unused, const nvpair_t *nvp) in nvlist_next_nvpair()
1377 nvlist_prev_nvpair(const nvlist_t *nvl __unused, const nvpair_t *nvp) in nvlist_prev_nvpair()
1392 nvlist_next(const nvlist_t *nvl, int *typep, void **cookiep) in nvlist_next()
1412 nvlist_exists(const nvlist_t *nvl, const char *name) in nvlist_exists()
1420 nvlist_exists_##type(const nvlist_t *nvl, const char *name) \
1444 nvlist_add_nvpair(nvlist_t *nvl, const nvpair_t *nvp) in NVLIST_EXISTS()
1474 nvlist_add_stringf(nvlist_t *nvl, const char *name, const char *valuefmt, ...) in nvlist_add_stringf()
1484 nvlist_add_stringv(nvlist_t *nvl, const char *name, const char *valuefmt, in nvlist_add_stringv()
1504 nvlist_add_null(nvlist_t *nvl, const char *name) in nvlist_add_null()
1523 nvlist_add_binary(nvlist_t *nvl, const char *name, const void *value, in nvlist_add_binary()
1545 nvlist_add_##type(nvlist_t *nvl, const char *name, vtype value) \
1566 NVLIST_ADD(const nvlist_t *, nvlist)
1575 nvlist_add_##type##_array(nvlist_t *nvl, const char *name, vtype value, \
1597 NVLIST_ADD_ARRAY(const nvlist_t * const *, nvlist) in NVLIST_ADD_ARRAY()
1606 nvlist_append_##type##_array(nvlist_t *nvl, const char *name, vtype value)\ in NVLIST_ADD_ARRAY()
1630 NVLIST_APPEND_ARRAY(const nvlist_t *, nvlist, NVLIST)
1638 nvlist_move_nvpair(nvlist_t *nvl, nvpair_t *nvp)
1664 nvlist_move_string(nvlist_t *nvl, const char *name, char *value) in nvlist_move_string()
1684 nvlist_move_nvlist(nvlist_t *nvl, const char *name, nvlist_t *value) in nvlist_move_nvlist()
1706 nvlist_move_descriptor(nvlist_t *nvl, const char *name, int value) in nvlist_move_descriptor()
1727 nvlist_move_binary(nvlist_t *nvl, const char *name, void *value, size_t size) in nvlist_move_binary()
1747 nvlist_move_bool_array(nvlist_t *nvl, const char *name, bool *value, in nvlist_move_bool_array()
1768 nvlist_move_string_array(nvlist_t *nvl, const char *name, char **value, in nvlist_move_string_array()
1794 nvlist_move_nvlist_array(nvlist_t *nvl, const char *name, nvlist_t **value, in nvlist_move_nvlist_array()
1822 nvlist_move_number_array(nvlist_t *nvl, const char *name, uint64_t *value, in nvlist_move_number_array()
1844 nvlist_move_descriptor_array(nvlist_t *nvl, const char *name, int *value, in nvlist_move_descriptor_array()
1872 nvlist_get_nvpair(const nvlist_t *nvl, const char *name) in nvlist_get_nvpair()
1880 nvlist_get_##type(const nvlist_t *nvl, const char *name) \
1893 NVLIST_GET(const nvlist_t *, nvlist, NVLIST) in NVLIST_GET()
1901 nvlist_get_binary(const nvlist_t *nvl, const char *name, size_t *sizep) in NVLIST_GET()
1914 nvlist_get_##type##_array(const nvlist_t *nvl, const char *name, \
1928 NVLIST_GET_ARRAY(const nvlist_t * const *, nvlist, NVLIST) in NVLIST_GET_ARRAY()
1937 nvlist_take_##type(nvlist_t *nvl, const char *name) \ in NVLIST_GET_ARRAY()
1954 NVLIST_TAKE(nvlist_t *, nvlist, NVLIST)
1962 nvlist_take_binary(nvlist_t *nvl, const char *name, size_t *sizep)
1979 nvlist_take_##type##_array(nvlist_t *nvl, const char *name, \
1997 NVLIST_TAKE_ARRAY(nvlist_t **, nvlist, NVLIST) in NVLIST_TAKE_ARRAY()
2003 nvlist_remove_nvpair(nvlist_t *nvl, nvpair_t *nvp) in NVLIST_TAKE_ARRAY()
2015 nvlist_free(nvlist_t *nvl, const char *name) in nvlist_free()
2023 nvlist_free_##type(nvlist_t *nvl, const char *name) \
2047 nvlist_free_nvpair(nvlist_t *nvl, nvpair_t *nvp) in NVLIST_FREE()