key_cache
if(env->key_cache) {
struct key_entry_key* kk = key_cache_obtain(env->key_cache,
struct key_cache;
struct key_cache* key_cache;
key_cache_remove(env->key_cache, qinfo.qname, qinfo.qname_len,
key_cache_search(struct key_cache* kcache, uint8_t* name, size_t namelen,
key_cache_obtain(struct key_cache* kcache, uint8_t* name, size_t namelen,
key_cache_get_mem(struct key_cache* kcache)
void key_cache_remove(struct key_cache* kcache,
struct key_cache*
struct key_cache* kcache = (struct key_cache*)calloc(1,
key_cache_delete(struct key_cache* kcache)
key_cache_insert(struct key_cache* kcache, struct key_entry_key* kkey,
struct key_entry_key* key_cache_obtain(struct key_cache* kcache,
size_t key_cache_get_mem(struct key_cache* kcache);
struct key_cache* key_cache_create(struct config_file* cfg);
void key_cache_delete(struct key_cache* kcache);
void key_cache_insert(struct key_cache* kcache, struct key_entry_key* kkey,
void key_cache_remove(struct key_cache* kcache,
if (env->key_cache)
val_env->kcache = env->key_cache;
env->key_cache = val_env->kcache;
env->key_cache = NULL;
struct key_cache;
struct key_cache* kcache;
res->ctx->env->key_cache != unified_key_cache ||
res->ctx->env->key_cache = unified_key_cache;
res->ctx->env->key_cache != unified_key_cache ||
res->ctx->env->key_cache = NULL;
ctx->env->key_cache == NULL || ctx->env->neg_cache == NULL)
unified_key_cache = ctx->env->key_cache;
ctx->env->key_cache = NULL;
struct key_cache *unified_key_cache;
if(worker->env.key_cache) {
slabhash_traverse(worker->env.key_cache->slab, 1,
if(worker->env.key_cache) {
slabhash_traverse(worker->env.key_cache->slab, 1,
if(worker->env.key_cache) {
slabhash_traverse(worker->env.key_cache->slab, 1,
if(env->key_cache &&
slabhash_adjust_size(env->key_cache->slab,
if(worker->env.key_cache)
s->svr.key_cache_count = (long long)count_slabhash_entries(worker->env.key_cache->slab);
if(env->key_cache) {
struct key_entry_key* kk = key_cache_obtain(env->key_cache,
struct key_cache;
struct key_cache* key_cache;
key_cache_remove(env->key_cache, qinfo.qname, qinfo.qname_len,
key_cache_search(struct key_cache* kcache, uint8_t* name, size_t namelen,
key_cache_obtain(struct key_cache* kcache, uint8_t* name, size_t namelen,
key_cache_get_mem(struct key_cache* kcache)
void key_cache_remove(struct key_cache* kcache,
struct key_cache*
struct key_cache* kcache = (struct key_cache*)calloc(1,
key_cache_delete(struct key_cache* kcache)
key_cache_insert(struct key_cache* kcache, struct key_entry_key* kkey,
struct key_entry_key* key_cache_obtain(struct key_cache* kcache,
size_t key_cache_get_mem(struct key_cache* kcache);
struct key_cache* key_cache_create(struct config_file* cfg);
void key_cache_delete(struct key_cache* kcache);
void key_cache_insert(struct key_cache* kcache, struct key_entry_key* kkey,
void key_cache_remove(struct key_cache* kcache,
if (env->key_cache)
val_env->kcache = env->key_cache;
env->key_cache = val_env->kcache;
env->key_cache = NULL;
struct key_cache;
struct key_cache* kcache;