Searched refs:mctx (Results 1 – 1 of 1) sorted by relevance
59 struct malloc_ctx *mctx; member86 pool->mctx = (struct malloc_ctx *)v; in init_mpool()87 raw_malloc_init_ctx(pool->mctx); in init_mpool()88 raw_malloc_add_pool(pool->mctx, (void *)pool->data, v - pool->data); in init_mpool()95 if (!pool->mctx) in get_pool()110 pool->mctx = NULL; in put_pool()147 p = raw_malloc(0, 0, size, pool->mctx); in mempool_alloc()152 raw_malloc_get_stats(pool->mctx, &stats); in mempool_alloc()185 raw_free(ptr, pool->mctx, false /*!wipe*/); in mempool_free()