Home
last modified time | relevance | path

Searched refs:thmap (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/sys/kern/
H A Dsubr_thmap.c229 struct thmap { struct
262 gc_alloc(const thmap_t *thmap, size_t len) in gc_alloc() argument
265 const uintptr_t gcaddr = thmap->ops->alloc(alloclen); in gc_alloc()
270 thmap_gc_t *const gc = THMAP_GETPTR(thmap, gcaddr); in gc_alloc()
272 return THMAP_GETOFF(thmap, &gc->data[0]); in gc_alloc()
276 gc_free(const thmap_t *thmap, uintptr_t addr, size_t len) in gc_free() argument
279 char *const ptr = THMAP_GETPTR(thmap, addr); in gc_free()
281 const uintptr_t gcaddr = THMAP_GETOFF(thmap, gc); in gc_free()
285 thmap, thmap->ops, (void *)addr, len, gc, gc->len); in gc_free()
286 thmap->ops->free(gcaddr, alloclen); in gc_free()
[all …]
/netbsd-src/sys/sys/
H A Dthmap.h36 struct thmap;
37 typedef struct thmap thmap_t;
/netbsd-src/sys/net/
H A Dif_wg.c82 #include <sys/thmap.h>
702 struct thmap *wg_peers_bypubkey;
703 struct thmap *wg_peers_byname;
704 struct thmap *wg_sessions_byindex;
/netbsd-src/share/man/man9/
H A DMakefile64 tcp_congctl.9 thmap.9 threadpool.9 timecounter.9 time_second.9 todr.9 \