Home
last modified time | relevance | path

Searched refs:prevfree (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libmalloc/common/
H A Dmallint.h62 struct header *prevfree; member
116 #define ADDFREEQ(x) (x)->prevfree = &(freeptr[0]);\
118 freeptr[0].nextfree->prevfree = (x);\
121 assert((x)->prevfree != (x));
122 #define DELFREEQ(x) (x)->prevfree->nextfree = (x)->nextfree;\
123 (x)->nextfree->prevfree = (x)->prevfree;\
125 assert((x)->prevfree != (x));
126 #define MOVEHEAD(x) freeptr[1].prevfree->nextfree = freeptr[0].nextfree;\
127 freeptr[0].nextfree->prevfree = \
128 freeptr[1].prevfree;\
[all …]
H A Dmalloc.c163 assert(p->prevfree->nextfree == p); in checkq()
169 p = p->prevfree; in checkq()
170 assert(p->nextfree->prevfree == p); in checkq()
323 freeptr[1].prevfree = &(freeptr[0]); in malloc_unlocked()
1120 assert(blk->prevfree >= freeptr); in check_arena()
1122 assert(blk->prevfree <= lastblk); in check_arena()
1125 assert(((uintptr_t)((struct header *)blk->prevfree) & in check_arena()
1126 7) == 0 || blk->prevfree == freeptr); in check_arena()