Home
last modified time | relevance | path

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

/freebsd/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;
82 struct key_cache* kcache;
H A Dvalidator.c144 if (env->key_cache) in val_apply_cfg()
145 val_env->kcache = env->key_cache; in val_apply_cfg()
152 env->key_cache = val_env->kcache; in val_apply_cfg()
235 env->key_cache = NULL; in val_deinit()
H A Dautotrust.c2398 key_cache_remove(env->key_cache, qinfo.qname, qinfo.qname_len, in probe_anchor()
/freebsd/contrib/unbound/util/
H A Dmodule.h162 struct key_cache;
347 struct key_cache* key_cache; member
/freebsd/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()
/freebsd/contrib/unbound/daemon/
H A Dstats.c301 if(worker->env.key_cache) in server_stats_compile()
302 s->svr.key_cache_count = (long long)count_slabhash_entries(worker->env.key_cache->slab); in server_stats_compile()
H A Dremote.c1930 if(worker->env.key_cache) { in do_flush_zone()
1931 slabhash_traverse(worker->env.key_cache->slab, 1, in do_flush_zone()
2010 if(worker->env.key_cache) { in do_flush_bogus()
2011 slabhash_traverse(worker->env.key_cache->slab, 1, in do_flush_bogus()
2096 if(worker->env.key_cache) { in do_flush_negative()
2097 slabhash_traverse(worker->env.key_cache->slab, 1, in do_flush_negative()
/freebsd/contrib/unbound/iterator/
H A Diter_utils.c880 if(env->key_cache) { in iter_indicates_dnssec()
881 struct key_entry_key* kk = key_cache_obtain(env->key_cache, in iter_indicates_dnssec()