Searched refs:thmap_t (Results 1 – 7 of 7) sorted by relevance
| /netbsd-src/sys/sys/ |
| H A D | thmap.h | 37 typedef struct thmap thmap_t; typedef 47 thmap_t * thmap_create(uintptr_t, const thmap_ops_t *, unsigned); 48 void thmap_destroy(thmap_t *); 50 void * thmap_get(thmap_t *, const void *, size_t); 51 void * thmap_put(thmap_t *, const void *, size_t, void *); 52 void * thmap_del(thmap_t *, const void *, size_t); 54 void * thmap_stage_gc(thmap_t *); 55 void thmap_gc(thmap_t *, void *); 57 int thmap_setroot(thmap_t *, uintptr_t); 58 uintptr_t thmap_getroot(const thmap_t *);
|
| /netbsd-src/sys/kern/ |
| H A D | subr_thmap.c | 238 static void stage_mem_gc(thmap_t *, uintptr_t, size_t); 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() [all …]
|
| /netbsd-src/sys/netinet/ |
| H A D | ip_encap.c | 144 static thmap_t *encap_map[2]; /* 0 for AF_INET, 1 for AF_INET6 */ 202 thmap_t *emap = encap_map[0]; in encap4_lookup() 364 thmap_t *emap = encap_map[1]; in encap6_lookup() 644 thmap_t *emap; in encap_attach_addr() 808 thmap_t *emap; in encap_detach_addr()
|
| /netbsd-src/sys/net/npf/ |
| H A D | npf_params.c | 49 thmap_t * map;
|
| H A D | npf_conndb.c | 69 thmap_t * cd_map;
|
| H A D | npf_portmap.c | 102 thmap_t * addr_map;
|
| H A D | npf_tableset.c | 84 thmap_t * t_map;
|