Searched refs:hmctx (Results 1 - 4 of 4) sorted by relevance

/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/
H A Dcache.h74 dns_cache_create3(isc_mem_t *cmctx, isc_mem_t *hmctx, isc_taskmgr_t *taskmgr,
93 *\li 'cmctx' (and 'hmctx' if applicable) is a valid memory context.
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dcache.c127 isc_mem_t *hmctx; /* Heap memory */ member in struct:dns_cache
195 dns_cache_create3(isc_mem_t *cmctx, isc_mem_t *hmctx, isc_taskmgr_t *taskmgr, argument
208 REQUIRE(hmctx != NULL);
215 cache->mctx = cache->hmctx = NULL;
217 isc_mem_attach(hmctx, &cache->hmctx);
247 * For databases of type "rbt" we pass hmctx to dns_db_create()
268 cache->db_argv[0] = (char *) hmctx;
333 isc_mem_detach(&cache->hmctx);
372 * as it's a pointer to hmctx
[all...]
H A Drbtdb.c445 * or for zone resigning in a zone DB. hmctx is the memory
449 isc_mem_t * hmctx; member in struct:dns_rbtdb
967 isc_mem_put(rbtdb->hmctx, rbtdb->heaps,
990 isc_mem_detach(&rbtdb->hmctx);
7547 isc_mem_t *hmctx = mctx; local
7560 hmctx = (isc_mem_t *) argv[0];
7626 rbtdb->heaps = isc_mem_get(hmctx, rbtdb->node_lock_count *
7636 result = isc_heap_create(hmctx, sooner, set_index, 0,
7680 isc_mem_attach(hmctx, &rbtdb->hmctx);
[all...]
/freebsd-9.3-release/contrib/bind9/bin/named/
H A Dserver.c2087 isc_mem_t *cmctx = NULL, *hmctx = NULL; local
2637 CHECK(isc_mem_create(0, 0, &hmctx));
2638 isc_mem_setname(hmctx, "cache_heap", NULL);
2639 CHECK(dns_cache_create3(cmctx, hmctx, ns_g_taskmgr,
2644 isc_mem_detach(&hmctx);
3451 if (hmctx != NULL)
3452 isc_mem_detach(&hmctx);

Completed in 128 milliseconds