Searched refs:mctx (Results 1 – 1 of 1) sorted by relevance
58 struct malloc_ctx *mctx; member85 pool->mctx = (struct malloc_ctx *)v; in init_mpool()86 raw_malloc_init_ctx(pool->mctx); in init_mpool()87 raw_malloc_add_pool(pool->mctx, (void *)pool->data, v - pool->data); in init_mpool()94 if (!pool->mctx) in get_pool()109 pool->mctx = NULL; in put_pool()146 p = raw_malloc(0, 0, size, pool->mctx); in mempool_alloc()151 raw_malloc_get_stats(pool->mctx, &stats); in mempool_alloc()183 raw_free(ptr, pool->mctx, false /*!wipe*/); in mempool_free()
Completed in 2 milliseconds