Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/stdlib/
Dnano-malloc.c135 size_t alloc_size; in malloc() local
143 alloc_size = chunk_size(s); in malloc()
149 if (_size(r) >= alloc_size) in malloc()
151 size_t rem = _size(r) - alloc_size; in malloc()
159 chunk_t *s = (chunk_t *)((char *)r + alloc_size); in malloc()
164 _set_size(r, alloc_size); in malloc()
175 if (!r->next && __malloc_grow_chunk(r, alloc_size)) in malloc()
188 void *blob = __malloc_sbrk_aligned(alloc_size); in malloc()
198 _set_size(r, alloc_size); in malloc()
205 memset(ptr, '\0', alloc_size - MALLOC_HEAD); in malloc()