Lines Matching refs:PREV_INUSE

316     The P (PREV_INUSE) bit, stored in the unused low-order bit of the
413 /* size field is or'ed with PREV_INUSE when previous adjacent chunk in use */
415 #define PREV_INUSE 0x1
423 #define SIZE_BITS (PREV_INUSE|IS_MMAPPED)
428 #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->size & ~PREV_INUSE) ))
450 ((((mchunkptr)(((char*)(p))+((p)->size & ~PREV_INUSE)))->size) & PREV_INUSE)
454 #define prev_inuse(p) ((p)->size & PREV_INUSE)
463 ((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size |= PREV_INUSE
466 ((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size &= ~(PREV_INUSE)
471 (((mchunkptr)(((char*)(p)) + (s)))->size & PREV_INUSE)
474 (((mchunkptr)(((char*)(p)) + (s)))->size |= PREV_INUSE)
477 (((mchunkptr)(((char*)(p)) + (s)))->size &= ~(PREV_INUSE))
492 #define set_head_size(p, s) ((p)->size = (((p)->size & PREV_INUSE) | (s)))
789 INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
810 INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
875 INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
1154 set_head(top, top_size | PREV_INUSE);
1186 set_head(top, top_size | PREV_INUSE);
1197 set_head(top, PREV_INUSE); /* will force null return from malloc */
1205 SIZE_SZ|PREV_INUSE;
1207 SIZE_SZ|PREV_INUSE;
1400 set_head(victim, nb | PREV_INUSE);
1402 set_head(remainder, remainder_size | PREV_INUSE);
1465 set_head(victim, nb | PREV_INUSE);
1468 set_head(remainder, remainder_size | PREV_INUSE);
1540 set_head(victim, nb | PREV_INUSE);
1542 set_head(top, remainder_size | PREV_INUSE);
1616 sz = hd & ~PREV_INUSE;
1625 if (!(hd & PREV_INUSE)) /* consolidate backward */
1633 set_head(p, sz | PREV_INUSE);
1644 if (!(hd & PREV_INUSE)) /* consolidate backward */
1670 set_head(p, sz | PREV_INUSE);
1807 set_head(top, (newsize - nb) | PREV_INUSE);
1854 set_head(top, (newsize - nb) | PREV_INUSE);
1922 set_head(remainder, remainder_size | PREV_INUSE);
2079 set_head(newp, newsize | PREV_INUSE);
2096 set_head(remainder, remainder_size | PREV_INUSE);
2374 set_head(top, top_size | PREV_INUSE);
2383 set_head(top, (top_size - extra) | PREV_INUSE);