Lines Matching refs:nvlist_t
122 nvlist_t *
125 nvlist_t *nvl; in nvlist_create()
144 nvlist_destroy(nvlist_t *nvl) in nvlist_destroy()
170 nvlist_set_error(nvlist_t *nvl, int error) in nvlist_set_error()
184 nvlist_error(const nvlist_t *nvl) in nvlist_error()
196 nvlist_get_nvpair_parent(const nvlist_t *nvl) in nvlist_get_nvpair_parent()
204 const nvlist_t *
205 nvlist_get_parent(const nvlist_t *nvl, void **cookiep) in nvlist_get_parent()
221 nvlist_set_parent(nvlist_t *nvl, nvpair_t *parent) in nvlist_set_parent()
230 nvlist_set_array_next(nvlist_t *nvl, nvpair_t *ele) in nvlist_set_array_next()
246 nvlist_update_size(nvlist_t *nvl, nvpair_t *new, ssize_t mul) in nvlist_update_size()
250 const nvlist_t *nvlistnew; in nvlist_update_size()
251 const nvlist_t * const *nvlarray; in nvlist_update_size()
252 nvlist_t *parent; in nvlist_update_size()
284 while ((parent = __DECONST(nvlist_t *, in nvlist_update_size()
291 nvlist_get_array_next_nvpair(nvlist_t *nvl) in nvlist_get_array_next_nvpair()
300 nvlist_in_array(const nvlist_t *nvl) in nvlist_in_array()
308 const nvlist_t *
309 nvlist_get_array_next(const nvlist_t *nvl) in nvlist_get_array_next()
322 const nvlist_t *
323 nvlist_get_pararr(const nvlist_t *nvl, void **cookiep) in nvlist_get_pararr()
325 const nvlist_t *ret; in nvlist_get_pararr()
338 nvlist_empty(const nvlist_t *nvl) in nvlist_empty()
348 nvlist_flags(const nvlist_t *nvl) in nvlist_flags()
358 nvlist_set_flags(nvlist_t *nvl, int flags) in nvlist_set_flags()
376 nvlist_find(const nvlist_t *nvl, int type, const char *name) in nvlist_find()
406 nvlist_exists_type(const nvlist_t *nvl, const char *name, int type) in nvlist_exists_type()
418 nvlist_free_type(nvlist_t *nvl, const char *name, int type) in nvlist_free_type()
434 nvlist_t *
435 nvlist_clone(const nvlist_t *nvl) in nvlist_clone()
437 nvlist_t *newnvl; in nvlist_clone()
464 nvlist_dump_error_check(const nvlist_t *nvl, int fd, int level) in nvlist_dump_error_check()
480 nvlist_dump(const nvlist_t *nvl, int fd) in nvlist_dump()
482 const nvlist_t *tmpnvl; in nvlist_dump()
611 const nvlist_t * const *value; in nvlist_dump()
669 nvlist_fdump(const nvlist_t *nvl, FILE *fp) in nvlist_fdump()
681 nvlist_size(const nvlist_t *nvl) in nvlist_size()
689 nvlist_xdescriptors(const nvlist_t *nvl, int *descs) in nvlist_xdescriptors()
727 const nvlist_t * const *value; in nvlist_xdescriptors()
748 nvlist_descriptors(const nvlist_t *nvl, size_t *nitemsp) in nvlist_descriptors()
767 nvlist_ndescriptors(const nvlist_t *nvl) in nvlist_ndescriptors()
793 const nvlist_t * const *value; in nvlist_ndescriptors()
824 nvlist_pack_header(const nvlist_t *nvl, unsigned char *ptr, size_t *leftp) in nvlist_pack_header()
847 nvlist_xpack(const nvlist_t *nvl, int64_t *fdidxp, size_t *sizep) in nvlist_xpack()
851 const nvlist_t *tmpnvl; in nvlist_xpack()
929 const nvlist_t * const * value; in nvlist_xpack()
1003 nvlist_pack(const nvlist_t *nvl, size_t *sizep) in nvlist_pack()
1052 nvlist_unpack_header(nvlist_t *nvl, const unsigned char *ptr, size_t nfds, in nvlist_unpack_header()
1092 static nvlist_t *
1097 nvlist_t *nvl, *retnvl, *tmpnvl, *array; in nvlist_xunpack()
1169 nvl = __DECONST(nvlist_t *, in nvlist_xunpack()
1196 array = __DECONST(nvlist_t *, in nvlist_xunpack()
1221 nvlist_t *
1230 nvlist_send(int sock, const nvlist_t *nvl) in nvlist_send()
1271 nvlist_t *
1275 nvlist_t *nvl, *ret; in nvlist_recv()
1339 nvlist_t *
1340 nvlist_xfer(int sock, nvlist_t *nvl, int flags) in nvlist_xfer()
1353 nvlist_first_nvpair(const nvlist_t *nvl) in nvlist_first_nvpair()
1362 nvlist_next_nvpair(const nvlist_t *nvl __unused, const nvpair_t *nvp) in nvlist_next_nvpair()
1378 nvlist_prev_nvpair(const nvlist_t *nvl __unused, const nvpair_t *nvp) in nvlist_prev_nvpair()
1393 nvlist_next(const nvlist_t *nvl, int *typep, void **cookiep) in nvlist_next()
1413 nvlist_exists(const nvlist_t *nvl, const char *name) in nvlist_exists()
1421 nvlist_exists_##type(const nvlist_t *nvl, const char *name) \
1445 nvlist_add_nvpair(nvlist_t *nvl, const nvpair_t *nvp) in NVLIST_EXISTS()
1475 nvlist_add_stringf(nvlist_t *nvl, const char *name, const char *valuefmt, ...) in nvlist_add_stringf()
1485 nvlist_add_stringv(nvlist_t *nvl, const char *name, const char *valuefmt, in nvlist_add_stringv()
1505 nvlist_add_null(nvlist_t *nvl, const char *name) in nvlist_add_null()
1524 nvlist_add_binary(nvlist_t *nvl, const char *name, const void *value, in nvlist_add_binary()
1546 nvlist_add_##type(nvlist_t *nvl, const char *name, vtype value) \
1567 NVLIST_ADD(const nvlist_t *, nvlist)
1576 nvlist_add_##type##_array(nvlist_t *nvl, const char *name, vtype value, \
1598 NVLIST_ADD_ARRAY(const nvlist_t * const *, nvlist) in NVLIST_ADD_ARRAY()
1607 nvlist_append_##type##_array(nvlist_t *nvl, const char *name, vtype value)\ in NVLIST_ADD_ARRAY()
1631 NVLIST_APPEND_ARRAY(const nvlist_t *, nvlist, NVLIST)
1639 nvlist_move_nvpair(nvlist_t *nvl, nvpair_t *nvp)
1665 nvlist_move_string(nvlist_t *nvl, const char *name, char *value) in nvlist_move_string()
1685 nvlist_move_nvlist(nvlist_t *nvl, const char *name, nvlist_t *value) in nvlist_move_nvlist()
1707 nvlist_move_descriptor(nvlist_t *nvl, const char *name, int value) in nvlist_move_descriptor()
1728 nvlist_move_binary(nvlist_t *nvl, const char *name, void *value, size_t size) in nvlist_move_binary()
1748 nvlist_move_bool_array(nvlist_t *nvl, const char *name, bool *value, in nvlist_move_bool_array()
1769 nvlist_move_string_array(nvlist_t *nvl, const char *name, char **value, in nvlist_move_string_array()
1795 nvlist_move_nvlist_array(nvlist_t *nvl, const char *name, nvlist_t **value, in nvlist_move_nvlist_array()
1823 nvlist_move_number_array(nvlist_t *nvl, const char *name, uint64_t *value, in nvlist_move_number_array()
1845 nvlist_move_descriptor_array(nvlist_t *nvl, const char *name, int *value, in nvlist_move_descriptor_array()
1873 nvlist_get_nvpair(const nvlist_t *nvl, const char *name) in nvlist_get_nvpair()
1881 nvlist_get_##type(const nvlist_t *nvl, const char *name) \
1894 NVLIST_GET(const nvlist_t *, nvlist, NVLIST) in NVLIST_GET()
1902 nvlist_get_binary(const nvlist_t *nvl, const char *name, size_t *sizep) in NVLIST_GET()
1915 nvlist_get_##type##_array(const nvlist_t *nvl, const char *name, \
1929 NVLIST_GET_ARRAY(const nvlist_t * const *, nvlist, NVLIST) in NVLIST_GET_ARRAY()
1938 nvlist_take_##type(nvlist_t *nvl, const char *name) \ in NVLIST_GET_ARRAY()
1955 NVLIST_TAKE(nvlist_t *, nvlist, NVLIST)
1963 nvlist_take_binary(nvlist_t *nvl, const char *name, size_t *sizep)
1980 nvlist_take_##type##_array(nvlist_t *nvl, const char *name, \
1998 NVLIST_TAKE_ARRAY(nvlist_t **, nvlist, NVLIST) in NVLIST_TAKE_ARRAY()
2004 nvlist_remove_nvpair(nvlist_t *nvl, nvpair_t *nvp) in NVLIST_TAKE_ARRAY()
2016 nvlist_free(nvlist_t *nvl, const char *name) in nvlist_free()
2024 nvlist_free_##type(nvlist_t *nvl, const char *name) \
2048 nvlist_free_nvpair(nvlist_t *nvl, nvpair_t *nvp) in NVLIST_FREE()