Searched defs:cache (Results 1 - 10 of 10) sorted by relevance

/bind-9.11.3/bin/tests/
H A Dbyaddr_test.c30 #include <dns/cache.h>
85 dns_cache_t *cache; local
133 cache = NULL;
136 &cache) == ISC_R_SUCCESS);
207 dns_view_setcache(view, cache);
210 dns_cache_detach(&cache);
H A Dadb_test.c30 #include <dns/cache.h>
168 dns_cache_t *cache; local
181 cache = NULL;
183 "rbt", 0, NULL, &cache);
185 dns_view_setcache(view, cache);
186 dns_cache_detach(&cache);
H A Dbyname_test.c30 #include <dns/cache.h>
198 dns_cache_t *cache; local
251 cache = NULL;
254 &cache) == ISC_R_SUCCESS);
324 dns_view_setcache(view, cache);
327 dns_cache_detach(&cache);
H A Ddb_test.c115 if (strcasecmp(origintext, "cache") == 0) {
117 printf("the cache does not exist\n");
228 load(const char *filename, const char *origintext, isc_boolean_t cache) { argument
267 cache ? dns_dbtype_cache : dns_dbtype_zone,
284 if (cache) {
384 printf("cache load(%s) %08x: %s\n",
767 (dns_db_iszone(db)) ? "zone" : "cache");
/bind-9.11.3/lib/dns/
H A Dncache.c42 addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
92 dns_ncache_add(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, argument
96 return (addoptout(message, cache, node, covers, now, maxttl,
101 dns_ncache_addoptout(dns_message_t *message, dns_db_t *cache, argument
106 return (addoptout(message, cache, node, covers, now, maxttl,
111 addoptout(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, argument
131 * Convert the authority data from 'message' into a negative cache
132 * rdataset, and store it in 'cache' at 'node'.
146 ncrdatalist.rdclass = dns_db_class(cache);
259 return (dns_db_addrdataset(cache, nod
[all...]
H A Dcache.c9 /* $Id: cache.c,v 1.91 2011/08/26 05:12:56 marka Exp $ */
26 #include <dns/cache.h>
42 #define VALID_CACHE(cache) ISC_MAGIC_VALID(cache, CACHE_MAGIC)
63 * cache cleaning.
84 * Accesses to a cache cleaner object are synchronized through
85 * task/event serialization, or locked from the cache object.
96 dns_cache_t *cache; member in struct:cache_cleaner
109 isc_boolean_t overmem; /*% The cache is in an overmem state. */
114 * The actual cache objec
164 cache_create_db(dns_cache_t *cache, dns_db_t **db) argument
198 dns_cache_t *cache; local
351 cache_free(dns_cache_t *cache) argument
415 dns_cache_attach(dns_cache_t *cache, dns_cache_t **targetp) argument
429 dns_cache_t *cache; local
474 dns_cache_attachdb(dns_cache_t *cache, dns_db_t **dbp) argument
486 dns_cache_setfilename(dns_cache_t *cache, const char *filename) argument
506 dns_cache_load(dns_cache_t *cache) argument
522 dns_cache_dump(dns_cache_t *cache) argument
539 dns_cache_setcleaninginterval(dns_cache_t *cache, unsigned int t) argument
576 dns_cache_getcleaninginterval(dns_cache_t *cache) argument
589 dns_cache_getname(dns_cache_t *cache) argument
601 cache_cleaner_init(dns_cache_t *cache, isc_taskmgr_t *taskmgr, isc_timermgr_t *timermgr, cache_cleaner_t *cleaner) argument
966 dns_cache_clean(dns_cache_t *cache, isc_stdtime_t now) argument
1017 dns_cache_t *cache = arg; local
1038 dns_cache_setcachesize(dns_cache_t *cache, size_t size) argument
1078 dns_cache_getcachesize(dns_cache_t *cache) argument
1095 dns_cache_t *cache = event->ev_arg; local
1134 dns_cache_flush(dns_cache_t *cache) argument
1271 dns_cache_flushname(dns_cache_t *cache, dns_name_t *name) argument
1276 dns_cache_flushnode(dns_cache_t *cache, dns_name_t *name, isc_boolean_t tree) argument
1313 dns_cache_getstats(dns_cache_t *cache) argument
1319 dns_cache_updatestats(dns_cache_t *cache, isc_result_t result) argument
1381 dns_cache_dumpstats(dns_cache_t *cache, FILE *fp) argument
1454 dns_cache_renderxml(dns_cache_t *cache, xmlTextWriterPtr writer) argument
1500 dns_cache_renderjson(dns_cache_t *cache, json_object *cstats) argument
[all...]
H A Dview.c31 #include <dns/cache.h>
141 view->cache = NULL;
412 if (view->cache != NULL)
413 dns_cache_detach(&view->cache);
842 dns_view_setcache(dns_view_t *view, dns_cache_t *cache) { argument
843 dns_view_setcache2(view, cache, ISC_FALSE);
847 dns_view_setcache2(dns_view_t *view, dns_cache_t *cache, isc_boolean_t shared) { argument
852 if (view->cache != NULL) {
856 dns_cache_detach(&view->cache);
858 dns_cache_attach(cache,
[all...]
H A Dresolver.c35 #include <dns/cache.h>
298 dns_db_t * cache; member in struct:fetchctx
506 dns_badcache_t * badcache; /* Bad cache. */
559 dns_db_t *cache, dns_dbnode_t *node,
3901 dns_db_detach(&fctx->cache);
4476 * Attach to the view's cache and adb.
4478 fctx->cache = NULL;
4479 dns_db_attach(res->view->cachedb, &fctx->cache);
4888 * to cache the result anyway (if this was a validation started by
4916 result = dns_db_findnode(fctx->cache,
5873 ncache_adderesult(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node, dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t maxttl, isc_boolean_t optout, isc_boolean_t secure, dns_rdataset_t *ardataset, isc_result_t *eresultp) argument
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dview.h22 * authoritative zones together with an optional cache and optional
26 * the cache, set of zones, and forwarding policy may be set. While
87 dns_cache_t * cache; member in struct:dns_view
247 * OpenBSD does not have a unified buffer cache, which requires both reads and
262 *\li The newly created view has no cache, no resolver, and an empty
411 dns_view_setcache(dns_view_t *view, dns_cache_t *cache);
413 dns_view_setcache2(dns_view_t *view, dns_cache_t *cache, isc_boolean_t shared);
415 * Set the view's cache database. If 'shared' is true, this means the cache
423 *\li 'cache' i
[all...]
/bind-9.11.3/bin/named/
H A Dserver.c58 #include <dns/cache.h>
205 * Maximum ADB size for views that share a cache. Use this limit to suppress
207 * a cache. Only effective when a finite max-cache-size is specified.
220 dns_cache_t *cache; member in struct:ns_cache
241 dns_db_t *cache; member in struct:dumpcontext
1677 strcmp(dns_cache_getname(nsc->cache), cachename) == 0)
1709 * If the cache cannot even reused for the same view, it cannot be
1716 * Check other cache related parameters that must be consistent among
1719 if (dns_cache_getcleaninginterval(originview->cache) !
3261 dns_cache_t *cache = NULL; local
[all...]

Completed in 61 milliseconds