Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmemalign.c98 if (nbytes > MAX_MALLOC) { in memalign()
H A Dmalloc.c187 if (size > MAX_MALLOC) { in _malloc_unlocked()
315 if (size > MAX_MALLOC) { in realloc()
634 if ((size_t)nsize > MAX_MALLOC - (uintptr_t)addr) { in _morecore()
H A Dmallint.h166 #define MAX_MALLOC (size_t)(SIZE_MAX - CORESIZE - 3 * ALIGN) /* overflow chk */ macro
/illumos-gate/usr/src/lib/watchmalloc/common/
H A Dmallint.h136 #define MAX_MALLOC (size_t)(SIZE_MAX - CORESIZE - 3 * ALIGN) /* overflow chk */ macro
H A Dmalloc.c181 if (size > MAX_MALLOC) { in malloc_unlocked()
294 if (size > MAX_MALLOC) { in realloc()
669 if (requestsize > MAX_MALLOC - (size_t)addr) { in morecore()
1148 if (nbytes > MAX_MALLOC) { in memalign()