Home
last modified time | relevance | path

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

/freebsd-12.1/stand/libsa/
H A Dzalloc_malloc.c77 bytes += MALLOCALIGN + 1; in Malloc_align()
79 bytes += MALLOCALIGN; in Malloc_align()
103 return ((char *)res + MALLOCALIGN); in Malloc_align()
112 Guard *res = (void *)((char *)ptr - MALLOCALIGN); in Free()
135 ptr, res->ga_Bytes - MALLOCALIGN, file, line); in Free()
178 Guard *g = (Guard *)((char *)ptr - MALLOCALIGN); in Realloc()
180 old = g->ga_Bytes - MALLOCALIGN; in Realloc()
H A Dzalloc_defs.h67 #define MALLOCALIGN 64 macro
69 #define MALLOCALIGN 16 macro
71 #define MALLOCALIGN_MASK (MALLOCALIGN - 1)
H A Dzalloc.c80 typedef char assert_align[(sizeof(struct MemNode) <= MALLOCALIGN) ? 1 : -1];
120 dptr = (uintptr_t)(ptr + MALLOCALIGN); /* pointer to data */ in znalloc()
121 aligned = (char *)(roundup2(dptr, align) - MALLOCALIGN); in znalloc()