/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | acache.c | 17 /* $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 D | rdataset.c | 687 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 D | view.c | 33 #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 D | rbtdb.c | 45 #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 D | zone.c | 44 #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 D | acache.h | 17 /* $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 D | rdataset.h | 93 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 D | view.h | 95 dns_acache_t * acache; member in struct:dns_view
|
H A D | zone.h | 1811 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 D | Makefile | 15 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 D | server.h | 108 dns_acache_t *acache; member in struct:ns_server
|
/freebsd-9.3-release/kerberos5/lib/libkrb5/ |
H A D | Makefile | 269 SRCS= acache.c \
|
/freebsd-9.3-release/contrib/bind9/bin/named/ |
H A D | server.c | 60 #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 D | query.c | 1622 (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,
|