Searched refs:sizefunc (Results 1 – 5 of 5) sorted by relevance
| /NextBSD/contrib/unbound/util/storage/ |
| HD | lruhash.c | 62 lruhash_create(size_t start_size, size_t maxmem, lruhash_sizefunc_t sizefunc, in lruhash_create() argument 71 table->sizefunc = sizefunc; in lruhash_create() 208 table->space_used -= table->sizefunc(d->key, d->data); in reclaim_space() 305 fptr_ok(fptr_whitelist_hash_sizefunc(table->sizefunc)); in lruhash_insert() 310 need_size = table->sizefunc(entry->key, data); in lruhash_insert() 329 (*table->sizefunc)(found->key, found->data); in lruhash_insert() 382 fptr_ok(fptr_whitelist_hash_sizefunc(table->sizefunc)); in lruhash_remove() 400 table->space_used -= (*table->sizefunc)(entry->key, entry->data); in lruhash_remove()
|
| HD | lruhash.h | 151 lruhash_sizefunc_t sizefunc; member 239 lruhash_sizefunc_t sizefunc, lruhash_compfunc_t compfunc,
|
| HD | slabhash.c | 49 size_t maxmem, lruhash_sizefunc_t sizefunc, in slabhash_create() argument 78 sizefunc, compfunc, delkeyfunc, deldatafunc, arg); in slabhash_create()
|
| HD | slabhash.h | 83 size_t maxmem, lruhash_sizefunc_t sizefunc,
|
| /NextBSD/contrib/unbound/doc/ |
| HD | Changelog | 5739 - msgreply sizefunc is more accurate.
|