Lines Matching defs:mctx
48 static isc_mem_t *mctx = NULL;
70 RUNTIME_CHECK(isc_log_create(mctx, &lctx, &lcfg) == ISC_R_SUCCESS);
215 mctx = NULL;
216 RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
218 RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
219 RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
245 RUNTIME_CHECK(isc_taskmgr_create(mctx, workers, 0, &taskmgr) ==
253 RUNTIME_CHECK(dns_dispatchmgr_create(mctx, NULL, &dispatchmgr)
257 RUNTIME_CHECK(isc_timermgr_create(mctx, &timermgr) == ISC_R_SUCCESS);
259 RUNTIME_CHECK(isc_socketmgr_create(mctx, &socketmgr) == ISC_R_SUCCESS);
262 RUNTIME_CHECK(dns_cache_create(mctx, taskmgr, timermgr,
267 RUNTIME_CHECK(dns_view_create(mctx, dns_rdataclass_in, "default",
349 RUNTIME_CHECK(isc_app_onrun(mctx, task, run, NULL) == ISC_R_SUCCESS);
370 isc_mem_stats(mctx, stdout);
371 isc_mem_destroy(&mctx);