Lines Matching refs:bytes
57 Malloc(size_t bytes, const char *file __unused, int line __unused)
59 return (Malloc_align(bytes, 1));
63 Memalign(size_t alignment, size_t bytes, const char *file __unused,
69 return (Malloc_align(bytes, alignment));
73 Malloc_align(size_t bytes, size_t alignment)
78 bytes += MALLOCALIGN + 1;
80 bytes += MALLOCALIGN;
83 while ((res = znalloc(&MallocPool, bytes, alignment)) == NULL) {
84 int incr = (bytes + BLKEXTENDMASK) & ~BLKEXTENDMASK;
99 res->ga_Bytes = bytes;
101 *((signed char *)res + bytes - 1) = -2;
110 size_t bytes;
145 bytes = res->ga_Bytes;
146 zfree(&MallocPool, res, bytes);
157 uintptr_t bytes = (uintptr_t)n1 * (uintptr_t)n2;
160 if ((res = Malloc(bytes, file, line)) != NULL) {
161 bzero(res, bytes);