Lines Matching refs:sys_heap
57 struct sys_heap { struct
85 int sys_heap_runtime_stats_get(struct sys_heap *heap,
97 int sys_heap_runtime_stats_reset_max(struct sys_heap *heap);
109 void sys_heap_init(struct sys_heap *heap, void *mem, size_t bytes);
128 void *sys_heap_alloc(struct sys_heap *heap, size_t bytes);
143 void *sys_heap_aligned_alloc(struct sys_heap *heap, size_t align, size_t bytes);
158 void sys_heap_free(struct sys_heap *heap, void *mem);
178 void *sys_heap_aligned_realloc(struct sys_heap *heap, void *ptr,
198 size_t sys_heap_usable_size(struct sys_heap *heap, void *mem);
214 bool sys_heap_validate(struct sys_heap *heap);
216 static inline bool sys_heap_validate(struct sys_heap *heap) in sys_heap_validate()
268 void sys_heap_print_info(struct sys_heap *heap, bool dump_chunks);