Lines Matching defs:hmctx
123 isc_mem_t *hmctx; /* Heap memory */
192 dns_cache_create3(isc_mem_t *cmctx, isc_mem_t *hmctx, isc_taskmgr_t *taskmgr,
205 REQUIRE(hmctx != NULL);
212 cache->mctx = cache->hmctx = NULL;
214 isc_mem_attach(hmctx, &cache->hmctx);
250 * For databases of type "rbt" we pass hmctx to dns_db_create()
271 cache->db_argv[0] = (char *) hmctx;
345 isc_mem_detach(&cache->hmctx);
384 * as it's a pointer to hmctx
409 isc_mem_detach(&cache->hmctx);
1425 (isc_uint64_t) isc_mem_total(cache->hmctx),
1428 (isc_uint64_t) isc_mem_inuse(cache->hmctx),
1431 (isc_uint64_t) isc_mem_maxinuse(cache->hmctx),
1483 TRY0(renderstat("HeapMemTotal", isc_mem_total(cache->hmctx), writer));
1484 TRY0(renderstat("HeapMemInUse", isc_mem_inuse(cache->hmctx), writer));
1485 TRY0(renderstat("HeapMemMax", isc_mem_maxinuse(cache->hmctx), writer));
1555 obj = json_object_new_int64(isc_mem_total(cache->hmctx));
1559 obj = json_object_new_int64(isc_mem_inuse(cache->hmctx));
1563 obj = json_object_new_int64(isc_mem_maxinuse(cache->hmctx));