Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c158 #define MTMALLOC_MIN_ALIGN 8 /* min guaranteed alignment */ macro
161 #define MAX_MTMALLOC (SIZE_MAX - (SIZE_MAX % MTMALLOC_MIN_ALIGN) \
200 #define OVSZ_SIZE (ALIGN(sizeof (oversize_t), MTMALLOC_MIN_ALIGN))
474 if (alignment <= MTMALLOC_MIN_ALIGN) in memalign()
477 alloc_size = size + alignment - MTMALLOC_MIN_ALIGN; in memalign()
497 (alloc_size & (MTMALLOC_MIN_ALIGN - 1))) in memalign()
498 alloc_size = ALIGN(alloc_size, MTMALLOC_MIN_ALIGN); in memalign()
504 (size + MTMALLOC_MIN_ALIGN + OVSZ_HEADER_SIZE); in memalign()
515 MTMALLOC_MIN_ALIGN); in memalign()
536 assert(shift >= MTMALLOC_MIN_ALIGN); in memalign()
[all …]