mchunkptr 2075 src/utils/dlmalloc.c typedef struct malloc_chunk* mchunkptr; mchunkptr 2102 src/utils/dlmalloc.c #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES)) mchunkptr 2104 src/utils/dlmalloc.c #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A))) mchunkptr 2149 src/utils/dlmalloc.c #define chunk_plus_offset(p, s) ((mchunkptr)(((char*)(p)) + (s))) mchunkptr 2150 src/utils/dlmalloc.c #define chunk_minus_offset(p, s) ((mchunkptr)(((char*)(p)) - (s))) mchunkptr 2153 src/utils/dlmalloc.c #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->head & ~FLAG_BITS))) mchunkptr 2154 src/utils/dlmalloc.c #define prev_chunk(p) ((mchunkptr)( ((char*)(p)) - ((p)->prev_foot) )) mchunkptr 2160 src/utils/dlmalloc.c #define get_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot) mchunkptr 2161 src/utils/dlmalloc.c #define set_foot(p, s) (((mchunkptr)((char*)(p) + (s)))->prev_foot = (s)) mchunkptr 2462 src/utils/dlmalloc.c mchunkptr dv; mchunkptr 2463 src/utils/dlmalloc.c mchunkptr top; mchunkptr 2467 src/utils/dlmalloc.c mchunkptr smallbins[(NSMALLBINS+1)*2]; mchunkptr 2676 src/utils/dlmalloc.c static void do_check_any_chunk(mstate m, mchunkptr p); mchunkptr 2677 src/utils/dlmalloc.c static void do_check_top_chunk(mstate m, mchunkptr p); mchunkptr 2678 src/utils/dlmalloc.c static void do_check_mmapped_chunk(mstate m, mchunkptr p); mchunkptr 2679 src/utils/dlmalloc.c static void do_check_inuse_chunk(mstate m, mchunkptr p); mchunkptr 2680 src/utils/dlmalloc.c static void do_check_free_chunk(mstate m, mchunkptr p); mchunkptr 2686 src/utils/dlmalloc.c static int bin_find(mstate m, mchunkptr x); mchunkptr 2923 src/utils/dlmalloc.c ((mchunkptr)(((char*)(p)) + (s)))->head |= PINUSE_BIT) mchunkptr 2928 src/utils/dlmalloc.c ((mchunkptr)(((char*)(p)) + (s)))->head |= PINUSE_BIT) mchunkptr 2938 src/utils/dlmalloc.c (((mchunkptr)((char*)(p) + (s)))->prev_foot = ((size_t)(M) ^ mparams.magic)) mchunkptr 2941 src/utils/dlmalloc.c ((mstate)(((mchunkptr)((char*)(p) +\ mchunkptr 2946 src/utils/dlmalloc.c (((mchunkptr)(((char*)(p)) + (s)))->head |= PINUSE_BIT), \ mchunkptr 2951 src/utils/dlmalloc.c (((mchunkptr)(((char*)(p)) + (s)))->head |= PINUSE_BIT),\ mchunkptr 3075 src/utils/dlmalloc.c static void do_check_any_chunk(mstate m, mchunkptr p) { mchunkptr 3081 src/utils/dlmalloc.c static void do_check_top_chunk(mstate m, mchunkptr p) { mchunkptr 3095 src/utils/dlmalloc.c static void do_check_mmapped_chunk(mstate m, mchunkptr p) { mchunkptr 3109 src/utils/dlmalloc.c static void do_check_inuse_chunk(mstate m, mchunkptr p) { mchunkptr 3120 src/utils/dlmalloc.c static void do_check_free_chunk(mstate m, mchunkptr p) { mchunkptr 3122 src/utils/dlmalloc.c mchunkptr next = chunk_plus_offset(p, sz); mchunkptr 3145 src/utils/dlmalloc.c mchunkptr p = mem2chunk(mem); mchunkptr 3170 src/utils/dlmalloc.c do_check_any_chunk(m, ((mchunkptr)u)); mchunkptr 3221 src/utils/dlmalloc.c mchunkptr p = b->bk; mchunkptr 3228 src/utils/dlmalloc.c mchunkptr q; mchunkptr 3243 src/utils/dlmalloc.c static int bin_find(mstate m, mchunkptr x) { mchunkptr 3249 src/utils/dlmalloc.c mchunkptr p = b; mchunkptr 3285 src/utils/dlmalloc.c mchunkptr q = align_as_chunk(s->base); mchunkptr 3286 src/utils/dlmalloc.c mchunkptr lastq = 0; mchunkptr 3353 src/utils/dlmalloc.c mchunkptr q = align_as_chunk(s->base); mchunkptr 3396 src/utils/dlmalloc.c mchunkptr q = align_as_chunk(s->base); mchunkptr 3427 src/utils/dlmalloc.c mchunkptr B = smallbin_at(M, I);\ mchunkptr 3428 src/utils/dlmalloc.c mchunkptr F = B;\ mchunkptr 3445 src/utils/dlmalloc.c mchunkptr F = P->fd;\ mchunkptr 3446 src/utils/dlmalloc.c mchunkptr B = P->bk;\ mchunkptr 3465 src/utils/dlmalloc.c mchunkptr F = P->fd;\ mchunkptr 3487 src/utils/dlmalloc.c mchunkptr DV = M->dv;\ mchunkptr 3684 src/utils/dlmalloc.c mchunkptr p = (mchunkptr)(mm + offset); mchunkptr 3704 src/utils/dlmalloc.c static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb) { mchunkptr 3719 src/utils/dlmalloc.c mchunkptr newp = (mchunkptr)(cp + offset); mchunkptr 3740 src/utils/dlmalloc.c static void init_top(mstate m, mchunkptr p, size_t psize) { mchunkptr 3743 src/utils/dlmalloc.c p = (mchunkptr)((char*)p + offset); mchunkptr 3786 src/utils/dlmalloc.c mchunkptr p = align_as_chunk(newbase); mchunkptr 3787 src/utils/dlmalloc.c mchunkptr oldfirst = align_as_chunk(oldbase); mchunkptr 3789 src/utils/dlmalloc.c mchunkptr q = chunk_plus_offset(p, nb); mchunkptr 3836 src/utils/dlmalloc.c mchunkptr sp = (mchunkptr)csp; mchunkptr 3838 src/utils/dlmalloc.c mchunkptr tnext = chunk_plus_offset(sp, ssize); mchunkptr 3839 src/utils/dlmalloc.c mchunkptr p = tnext; mchunkptr 3843 src/utils/dlmalloc.c init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); mchunkptr 3856 src/utils/dlmalloc.c mchunkptr nextp = chunk_plus_offset(p, SIZE_T_SIZE); mchunkptr 3868 src/utils/dlmalloc.c mchunkptr q = (mchunkptr)old_top; mchunkptr 3870 src/utils/dlmalloc.c mchunkptr tn = chunk_plus_offset(q, psize); mchunkptr 4023 src/utils/dlmalloc.c init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); mchunkptr 4028 src/utils/dlmalloc.c mchunkptr mn = next_chunk(mem2chunk(m)); mchunkptr 4067 src/utils/dlmalloc.c mchunkptr p = m->top; mchunkptr 4068 src/utils/dlmalloc.c mchunkptr r = m->top = chunk_plus_offset(p, nb); mchunkptr 4095 src/utils/dlmalloc.c mchunkptr p = align_as_chunk(base); mchunkptr 4250 src/utils/dlmalloc.c mchunkptr r = chunk_plus_offset(v, nb); mchunkptr 4288 src/utils/dlmalloc.c mchunkptr r = chunk_plus_offset(v, nb); mchunkptr 4315 src/utils/dlmalloc.c mchunkptr oldp = mem2chunk(oldmem); mchunkptr 4317 src/utils/dlmalloc.c mchunkptr next = chunk_plus_offset(oldp, oldsize); mchunkptr 4318 src/utils/dlmalloc.c mchunkptr newp = 0; mchunkptr 4332 src/utils/dlmalloc.c mchunkptr remainder = chunk_plus_offset(newp, nb); mchunkptr 4342 src/utils/dlmalloc.c mchunkptr newtop = chunk_plus_offset(oldp, nb); mchunkptr 4407 src/utils/dlmalloc.c mchunkptr p = mem2chunk(mem); mchunkptr 4425 src/utils/dlmalloc.c mchunkptr newp = (mchunkptr)pos; mchunkptr 4446 src/utils/dlmalloc.c mchunkptr remainder = chunk_plus_offset(p, nb); mchunkptr 4489 src/utils/dlmalloc.c mchunkptr p; /* corresponding chunk */ mchunkptr 4492 src/utils/dlmalloc.c mchunkptr array_chunk; /* chunk for malloced ptr array */ mchunkptr 4642 src/utils/dlmalloc.c mchunkptr b, p; mchunkptr 4656 src/utils/dlmalloc.c mchunkptr b, p, r; mchunkptr 4699 src/utils/dlmalloc.c mchunkptr p = gm->dv; mchunkptr 4701 src/utils/dlmalloc.c mchunkptr r = gm->dv = chunk_plus_offset(p, nb); mchunkptr 4719 src/utils/dlmalloc.c mchunkptr p = gm->top; mchunkptr 4720 src/utils/dlmalloc.c mchunkptr r = gm->top = chunk_plus_offset(p, nb); mchunkptr 4747 src/utils/dlmalloc.c mchunkptr p = mem2chunk(mem); mchunkptr 4761 src/utils/dlmalloc.c mchunkptr next = chunk_plus_offset(p, psize); mchunkptr 4771 src/utils/dlmalloc.c mchunkptr prev = chunk_minus_offset(p, prevsize); mchunkptr 4951 src/utils/dlmalloc.c mchunkptr p = mem2chunk(mem); mchunkptr 4964 src/utils/dlmalloc.c mchunkptr mn; mchunkptr 4965 src/utils/dlmalloc.c mchunkptr msp = align_as_chunk(tbase); mchunkptr 5077 src/utils/dlmalloc.c mchunkptr b, p; mchunkptr 5091 src/utils/dlmalloc.c mchunkptr b, p, r; mchunkptr 5134 src/utils/dlmalloc.c mchunkptr p = ms->dv; mchunkptr 5136 src/utils/dlmalloc.c mchunkptr r = ms->dv = chunk_plus_offset(p, nb); mchunkptr 5154 src/utils/dlmalloc.c mchunkptr p = ms->top; mchunkptr 5155 src/utils/dlmalloc.c mchunkptr r = ms->top = chunk_plus_offset(p, nb); mchunkptr 5176 src/utils/dlmalloc.c mchunkptr p = mem2chunk(mem); mchunkptr 5191 src/utils/dlmalloc.c mchunkptr next = chunk_plus_offset(p, psize); mchunkptr 5201 src/utils/dlmalloc.c mchunkptr prev = chunk_minus_offset(p, prevsize); mchunkptr 5306 src/utils/dlmalloc.c mchunkptr p = mem2chunk(oldmem); mchunkptr 5412 src/utils/dlmalloc.c mchunkptr p = mem2chunk(mem);