Lines Matching refs:bytes
307 malloc(size_t bytes)
311 if (bytes > MAX_CACHED) {
318 void *ret_ptr = oversize(bytes);
333 return (malloc_internal(bytes,
336 return (malloc_internal(bytes, &cpu_list[(this_lwp & cpu_mask)],
342 realloc(void * ptr, size_t bytes)
349 if (bytes == 0) {
355 return (malloc(bytes));
371 if (bytes <= (cacheptr->mt_size - OVERHEAD))
375 new = malloc(bytes);
408 (void) memcpy(new, data_ptr, MIN(bytes, old->size - shift));
416 MIN(cacheptr->mt_size - OVERHEAD - shift, bytes));
423 calloc(size_t nelem, size_t bytes)
426 size_t size = nelem * bytes;
428 if (nelem != 0 && (size / nelem) != bytes) {
509 * The value of offset is in bytes but there is a 1-1 correlation
1176 * We've got span bytes starting at cp. The order is:
1673 morecore(size_t bytes)
1677 if (bytes > LONG_MAX) {
1683 if (bytes == ULONG_MAX)
1694 bytes -= LONG_MAX;
1695 wad = bytes;
1698 ret = sbrk(bytes);
1879 * FREEPATTERN for lp->size bytes. If we can merge, the oversize