Home
last modified time | relevance | path

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

/freebsd/stand/libsa/
H A Dzalloc_malloc.c78 bytes += MALLOCALIGN + 1; in Malloc_align()
80 bytes += MALLOCALIGN; in Malloc_align()
104 return ((char *)res + MALLOCALIGN); in Malloc_align()
113 Guard *res = (void *)((char *)ptr - MALLOCALIGN); in Free()
141 ptr, res->ga_Bytes - MALLOCALIGN, file, line); in Free()
184 Guard *g = (Guard *)((char *)ptr - MALLOCALIGN); in Realloc()
186 old = g->ga_Bytes - MALLOCALIGN; in Realloc()
H A Dzalloc_defs.h65 #define MALLOCALIGN 64 macro
67 #define MALLOCALIGN 16 macro
69 #define MALLOCALIGN_MASK (MALLOCALIGN - 1)
H A Dzalloc.c77 typedef char assert_align[(sizeof(struct MemNode) <= MALLOCALIGN) ? 1 : -1];
117 dptr = (uintptr_t)(ptr + MALLOCALIGN); /* pointer to data */ in znalloc()
118 aligned = (char *)(roundup2(dptr, align) - MALLOCALIGN); in znalloc()