Home
last modified time | relevance | path

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

/external/u-boot/common/
Ddlmalloc.c386 #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))
[all …]
Ddlmalloc.src1202 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)
[all …]