Home
last modified time | relevance | path

Searched refs:BLOCK_HEAD (Results 1 - 4 of 4) sorted by relevance

/third_party/musl/src/malloc/oldmalloc/
H A Dmalloc.c665 size_t align_start_up = (SIZE_ALIGN-1) & (-(uintptr_t)start - BLOCK_HEAD); in __malloc_donate()
675 if (end - start <= BLOCK_HEAD + align_start_up + align_end_down) in __malloc_donate()
677 start += align_start_up + BLOCK_HEAD; in __malloc_donate()
H A Dmalloc_impl.h76 #define BLOCK_HEAD (sizeof(struct heap_block) + OVERHEAD) macro
/third_party/musl/porting/liteos_a/user_debug/src/malloc/oldmalloc/
H A Dmalloc.c610 size_t align_start_up = (SIZE_ALIGN-1) & (-(uintptr_t)start - BLOCK_HEAD); in __malloc_donate()
616 if (end - start <= BLOCK_HEAD + align_start_up + align_end_down) in __malloc_donate()
618 start += align_start_up + BLOCK_HEAD; in __malloc_donate()
H A Dmalloc_impl.h67 #define BLOCK_HEAD (sizeof(struct heap_block) + OVERHEAD) macro

Completed in 3 milliseconds