Home
last modified time | relevance | path

Searched refs:dict_hdl_t (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libpool/common/
H A Ddict.h34 typedef struct dict_hdl dict_hdl_t; typedef
46 extern void dict_free(dict_hdl_t **);
47 extern uint64_t dict_length(dict_hdl_t *);
48 extern dict_hdl_t *dict_new(int (*)(const void *, const void *),
55 extern void *dict_get(dict_hdl_t *, const void *);
56 extern void *dict_put(dict_hdl_t *, const void *, void *);
57 extern void *dict_remove(dict_hdl_t *, const void *);
59 extern void dict_map(dict_hdl_t *,
H A Ddict.c236 dict_length(dict_hdl_t *hdl) in dict_length()
245 dict_free(dict_hdl_t **hdl) in dict_free()
267 dict_hdl_t *
271 dict_hdl_t *hdl; in dict_new()
273 if ((hdl = calloc(1, sizeof (dict_hdl_t))) == NULL) in dict_new()
291 dict_get(dict_hdl_t *hdl, const void *key) in dict_get()
309 dict_put(dict_hdl_t *hdl, const void *key, void *value) in dict_put()
339 dict_remove(dict_hdl_t *hdl, const void *key) in dict_remove()
369 dict_map(dict_hdl_t *hdl, void (*apply)(const void *, void **, void *), in dict_map()
H A Dpool_kernel_impl.h167 dict_hdl_t *pkc_elements; /* Elements */
169 dict_hdl_t *pkc_leaks; /* Elements */
H A Dpool_kernel.c695 dict_hdl_t *dead_map = (dict_hdl_t *)cl; in find_dead_elems()
718 dict_hdl_t *dead_map; in pool_knl_update()
2218 dict_hdl_t *map = (dict_hdl_t *)cl; in pool_knl_elem_printf_cb()
H A Dpool_internal.c57 static dict_hdl_t *_pv_atoms; /* pool_value_t atoms */