Home
last modified time | relevance | path

Searched refs:key_cache (Results 1 – 11 of 11) sorted by relevance

/src/contrib/unbound/validator/
H A Dval_kcache.h54 struct key_cache { struct
64 struct key_cache* key_cache_create(struct config_file* cfg); argument
70 void key_cache_delete(struct key_cache* kcache);
81 void key_cache_insert(struct key_cache* kcache, struct key_entry_key* kkey,
91 void key_cache_remove(struct key_cache* kcache,
107 struct key_entry_key* key_cache_obtain(struct key_cache* kcache,
116 size_t key_cache_get_mem(struct key_cache* kcache);
H A Dval_kcache.c49 struct key_cache*
52 struct key_cache* kcache = (struct key_cache*)calloc(1, in key_cache_create()
74 key_cache_delete(struct key_cache* kcache) in key_cache_delete()
83 key_cache_insert(struct key_cache* kcache, struct key_entry_key* kkey, in key_cache_insert()
106 key_cache_search(struct key_cache* kcache, uint8_t* name, size_t namelen, in key_cache_search()
123 key_cache_obtain(struct key_cache* kcache, uint8_t* name, size_t namelen, in key_cache_obtain()
152 key_cache_get_mem(struct key_cache* kcache) in key_cache_get_mem()
157 void key_cache_remove(struct key_cache* kcache, in key_cache_remove()
H A Dvalidator.h50 struct key_cache;
83 struct key_cache* kcache;
H A Dvalidator.c192 if (env->key_cache) in val_apply_cfg()
193 val_env->kcache = env->key_cache; in val_apply_cfg()
200 env->key_cache = val_env->kcache; in val_apply_cfg()
273 env->key_cache = NULL; in val_deinit()
H A Dautotrust.c2415 key_cache_remove(env->key_cache, qinfo.qname, qinfo.qname_len, in probe_anchor()
/src/contrib/unbound/util/
H A Dmodule.h162 struct key_cache;
348 struct key_cache* key_cache; member
/src/tools/tools/netmap/
H A Dpkt_hash.c89 uint32_t key_cache[KEY_CACHE_LEN]; in build_byte_cache() local
91 build_sym_key_cache(key_cache, KEY_CACHE_LEN); in build_byte_cache()
99 byte_cache[j][i] ^= key_cache[8 * i + k]; in build_byte_cache()
/src/contrib/unbound/daemon/
H A Dstats.c308 if(worker->env.key_cache) in server_stats_compile()
309 s->svr.key_cache_count = (long long)count_slabhash_entries(worker->env.key_cache->slab); in server_stats_compile()
H A Dremote.c2352 if(worker->env.key_cache) { in do_flush_zone()
2353 slabhash_traverse(worker->env.key_cache->slab, 1, in do_flush_zone()
2432 if(worker->env.key_cache) { in do_flush_bogus()
2433 slabhash_traverse(worker->env.key_cache->slab, 1, in do_flush_bogus()
2520 if(worker->env.key_cache) { in do_flush_negative()
2521 slabhash_traverse(worker->env.key_cache->slab, 1, in do_flush_negative()
6192 if(env->key_cache && in fr_adjust_cache()
6194 slabhash_adjust_size(env->key_cache->slab, in fr_adjust_cache()
/src/contrib/unbound/iterator/
H A Diter_utils.c924 if(env->key_cache) { in iter_indicates_dnssec()
925 struct key_entry_key* kk = key_cache_obtain(env->key_cache, in iter_indicates_dnssec()
/src/contrib/unbound/pythonmod/
H A Dinterface.i724 struct key_cache* key_cache;