Lines Matching defs:thmap
229 struct thmap { struct
231 atomic_thmap_ptr_t * root; argument
233 const thmap_ops_t * ops; argument
234 thmap_gc_t * gc_list; // C11 _Atomic argument
238 static void stage_mem_gc(thmap_t *, uintptr_t, size_t); argument
262 gc_alloc(const thmap_t *thmap, size_t len) in gc_alloc()
276 gc_free(const thmap_t *thmap, uintptr_t addr, size_t len) in gc_free()
393 hashval_getleafslot(const thmap_t *thmap, in hashval_getleafslot()
405 hashval_getl0slot(const thmap_t *thmap, const thmap_query_t *query, in hashval_getl0slot()
415 key_cmp_p(const thmap_t *thmap, const thmap_leaf_t *leaf, in key_cmp_p()
427 node_create(thmap_t *thmap, thmap_inode_t *parent) in node_create()
488 leaf_create(const thmap_t *thmap, const void *key, size_t len, void *val) in leaf_create()
521 leaf_free(const thmap_t *thmap, thmap_leaf_t *leaf) in leaf_free()
530 get_leaf(const thmap_t *thmap, thmap_inode_t *parent, unsigned slot) in get_leaf()
553 root_try_put(thmap_t *thmap, const thmap_query_t *query, thmap_leaf_t *leaf) in root_try_put()
603 find_edge_node(const thmap_t *thmap, thmap_query_t *query, in find_edge_node()
651 find_edge_node_locked(const thmap_t *thmap, thmap_query_t *query, in find_edge_node_locked()
694 thmap_get(thmap_t *thmap, const void *key, size_t len) in thmap_get()
723 thmap_put(thmap_t *thmap, const void *key, size_t len, void *val) in thmap_put()
853 thmap_del(thmap_t *thmap, const void *key, size_t len) in thmap_del()
962 stage_mem_gc(thmap_t *thmap, uintptr_t addr, size_t len) in stage_mem_gc()
983 thmap_stage_gc(thmap_t *thmap) in thmap_stage_gc()
991 thmap_gc(thmap_t *thmap, void *ref) in thmap_gc()
1008 thmap_t *thmap; in thmap_create() local
1039 thmap_setroot(thmap_t *thmap, uintptr_t root_off) in thmap_setroot()
1049 thmap_getroot(const thmap_t *thmap) in thmap_getroot()
1055 thmap_destroy(thmap_t *thmap) in thmap_destroy()