• Home
  • Raw
  • Download

Lines Matching refs:PREV_INUSE

386 #define PREV_INUSE 0x1  macro
394 #define SIZE_BITS (PREV_INUSE|IS_MMAPPED)
399 #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->size & ~PREV_INUSE) ))
421 ((((mchunkptr)(((char*)(p))+((p)->size & ~PREV_INUSE)))->size) & PREV_INUSE)
425 #define prev_inuse(p) ((p)->size & PREV_INUSE)
434 ((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size |= PREV_INUSE
437 ((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size &= ~(PREV_INUSE)
442 (((mchunkptr)(((char*)(p)) + (s)))->size & PREV_INUSE)
445 (((mchunkptr)(((char*)(p)) + (s)))->size |= PREV_INUSE)
448 (((mchunkptr)(((char*)(p)) + (s)))->size &= ~(PREV_INUSE))
463 #define set_head_size(p, s) ((p)->size = (((p)->size & PREV_INUSE) | (s)))
734 INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
755 INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
820 INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
1102 set_head(top, top_size | PREV_INUSE);
1134 set_head(top, top_size | PREV_INUSE);
1145 set_head(top, PREV_INUSE); /* will force null return from malloc */
1153 SIZE_SZ|PREV_INUSE;
1155 SIZE_SZ|PREV_INUSE;
1340 set_head(victim, nb | PREV_INUSE);
1342 set_head(remainder, remainder_size | PREV_INUSE);
1403 set_head(victim, nb | PREV_INUSE);
1406 set_head(remainder, remainder_size | PREV_INUSE);
1475 set_head(victim, nb | PREV_INUSE);
1477 set_head(top, remainder_size | PREV_INUSE);
1547 sz = hd & ~PREV_INUSE;
1555 if (!(hd & PREV_INUSE)) /* consolidate backward */
1563 set_head(p, sz | PREV_INUSE);
1574 if (!(hd & PREV_INUSE)) /* consolidate backward */
1600 set_head(p, sz | PREV_INUSE);
1736 set_head(top, (newsize - nb) | PREV_INUSE);
1778 set_head(top, (newsize - nb) | PREV_INUSE);
1840 set_head(remainder, remainder_size | PREV_INUSE);
1995 set_head(newp, newsize | PREV_INUSE);
2011 set_head(remainder, remainder_size | PREV_INUSE);
2201 set_head(top, top_size | PREV_INUSE);
2210 set_head(top, (top_size - extra) | PREV_INUSE);