Home
last modified time | relevance | path

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

/openbmc/u-boot/common/
H A Ddlmalloc.c357 #define MALLOC_ALIGN_MASK (MALLOC_ALIGNMENT - 1) macro
368 (((long)((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) < \
369 (long)(MINSIZE + MALLOC_ALIGN_MASK)) ? MINSIZE : \
370 (((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) & ~(MALLOC_ALIGN_MASK)))
374 #define aligned_OK(m) (((unsigned long)((m)) & (MALLOC_ALIGN_MASK)) == 0)
766 assert((sz & MALLOC_ALIGN_MASK) == 0);
827 assert((sz & MALLOC_ALIGN_MASK) == 0);
1112 front_misalign = (unsigned long)chunk2mem(brk) & MALLOC_ALIGN_MASK;
1150 old_top_size = (old_top_size - 3*SIZE_SZ) & ~MALLOC_ALIGN_MASK;
H A Ddlmalloc.src1276 #define MALLOC_ALIGN_MASK (MALLOC_ALIGNMENT - 1)
1287 (((long)((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) < \
1288 (long)(MINSIZE + MALLOC_ALIGN_MASK)) ? MINSIZE : \
1289 (((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) & ~(MALLOC_ALIGN_MASK)))
1293 #define aligned_OK(m) (((unsigned long)((m)) & (MALLOC_ALIGN_MASK)) == 0)
1631 assert((sz & MALLOC_ALIGN_MASK) == 0);
1692 assert((sz & MALLOC_ALIGN_MASK) == 0);
1977 front_misalign = (unsigned long)chunk2mem(brk) & MALLOC_ALIGN_MASK;
2015 old_top_size = (old_top_size - 3*SIZE_SZ) & ~MALLOC_ALIGN_MASK;