Lines Matching refs:thmap_t
238 static void stage_mem_gc(thmap_t *, uintptr_t, size_t);
262 gc_alloc(const thmap_t *thmap, size_t len)
276 gc_free(const thmap_t *thmap, uintptr_t addr, size_t len)
393 hashval_getleafslot(const thmap_t *thmap,
405 hashval_getl0slot(const thmap_t *thmap, const thmap_query_t *query,
415 key_cmp_p(const thmap_t *thmap, const thmap_leaf_t *leaf,
427 node_create(thmap_t *thmap, thmap_inode_t *parent)
488 leaf_create(const thmap_t *thmap, const void *key, size_t len, void *val)
521 leaf_free(const thmap_t *thmap, thmap_leaf_t *leaf)
530 get_leaf(const thmap_t *thmap, thmap_inode_t *parent, unsigned slot)
553 root_try_put(thmap_t *thmap, const thmap_query_t *query, thmap_leaf_t *leaf)
603 find_edge_node(const thmap_t *thmap, thmap_query_t *query,
651 find_edge_node_locked(const thmap_t *thmap, thmap_query_t *query,
694 thmap_get(thmap_t *thmap, const void *key, size_t len)
723 thmap_put(thmap_t *thmap, const void *key, size_t len, void *val)
853 thmap_del(thmap_t *thmap, const void *key, size_t len)
962 stage_mem_gc(thmap_t *thmap, uintptr_t addr, size_t len)
983 thmap_stage_gc(thmap_t *thmap)
991 thmap_gc(thmap_t *thmap, void *ref)
1005 thmap_t *
1008 thmap_t *thmap;
1017 thmap = kmem_zalloc(sizeof(thmap_t), KM_SLEEP);
1026 kmem_free(thmap, sizeof(thmap_t));
1039 thmap_setroot(thmap_t *thmap, uintptr_t root_off)
1049 thmap_getroot(const thmap_t *thmap)
1055 thmap_destroy(thmap_t *thmap)
1066 kmem_free(thmap, sizeof(thmap_t));