g_pool
g_pool->func = "calloc():";
if (g_pool->active++) {
g_pool->active--;
r = find(g_pool, p);
g_pool->func = "realloc():";
if (g_pool->active++) {
g_pool->active--;
p = mapalign(g_pool, alignment, psz, zero_fill);
if (insert(g_pool, p, sz)) {
unmap(g_pool, p, psz, 0);
g_pool->func = "aligned_alloc():";
if (g_pool->active++) {
g_pool->active--;
struct dir_info *g_pool; /* Main bookkeeping information */
#define g_pool mopts.g_pool
if (g_pool != NULL && g_pool->func != NULL)
_dl_die("%s error: %s", g_pool->func, msg);
g_pool = d;
p = map(g_pool, psz, zero_fill);
if (insert(g_pool, p, sz)) {
unmap(g_pool, p, psz, 0);
p = malloc_bytes(g_pool, sz);
g_pool->active--;
g_pool->func = "malloc():";
if (g_pool->active++) {
g_pool->active--;
r = find(g_pool, p);
unmap(g_pool, p, PAGEROUND(sz), MALLOC_JUNK);
delete(g_pool, r);
find_chunknum(g_pool, r, p, CHUNK_CANARIES);
if (p == g_pool->delayed_chunks[i])
i = getrbyte(g_pool) & MALLOC_DELAYED_CHUNK_MASK;
p = g_pool->delayed_chunks[i];
g_pool->delayed_chunks[i] = tmp;
validate_junk(g_pool, p);
r = find(g_pool, p);
free_bytes(g_pool, r, p);
if (g_pool == NULL)
g_pool->func = "free():";
if (g_pool->active++) {
g_pool->active--;