Lines Matching refs:bytes
54 malloc(size_t bytes) in malloc() argument
59 bytes += MALLOCALIGN + 1; in malloc()
61 bytes += MALLOCALIGN; in malloc()
64 while ((res = znalloc(&MallocPool, bytes)) == NULL) { in malloc()
65 int incr = (bytes + BLKEXTENDMASK) & ~BLKEXTENDMASK; in malloc()
80 res->ga_Bytes = bytes; in malloc()
82 *((char *)res + bytes - 1) = -2; in malloc()
90 size_t bytes; in free() local
110 bytes = res->ga_Bytes; in free()
111 zfree(&MallocPool, res, bytes); in free()
122 uintptr_t bytes = (uintptr_t)n1 * (uintptr_t)n2; in calloc() local
125 if ((res = malloc(bytes)) != NULL) { in calloc()
126 bzero(res, bytes); in calloc()