Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/stdlib/
Dnano-malloc.h48 void __malloc_validate_block(chunk_t *r);
90 } chunk_t; typedef
108 #define MALLOC_MINSIZE __align_up(MALLOC_HEAD + sizeof(chunk_t), MALLOC_HEAD_ALIGN)
113 static inline size_t *_size_ref(chunk_t *chunk) in _size_ref()
118 static inline size_t _size(chunk_t *chunk) in _size()
123 static inline void _set_size(chunk_t *chunk, size_t size) in _set_size()
129 extern chunk_t *__malloc_free_list;
137 bool __malloc_grow_chunk(chunk_t *c, size_t new_size);
151 static inline chunk_t *
154 return (chunk_t *) ptr; in ptr_to_chunk()
[all …]
Dnano-malloc.c32 chunk_t *__malloc_free_list;
98 __malloc_grow_chunk(chunk_t *c, size_t new_size) in __malloc_grow_chunk()
120 make_free_chunk((chunk_t *) (heap + MALLOC_HEAD), add_size); in __malloc_grow_chunk()
133 chunk_t **p, *r; in malloc()
159 chunk_t *s = (chunk_t *)((char *)r + alloc_size); in malloc()
222 __malloc_validate_block(chunk_t *r) in __malloc_validate_block()
234 chunk_t *r; in __malloc_validate()
Dnano-memalign.c47 chunk_t *chunk_p; in memalign()
90 chunk_t *new_chunk_p = ptr_to_chunk(aligned_p); in memalign()
Dnano-free.c43 chunk_t *p_to_free; in free()
44 chunk_t **p, *r; in free()
Dnano-realloc.c56 chunk_t *p_to_realloc = ptr_to_chunk(ptr); in realloc()
82 chunk_t **p, *r; in realloc()
Dnano-mallinfo.c35 chunk_t *pf; in mallinfo()