Lines Matching refs:memalloc
131 isc_memalloc_t memalloc; member
230 isc_memalloc_t memalloc, isc_memfree_t memfree, void *arg,
234 isc_memalloc_t memalloc, isc_memfree_t memfree, void *arg,
548 table = (ctx->memalloc)(ctx->arg, in more_basic_blocks()
564 new = (ctx->memalloc)(ctx->arg, NUM_BASIC_BLOCKS * ctx->mem_target); in more_basic_blocks()
671 ret = (ctx->memalloc)(ctx->arg, size); in mem_getunlocked()
795 ret = (ctx->memalloc)(ctx->arg, size); in mem_get()
895 isc_memalloc_t memalloc, isc_memfree_t memfree, void *arg, in isc__mem_createx() argument
898 return (isc__mem_createx2(init_max_size, target_size, memalloc, memfree, in isc__mem_createx()
905 isc_memalloc_t memalloc, isc_memfree_t memfree, void *arg, in isc__mem_createx2() argument
912 REQUIRE(memalloc != NULL); in isc__mem_createx2()
919 ctx = (memalloc)(arg, sizeof(*ctx)); in isc__mem_createx2()
953 ctx->memalloc = memalloc; in isc__mem_createx2()
972 ctx->stats = (memalloc)(arg, in isc__mem_createx2()
985 ctx->freelists = (memalloc)(arg, ctx->max_size * in isc__mem_createx2()
999 ctx->debuglist = (memalloc)(arg, in isc__mem_createx2()