Searched refs:acache (Results 1 - 14 of 14) sorted by relevance

/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dacache.c17 /* $Id: acache.c,v 1.22 2008/02/07 23:46:54 tbox Exp $ */
35 #include <dns/acache.h>
46 #define DNS_ACACHE_VALID(acache) ISC_MAGIC_VALID(acache, ACACHE_MAGIC)
58 "acache %p: %s", acache, (m))
63 "acache %p: %s", (a), (m))
102 /* Locked by acache lock */
135 dns_acache_t *acache; member in struct:acache_cleaner
150 Locked by acache loc
213 dns_acache_t *acache; member in struct:dns_acacheentry
270 reset_stats(dns_acache_t *acache) argument
286 check_noentry(dns_acache_t *acache) argument
298 shutdown_entries(dns_acache_t *acache) argument
339 shutdown_buckets(dns_acache_t *acache) argument
365 dns_acache_t *acache; local
386 unlink_dbentries(dns_acache_t *acache, dns_acacheentry_t *ent) argument
411 dns_acache_t *acache; local
430 destroy(dns_acache_t *acache) argument
463 finddbent(dns_acache_t *acache, dns_db_t *db, dbentry_t **dbentryp) argument
494 clear_entry(dns_acache_t *acache, dns_acacheentry_t *entry) argument
539 acache_cleaner_init(dns_acache_t *acache, isc_timermgr_t *timermgr, acache_cleaner_t *cleaner) argument
628 dns_acache_t *acache = cleaner->acache; local
664 dns_acache_t *acache = cleaner->acache; local
805 dns_acache_t *acache = cleaner->acache; local
967 dns_acache_t *acache = arg; local
997 dns_acache_t *acache = event->ev_arg; local
1048 dns_acache_t *acache; local
1165 dns_acache_countquerymiss(dns_acache_t *acache) argument
1172 dns_acache_t *acache; local
1202 dns_acache_shutdown(dns_acache_t *acache) argument
1234 dns_acache_setdb(dns_acache_t *acache, dns_db_t *db) argument
1281 dns_acache_putdb(dns_acache_t *acache, dns_db_t *db) argument
1373 dns_acache_createentry(dns_acache_t *acache, dns_db_t *origdb, void (*callback)(dns_acacheentry_t *, void **), void *cbarg, dns_acacheentry_t **entryp) argument
1453 dns_acache_t *acache; local
1540 dns_acache_setentry(dns_acache_t *acache, dns_acacheentry_t *entry, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, dns_name_t *fname) argument
1666 dns_acache_t *acache; local
1735 dns_acache_setcleaninginterval(dns_acache_t *acache, unsigned int t) argument
1785 dns_acache_setcachesize(dns_acache_t *acache, size_t size) argument
[all...]
H A Drdataset.c687 dns_acache_t *acache,
705 if (acache != NULL && rdataset->methods->getadditional != NULL) {
707 qtype, acache,
720 dns_acache_t *acache,
730 if (acache != NULL && rdataset->methods->setadditional != NULL) {
732 qtype, acache, zone,
741 dns_rdataset_putadditional(dns_acache_t *acache, argument
749 if (acache != NULL && rdataset->methods->putadditional != NULL) {
750 return ((rdataset->methods->putadditional)(acache, rdataset,
684 dns_rdataset_getadditional(dns_rdataset_t *rdataset, dns_rdatasetadditional_t type, dns_rdatatype_t qtype, dns_acache_t *acache, dns_zone_t **zonep, dns_db_t **dbp, dns_dbversion_t **versionp, dns_dbnode_t **nodep, dns_name_t *fname, dns_message_t *msg, isc_stdtime_t now) argument
717 dns_rdataset_setadditional(dns_rdataset_t *rdataset, dns_rdatasetadditional_t type, dns_rdatatype_t qtype, dns_acache_t *acache, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, dns_name_t *fname) argument
H A Dview.c33 #include <dns/acache.h>
125 view->acache = NULL;
334 if (view->acache != NULL) {
336 dns_acache_putdb(view->acache, view->cachedb);
337 dns_acache_detach(&view->acache);
346 INSIST(view->acache == NULL);
512 if (view->acache != NULL)
513 dns_acache_shutdown(view->acache);
768 if (view->acache != NULL)
769 dns_acache_putdb(view->acache, vie
[all...]
H A Drbtdb.c45 #include <dns/acache.h>
509 dns_acache_t *acache,
520 dns_acache_t *acache,
526 static isc_result_t rdataset_putadditional(dns_acache_t *acache,
1216 * acache entries when the node can be freed.
8825 dns_rdatatype_t qtype, dns_acache_t *acache,
8835 UNUSED(acache);
8859 UNUSED(acache);
8888 dns_acache_countquerymiss(acache);
8894 dns_acache_countquerymiss(acache);
8824 rdataset_getadditional(dns_rdataset_t *rdataset, dns_rdatasetadditional_t type, dns_rdatatype_t qtype, dns_acache_t *acache, dns_zone_t **zonep, dns_db_t **dbp, dns_dbversion_t **versionp, dns_dbnode_t **nodep, dns_name_t *fname, dns_message_t *msg, isc_stdtime_t now) argument
8988 rdataset_setadditional(dns_rdataset_t *rdataset, dns_rdatasetadditional_t type, dns_rdatatype_t qtype, dns_acache_t *acache, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node, dns_name_t *fname) argument
9135 rdataset_putadditional(dns_acache_t *acache, dns_rdataset_t *rdataset, dns_rdatasetadditional_t type, dns_rdatatype_t qtype) argument
[all...]
H A Dzone.c44 #include <dns/acache.h>
299 dns_acache_t *acache; member in struct:dns_zone
923 zone->acache = NULL;
1044 if (zone->acache != NULL)
1045 dns_acache_detach(&zone->acache);
1382 dns_zone_setacache(dns_zone_t *zone, dns_acache_t *acache) { argument
1384 REQUIRE(acache != NULL);
1387 if (zone->acache != NULL)
1388 dns_acache_detach(&zone->acache);
1389 dns_acache_attach(acache,
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Dacache.h17 /* $Id: acache.h,v 1.8 2007/06/19 23:47:16 tbox Exp $ */
206 * 'acache' is a valid additional cache.
234 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);
249 * Set 'db' in 'acache' when the db can be referred from acache, in order
253 * 'acache' is a valid acache pointer.
257 * 'acache' wil
[all...]
H A Drdataset.h93 dns_acache_t *acache,
104 dns_acache_t *acache,
110 isc_result_t (*putadditional)(dns_acache_t *acache,
554 dns_acache_t *acache,
571 * \li 'acache' can be NULL, in which case this function will simply return
590 dns_acache_t *acache,
603 * \li 'acache' can be NULL, in which case this function will simply return
618 dns_rdataset_putadditional(dns_acache_t *acache,
629 * \li 'acache' can be NULL, in which case this function will simply return
H A Dview.h95 dns_acache_t * acache; member in struct:dns_view
H A Dzone.h1811 dns_zone_setacache(dns_zone_t *zone, dns_acache_t *acache);
1817 * 'acache' to be a non NULL pointer.
1820 * 'zone' will have a reference to 'acache'
/freebsd-9.3-release/lib/bind/dns/
H A DMakefile15 SRCS+= acache.c acl.c adb.c byaddr.c \
47 DNSINCS= ${SRCDIR}/include/dns/acache.h \
/freebsd-9.3-release/contrib/bind9/bin/named/include/named/
H A Dserver.h108 dns_acache_t *acache; member in struct:ns_server
/freebsd-9.3-release/kerberos5/lib/libkrb5/
H A DMakefile269 SRCS= acache.c \
/freebsd-9.3-release/contrib/bind9/bin/named/
H A Dserver.c60 #include <dns/acache.h>
2154 (void)ns_config_get(maps, "acache-enable", &obj);
2158 CHECK(dns_acache_create(&view->acache, cmctx, ns_g_taskmgr,
2160 isc_mem_setname(cmctx, "acache", NULL);
2163 if (view->acache != NULL) {
2165 result = ns_config_get(maps, "acache-cleaning-interval", &obj);
2167 dns_acache_setcleaninginterval(view->acache,
2171 result = ns_config_get(maps, "max-acache-size", &obj);
2183 "'max-acache-size "
2192 dns_acache_setcachesize(view->acache, max_acache_siz
[all...]
H A Dquery.c1622 (void)dns_rdataset_putadditional(client->view->acache, rdataset_base,
1681 if (qtype != dns_rdatatype_a || client->view->acache == NULL) {
1741 type, client->view->acache, &zone,
1802 type, client->view->acache,
1825 type, client->view->acache, zone, db,
1885 type, client->view->acache, NULL,
1928 type, client->view->acache,
2039 type, client->view->acache,

Completed in 296 milliseconds