Home
last modified time | relevance | path

Searched refs:acache (Results 1 – 21 of 21) sorted by relevance

/freebsd-9-stable/contrib/bind9/lib/dns/
Dacache.c46 #define DNS_ACACHE_VALID(acache) ISC_MAGIC_VALID(acache, ACACHE_MAGIC) argument
58 "acache %p: %s", acache, (m))
135 dns_acache_t *acache; member
213 dns_acache_t *acache; member
244 static inline isc_boolean_t check_noentry(dns_acache_t *acache);
245 static void destroy(dns_acache_t *acache);
246 static void shutdown_entries(dns_acache_t *acache);
247 static void shutdown_buckets(dns_acache_t *acache);
249 static inline void unlink_dbentries(dns_acache_t *acache,
251 static inline isc_result_t finddbent(dns_acache_t *acache,
[all …]
Drdataset.c687 dns_acache_t *acache, in dns_rdataset_getadditional() argument
705 if (acache != NULL && rdataset->methods->getadditional != NULL) { in dns_rdataset_getadditional()
707 qtype, acache, in dns_rdataset_getadditional()
720 dns_acache_t *acache, in dns_rdataset_setadditional() argument
730 if (acache != NULL && rdataset->methods->setadditional != NULL) { in dns_rdataset_setadditional()
732 qtype, acache, zone, in dns_rdataset_setadditional()
741 dns_rdataset_putadditional(dns_acache_t *acache, in dns_rdataset_putadditional() argument
749 if (acache != NULL && rdataset->methods->putadditional != NULL) { in dns_rdataset_putadditional()
750 return ((rdataset->methods->putadditional)(acache, rdataset, in dns_rdataset_putadditional()
Dview.c123 view->acache = NULL; in dns_view_create()
333 if (view->acache != NULL) { in destroy()
335 dns_acache_putdb(view->acache, view->cachedb); in destroy()
336 dns_acache_detach(&view->acache); in destroy()
345 INSIST(view->acache == NULL); in destroy()
513 if (view->acache != NULL) in view_flushanddetach()
514 dns_acache_shutdown(view->acache); in view_flushanddetach()
770 if (view->acache != NULL) in dns_view_setcache2()
771 dns_acache_putdb(view->acache, view->cachedb); in dns_view_setcache2()
781 if (view->acache != NULL) in dns_view_setcache2()
[all …]
DMakefile.in59 DNSOBJS = acache.@O@ acl.@O@ adb.@O@ byaddr.@O@ \
89 DNSSRCS = acache.c acl.c adb.c byaddr.c \
Drbtdb.c641 dns_acache_t *acache,
652 dns_acache_t *acache,
658 static isc_result_t rdataset_putadditional(dns_acache_t *acache,
9024 dns_rdatatype_t qtype, dns_acache_t *acache, in rdataset_getadditional() argument
9034 UNUSED(acache); in rdataset_getadditional()
9058 UNUSED(acache); in rdataset_getadditional()
9087 dns_acache_countquerymiss(acache); in rdataset_getadditional()
9093 dns_acache_countquerymiss(acache); in rdataset_getadditional()
9188 dns_rdatatype_t qtype, dns_acache_t *acache, in rdataset_setadditional() argument
9197 UNUSED(acache); in rdataset_setadditional()
[all …]
Dzone.c298 dns_acache_t *acache; member
962 zone->acache = NULL; in dns_zone_create()
1093 if (zone->acache != NULL) in zone_free()
1094 dns_acache_detach(&zone->acache); in zone_free()
1431 dns_zone_setacache(dns_zone_t *zone, dns_acache_t *acache) { in dns_zone_setacache() argument
1433 REQUIRE(acache != NULL); in dns_zone_setacache()
1436 if (zone->acache != NULL) in dns_zone_setacache()
1437 dns_acache_detach(&zone->acache); in dns_zone_setacache()
1438 dns_acache_attach(acache, &zone->acache); in dns_zone_setacache()
1449 result = dns_acache_setdb(acache, zone->db); in dns_zone_setacache()
[all …]
/freebsd-9-stable/contrib/bind9/lib/dns/include/dns/
Dacache.h234 dns_acache_setcleaninginterval(dns_acache_t *acache, unsigned int t);
241 dns_acache_setcachesize(dns_acache_t *acache, size_t size);
247 dns_acache_setdb(dns_acache_t *acache, dns_db_t *db);
266 dns_acache_putdb(dns_acache_t *acache, dns_db_t *db);
286 dns_acache_shutdown(dns_acache_t *acache);
296 dns_acache_createentry(dns_acache_t *acache, dns_db_t *origdb,
372 dns_acache_setentry(dns_acache_t *acache, dns_acacheentry_t *entry,
441 dns_acache_countquerymiss(dns_acache_t *acache);
Drdataset.h93 dns_acache_t *acache,
104 dns_acache_t *acache,
110 isc_result_t (*putadditional)(dns_acache_t *acache,
555 dns_acache_t *acache,
591 dns_acache_t *acache,
619 dns_rdataset_putadditional(dns_acache_t *acache,
DMakefile.in24 HEADERS = acache.h acl.h adb.h bit.h byaddr.h cache.h callbacks.h cert.h \
Dview.h95 dns_acache_t * acache; member
Dzone.h1830 dns_zone_setacache(dns_zone_t *zone, dns_acache_t *acache);
/freebsd-9-stable/contrib/bind9/doc/misc/
Doptions54 acache-cleaning-interval <integer>;
55 acache-enable <boolean>;
162 max-acache-size <size_no_default>;
293 acache-cleaning-interval <integer>;
294 acache-enable <boolean>;
391 max-acache-size <size_no_default>;
/freebsd-9-stable/lib/bind/dns/
DMakefile15 SRCS+= acache.c acl.c adb.c byaddr.c \
47 DNSINCS= ${SRCDIR}/include/dns/acache.h \
/freebsd-9-stable/contrib/bind9/bin/named/include/named/
Dserver.h107 dns_acache_t *acache; member
/freebsd-9-stable/crypto/heimdal/lib/krb5/
DMakefile.am68 acache.c \
DMakefile.in129 dist_libkrb5_la_OBJECTS = libkrb5_la-acache.lo libkrb5_la-acl.lo \
624 acache.c \
1038 libkrb5_la-acache.lo: acache.c
1039 …PFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libkrb5_la-acache.lo `test -f 'acache.c' || echo '$(srcdir)/'…
/freebsd-9-stable/kerberos5/lib/libkrb5/
DMakefile269 SRCS= acache.c \
/freebsd-9-stable/contrib/bind9/bin/named/
Dserver.c2188 CHECK(dns_acache_create(&view->acache, cmctx, ns_g_taskmgr, in configure_view()
2193 if (view->acache != NULL) { in configure_view()
2197 dns_acache_setcleaninginterval(view->acache, in configure_view()
2222 dns_acache_setcachesize(view->acache, max_acache_size); in configure_view()
4087 if (view->acache != NULL) in configure_zone()
4088 dns_zone_setacache(zone, view->acache); in configure_zone()
4097 if (view->acache != NULL) in configure_zone()
4098 dns_zone_setacache(zone, view->acache); in configure_zone()
4155 if (view->acache != NULL) in configure_zone()
4156 dns_zone_setacache(raw, view->acache); in configure_zone()
[all …]
Dquery.c1662 (void)dns_rdataset_putadditional(client->view->acache, rdataset_base, in query_discardcache()
1721 if (qtype != dns_rdatatype_a || client->view->acache == NULL) { in query_addadditional2()
1781 type, client->view->acache, &zone, in query_addadditional2()
1846 type, client->view->acache, in query_addadditional2()
1869 type, client->view->acache, zone, db, in query_addadditional2()
1929 type, client->view->acache, NULL, in query_addadditional2()
1974 type, client->view->acache, in query_addadditional2()
2085 type, client->view->acache, in query_addadditional2()
/freebsd-9-stable/contrib/bind9/
DHISTORY89 Implemented "additional section caching (or acache)", an
DCHANGES1683 3580. [bug] Addressed a possible race in acache.c [RT #33602]
1753 3555. [bug] Address theoretical race conditions in acache.c
1756 3553. [bug] Address suspected double free in acache. [RT #33252]
1855 3505. [bug] When setting "max-cache-size" and "max-acache-size",
2103 3405. [bug] Handle time going backwards in acache. [RT #31253]
5705 2326. [bug] It was possible to trigger a INSIST in the acache
5920 "max-acache-size" defaults to 16M.
6189 2170. [func] Add acache processing to test suite. [RT #16711]
6231 2159. [bug] Array bounds overrun in acache processing. [RT #16710]
6565 2045. [func] Use lock buckets for acache entries to limit memory
[all …]