gm 3016 src/utils/dlmalloc.c gm->mflags = mparams.default_mflags; gm 3017 src/utils/dlmalloc.c INITIAL_LOCK(&gm->mutex); gm 3657 src/utils/dlmalloc.c (m == gm)? dlmalloc(b) : mspace_malloc(m, b) gm 3659 src/utils/dlmalloc.c if (m == gm) dlfree(mem); else mspace_free(m,mem); gm 4631 src/utils/dlmalloc.c if (!PREACTION(gm)) { gm 4639 src/utils/dlmalloc.c smallbits = gm->smallmap >> idx; gm 4644 src/utils/dlmalloc.c b = smallbin_at(gm, idx); gm 4647 src/utils/dlmalloc.c unlink_first_small_chunk(gm, b, p, idx); gm 4648 src/utils/dlmalloc.c set_inuse_and_pinuse(gm, p, small_index2size(idx)); gm 4650 src/utils/dlmalloc.c check_malloced_chunk(gm, mem, nb); gm 4654 src/utils/dlmalloc.c else if (nb > gm->dvsize) { gm 4662 src/utils/dlmalloc.c b = smallbin_at(gm, i); gm 4665 src/utils/dlmalloc.c unlink_first_small_chunk(gm, b, p, i); gm 4669 src/utils/dlmalloc.c set_inuse_and_pinuse(gm, p, small_index2size(i)); gm 4671 src/utils/dlmalloc.c set_size_and_pinuse_of_inuse_chunk(gm, p, nb); gm 4674 src/utils/dlmalloc.c replace_dv(gm, r, rsize); gm 4677 src/utils/dlmalloc.c check_malloced_chunk(gm, mem, nb); gm 4681 src/utils/dlmalloc.c else if (gm->treemap != 0 && (mem = tmalloc_small(gm, nb)) != 0) { gm 4682 src/utils/dlmalloc.c check_malloced_chunk(gm, mem, nb); gm 4691 src/utils/dlmalloc.c if (gm->treemap != 0 && (mem = tmalloc_large(gm, nb)) != 0) { gm 4692 src/utils/dlmalloc.c check_malloced_chunk(gm, mem, nb); gm 4697 src/utils/dlmalloc.c if (nb <= gm->dvsize) { gm 4698 src/utils/dlmalloc.c size_t rsize = gm->dvsize - nb; gm 4699 src/utils/dlmalloc.c mchunkptr p = gm->dv; gm 4701 src/utils/dlmalloc.c mchunkptr r = gm->dv = chunk_plus_offset(p, nb); gm 4702 src/utils/dlmalloc.c gm->dvsize = rsize; gm 4704 src/utils/dlmalloc.c set_size_and_pinuse_of_inuse_chunk(gm, p, nb); gm 4707 src/utils/dlmalloc.c size_t dvs = gm->dvsize; gm 4708 src/utils/dlmalloc.c gm->dvsize = 0; gm 4709 src/utils/dlmalloc.c gm->dv = 0; gm 4710 src/utils/dlmalloc.c set_inuse_and_pinuse(gm, p, dvs); gm 4713 src/utils/dlmalloc.c check_malloced_chunk(gm, mem, nb); gm 4717 src/utils/dlmalloc.c else if (nb < gm->topsize) { /* Split top */ gm 4718 src/utils/dlmalloc.c size_t rsize = gm->topsize -= nb; gm 4719 src/utils/dlmalloc.c mchunkptr p = gm->top; gm 4720 src/utils/dlmalloc.c mchunkptr r = gm->top = chunk_plus_offset(p, nb); gm 4722 src/utils/dlmalloc.c set_size_and_pinuse_of_inuse_chunk(gm, p, nb); gm 4724 src/utils/dlmalloc.c check_top_chunk(gm, gm->top); gm 4725 src/utils/dlmalloc.c check_malloced_chunk(gm, mem, nb); gm 4729 src/utils/dlmalloc.c mem = sys_alloc(gm, nb); gm 4732 src/utils/dlmalloc.c POSTACTION(gm); gm 4755 src/utils/dlmalloc.c #define fm gm gm 4874 src/utils/dlmalloc.c mstate m = gm; gm 4887 src/utils/dlmalloc.c return internal_memalign(gm, alignment, bytes); gm 4893 src/utils/dlmalloc.c return ialloc(gm, n_elements, &sz, 3, chunks); gm 4898 src/utils/dlmalloc.c return ialloc(gm, n_elements, sizes, 0, chunks); gm 4918 src/utils/dlmalloc.c if (!PREACTION(gm)) { gm 4919 src/utils/dlmalloc.c result = sys_trim(gm, pad); gm 4920 src/utils/dlmalloc.c POSTACTION(gm); gm 4926 src/utils/dlmalloc.c return gm->footprint; gm 4930 src/utils/dlmalloc.c return gm->max_footprint; gm 4935 src/utils/dlmalloc.c return internal_mallinfo(gm); gm 4940 src/utils/dlmalloc.c internal_malloc_stats(gm);