Home
last modified time | relevance | path

Searched refs:sizefunc (Results 1 – 5 of 5) sorted by relevance

/NextBSD/contrib/unbound/util/storage/
HDlruhash.c62 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()
HDlruhash.h151 lruhash_sizefunc_t sizefunc; member
239 lruhash_sizefunc_t sizefunc, lruhash_compfunc_t compfunc,
HDslabhash.c49 size_t maxmem, lruhash_sizefunc_t sizefunc, in slabhash_create() argument
78 sizefunc, compfunc, delkeyfunc, deldatafunc, arg); in slabhash_create()
HDslabhash.h83 size_t maxmem, lruhash_sizefunc_t sizefunc,
/NextBSD/contrib/unbound/doc/
HDChangelog5739 - msgreply sizefunc is more accurate.