Home
last modified time | relevance | path

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

/external/u-boot/common/
Ddlmalloc.c355 #define SIZE_SZ (sizeof(INTERNAL_SIZE_T)) macro
356 #define MALLOC_ALIGNMENT (SIZE_SZ + SIZE_SZ)
362 #define chunk2mem(p) ((Void_t*)((char*)(p) + 2*SIZE_SZ))
363 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - 2*SIZE_SZ))
368 (((long)((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) < \
370 (((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) & ~(MALLOC_ALIGN_MASK)))
517 #define bin_at(i) ((mbinptr)((char*)&(av_[2*(i) + 2]) - 2*SIZE_SZ))
779 assert(sz == SIZE_SZ);
949 size = (size + SIZE_SZ + page_mask) & ~page_mask;
1028 new_size = (new_size + offset + SIZE_SZ + page_mask) & ~page_mask;
[all …]
Ddlmalloc.src1274 #define SIZE_SZ (sizeof(INTERNAL_SIZE_T))
1275 #define MALLOC_ALIGNMENT (SIZE_SZ + SIZE_SZ)
1281 #define chunk2mem(p) ((Void_t*)((char*)(p) + 2*SIZE_SZ))
1282 #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - 2*SIZE_SZ))
1287 (((long)((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) < \
1289 (((req) + (SIZE_SZ + MALLOC_ALIGN_MASK)) & ~(MALLOC_ALIGN_MASK)))
1436 #define bin_at(i) ((mbinptr)((char*)&(av_[2*(i) + 2]) - 2*SIZE_SZ))
1643 else /* markers are always of size SIZE_SZ */
1644 assert(sz == SIZE_SZ);
1811 /* For mmapped chunks, the overhead is one SIZE_SZ unit larger, because
[all …]