Lines Matching defs:hmctx
72 isc_mem_t *hmctx; /* Heap memory */
99 isc_mem_t *tmctx = NULL, *hmctx = NULL;
114 isc_mem_create(&hmctx);
115 isc_mem_setname(hmctx, "cache_heap");
120 * hmctx to dns_db_create() via argv[0].
122 argv[0] = (char *)hmctx;
145 *hmctxp = hmctx;
153 isc_mem_detach(&hmctx);
164 if (cache->hmctx != NULL) {
165 isc_mem_detach(&cache->hmctx);
201 &cache->hmctx);
345 isc_mem_t *hmctx = NULL, *oldhmctx;
348 result = cache_create_db(cache, &db, &tmctx, &hmctx);
355 oldhmctx = cache->hmctx;
356 cache->hmctx = hmctx;
651 fprintf(fp, "%20" PRIu64 " %s\n", (uint64_t)isc_mem_inuse(cache->hmctx),
710 TRY0(renderstat("HeapMemInUse", isc_mem_inuse(cache->hmctx), writer));
784 obj = json_object_new_int64(isc_mem_inuse(cache->hmctx));