Home
last modified time | relevance | path

Searched refs:lruhash (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/unbound/util/storage/
H A Dlruhash.h147 struct lruhash { struct
240 struct lruhash* lruhash_create(size_t start_size, size_t maxmem,
249 void lruhash_delete(struct lruhash* table);
256 void lruhash_clear(struct lruhash* table);
274 void lruhash_insert(struct lruhash* table, hashvalue_type hash,
290 struct lruhash_entry* lruhash_lookup(struct lruhash* table,
299 void lru_touch(struct lruhash* table, struct lruhash_entry* entry);
304 void lruhash_setmarkdel(struct lruhash* table, lruhash_markdelfunc_type md);
314 void lruhash_update_space_used(struct lruhash* table, void* cb_override,
326 void lru_demote(struct lruhash* table, struct lruhash_entry* entry);
[all …]
H A Dlruhash.c61 struct lruhash*
67 struct lruhash* table = (struct lruhash*)calloc(1, in lruhash_create()
68 sizeof(struct lruhash)); in lruhash_create()
99 bin_delete(struct lruhash* table, struct lruhash_bin* bin) in bin_delete()
118 bin_split(struct lruhash* table, struct lruhash_bin* newa, in bin_split()
154 lruhash_delete(struct lruhash* table) in lruhash_delete()
183 reclaim_space(struct lruhash* table, struct lruhash_entry** list) in reclaim_space()
219 bin_find_entry(struct lruhash* table, in bin_find_entry()
236 table_grow(struct lruhash* table) in table_grow()
271 lru_front(struct lruhash* table, struct lruhash_entry* entry) in lru_front()
[all …]
H A Dslabhash.c59 sl->array = (struct lruhash**)calloc(sl->size, sizeof(struct lruhash*)); in slabhash_create()
179 total += sizeof(struct lruhash*)*sl->size; in slabhash_get_mem()
186 struct lruhash* slabhash_gettable(struct slabhash* sl, hashvalue_type hash) in slabhash_gettable()
H A Dslabhash.h65 struct lruhash** array;
189 struct lruhash* slabhash_gettable(struct slabhash* table, hashvalue_type hash);
/freebsd/contrib/unbound/
H A DMakefile.in132 util/storage/lruhash.c util/storage/slabhash.c util/tcp_conn_limit.c \
149 random.lo rbtree.lo regional.lo rtt.lo dnstree.lo lookup3.lo lruhash.lo \
479 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
719 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
726 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/storag…
734 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/storag…
740 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/m…
743 …$(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/u…
749 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/sldns/pkthd…
754 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/p…
[all …]
/freebsd/lib/libunbound/
H A DMakefile21 listen_dnsport.c localzone.c locks.c log.c lookup3.c lruhash.c \
/freebsd/contrib/unbound/daemon/
H A Dcachedump.c104 dump_rrset_lruhash(RES* ssl, struct lruhash* h, time_t now) in dump_rrset_lruhash()
252 dump_msg_lruhash(RES* ssl, struct worker* worker, struct lruhash* h) in dump_msg_lruhash()
/freebsd/contrib/unbound/contrib/
H A Dunbound-fuzzme.patch93 + $(srcdir)/util/storage/slabhash.h $(srcdir)/util/storage/lruhash.h $(srcdir)/services/listen_dnsp…
/freebsd/contrib/unbound/services/cache/
H A Drrset.c99 struct lruhash* table = slabhash_gettable(&r->table, hash); in rrset_cache_touch()
/freebsd/contrib/unbound/doc/
H A DChangelog526 - Fix comment in lruhash space function.
527 - Fix to add unit test for lruhash space that exercises the routines.
2377 - Merge #399 from xiangbao227: The lock of lruhash table should
5403 - fixup for lruhash (whitespace and header file comment).
8199 - faster lruhash get_mem routine.
10960 - removed is_locked param from lruhash delkeyfunc.
12071 Uses lruhash entry overflow chain next pointer in alloc cache.
12164 - util/storage/lruhash.h for LRU hash table structure.