Lines Matching refs:cache
33 #include <dns/cache.h>
129 view->cache = NULL;
295 if (view->cache != NULL)
296 dns_cache_detach(&view->cache);
639 dns_view_setcache(dns_view_t *view, dns_cache_t *cache) {
643 if (view->cache != NULL) {
647 dns_cache_detach(&view->cache);
649 dns_cache_attach(cache, &view->cache);
650 dns_cache_attachdb(cache, &view->cachedb);
803 * Either the answer is in the cache, or we
812 * We don't have the data in the cache. If we've got
836 * We found an answer, but the cache may be better.
837 * Remember what we've got and go look in the cache.
1032 * We have a cache; try it.
1063 * We found an answer, but the cache may be better.
1088 * We found a zonecut in the cache, but our
1096 * We didn't find anything in the cache, but we
1324 result = dns_cache_flush(view->cache);
1330 dns_cache_attachdb(view->cache, &view->cachedb);
1347 if (view->cache == NULL)
1351 return (dns_cache_flushname(view->cache, name));