Searched refs:lruhash (Results 1 – 10 of 10) sorted by relevance
| /src/contrib/unbound/util/storage/ |
| H A D | lruhash.h | 147 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, 324 void lruhash_update_space_max(struct lruhash* table, void* cb_override, [all …]
|
| H A D | lruhash.c | 61 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 D | slabhash.h | 65 struct lruhash** array; 189 struct lruhash* slabhash_gettable(struct slabhash* table, hashvalue_type hash);
|
| H A D | slabhash.c | 59 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()
|
| /src/contrib/unbound/ |
| H A D | Makefile.in | 132 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 \ 483 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \ 728 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \ 735 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/storag… 743 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/storag… 750 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/m… 753 …$(srcdir)/util/data/msgreply.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/u… 759 …$(srcdir)/sldns/rrdef.h $(srcdir)/util/data/msgparse.h $(srcdir)/util/storage/lruhash.h $(srcdir)/… 767 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/p… [all …]
|
| /src/lib/libunbound/ |
| H A D | Makefile | 21 localzone.c locks.c log.c lookup3.c lruhash.c mesh.c mini_event.c \
|
| /src/contrib/unbound/contrib/ |
| H A D | unbound-fuzzme.patch | 93 + $(srcdir)/util/storage/slabhash.h $(srcdir)/util/storage/lruhash.h $(srcdir)/services/listen_dnsp…
|
| /src/contrib/unbound/services/cache/ |
| H A D | rrset.c | 101 struct lruhash* table = slabhash_gettable(&r->table, hash); in rrset_cache_touch()
|
| /src/contrib/unbound/daemon/ |
| H A D | cachedump.c | 147 dump_lruhash(struct lruhash* table, in dump_lruhash()
|
| /src/contrib/unbound/doc/ |
| H A D | Changelog | 46 - Fix unbound-control dump_cache for double unlock of lruhash table. 1058 - Fix comment in lruhash space function. 1059 - Fix to add unit test for lruhash space that exercises the routines. 2909 - Merge #399 from xiangbao227: The lock of lruhash table should 5935 - fixup for lruhash (whitespace and header file comment). 8731 - faster lruhash get_mem routine. 11492 - removed is_locked param from lruhash delkeyfunc. 12603 Uses lruhash entry overflow chain next pointer in alloc cache. 12696 - util/storage/lruhash.h for LRU hash table structure.
|