Lines Matching defs:acache
42 #include <dns/acache.h>
263 dns_acache_t *acache;
793 zone->acache = NULL;
903 if (zone->acache != NULL)
904 dns_acache_detach(&zone->acache);
1204 dns_zone_setacache(dns_zone_t *zone, dns_acache_t *acache) {
1206 REQUIRE(acache != NULL);
1209 if (zone->acache != NULL)
1210 dns_acache_detach(&zone->acache);
1211 dns_acache_attach(acache, &zone->acache);
1218 * set in the acache explicitly. We can safely ignore the
1220 * the acache will not work effectively.
1222 result = dns_acache_setdb(acache, zone->db);
9894 if (zone->acache != NULL) {
9896 result = dns_acache_setdb(zone->acache, db);
9910 if (zone->acache != NULL)
9911 (void)dns_acache_putdb(zone->acache, zone->db);