• Home
  • Raw
  • Download

Lines Matching refs:PREV_INUSE

1202     The P (PREV_INUSE) bit, stored in the unused low-order bit of the
1303 /* size field is or'ed with PREV_INUSE when previous adjacent chunk in use */
1305 #define PREV_INUSE 0x1
1313 #define SIZE_BITS (PREV_INUSE|IS_MMAPPED)
1318 #define next_chunk(p) ((mchunkptr)( ((char*)(p)) + ((p)->size & ~PREV_INUSE) ))
1340 ((((mchunkptr)(((char*)(p))+((p)->size & ~PREV_INUSE)))->size) & PREV_INUSE)
1344 #define prev_inuse(p) ((p)->size & PREV_INUSE)
1353 ((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size |= PREV_INUSE
1356 ((mchunkptr)(((char*)(p)) + ((p)->size & ~PREV_INUSE)))->size &= ~(PREV_INUSE)
1361 (((mchunkptr)(((char*)(p)) + (s)))->size & PREV_INUSE)
1364 (((mchunkptr)(((char*)(p)) + (s)))->size |= PREV_INUSE)
1367 (((mchunkptr)(((char*)(p)) + (s)))->size &= ~(PREV_INUSE))
1382 #define set_head_size(p, s) ((p)->size = (((p)->size & PREV_INUSE) | (s)))
1599 INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
1620 INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
1685 INTERNAL_SIZE_T sz = p->size & ~PREV_INUSE;
1967 set_head(top, top_size | PREV_INUSE);
1999 set_head(top, top_size | PREV_INUSE);
2010 set_head(top, PREV_INUSE); /* will force null return from malloc */
2018 SIZE_SZ|PREV_INUSE;
2020 SIZE_SZ|PREV_INUSE;
2194 set_head(victim, nb | PREV_INUSE);
2196 set_head(remainder, remainder_size | PREV_INUSE);
2257 set_head(victim, nb | PREV_INUSE);
2260 set_head(remainder, remainder_size | PREV_INUSE);
2329 set_head(victim, nb | PREV_INUSE);
2331 set_head(top, remainder_size | PREV_INUSE);
2395 sz = hd & ~PREV_INUSE;
2403 if (!(hd & PREV_INUSE)) /* consolidate backward */
2411 set_head(p, sz | PREV_INUSE);
2422 if (!(hd & PREV_INUSE)) /* consolidate backward */
2448 set_head(p, sz | PREV_INUSE);
2573 set_head(top, (newsize - nb) | PREV_INUSE);
2615 set_head(top, (newsize - nb) | PREV_INUSE);
2677 set_head(remainder, remainder_size | PREV_INUSE);
2784 set_head(newp, newsize | PREV_INUSE);
2800 set_head(remainder, remainder_size | PREV_INUSE);
2980 set_head(top, top_size | PREV_INUSE);
2989 set_head(top, (top_size - extra) | PREV_INUSE);