Searched refs:sys_multi_heap (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/include/zephyr/sys/ |
D | multi_heap.h | 33 struct sys_multi_heap; 57 typedef void *(*sys_multi_heap_fn_t)(struct sys_multi_heap *mheap, void *cfg, 66 struct sys_multi_heap { struct 93 void sys_multi_heap_init(struct sys_multi_heap *heap, 108 void sys_multi_heap_add_heap(struct sys_multi_heap *mheap, struct sys_heap *heap, void *user_data); 123 void *sys_multi_heap_alloc(struct sys_multi_heap *mheap, void *cfg, size_t bytes); 138 void *sys_multi_heap_aligned_alloc(struct sys_multi_heap *mheap, 152 const struct sys_multi_heap_rec *sys_multi_heap_get_heap(const struct sys_multi_heap *mheap, 169 void sys_multi_heap_free(struct sys_multi_heap *mheap, void *block); 191 void *sys_multi_heap_aligned_realloc(struct sys_multi_heap *mheap, void *cfg,
|
/Zephyr-latest/lib/heap/ |
D | multi_heap.c | 10 void sys_multi_heap_init(struct sys_multi_heap *heap, sys_multi_heap_fn_t choice_fn) in sys_multi_heap_init() 16 void sys_multi_heap_add_heap(struct sys_multi_heap *mheap, in sys_multi_heap_add_heap() 44 void *sys_multi_heap_alloc(struct sys_multi_heap *mheap, void *cfg, size_t bytes) in sys_multi_heap_alloc() 49 void *sys_multi_heap_aligned_alloc(struct sys_multi_heap *mheap, in sys_multi_heap_aligned_alloc() 55 const struct sys_multi_heap_rec *sys_multi_heap_get_heap(const struct sys_multi_heap *mheap, in sys_multi_heap_get_heap() 84 void sys_multi_heap_free(struct sys_multi_heap *mheap, void *block) in sys_multi_heap_free() 95 void *sys_multi_heap_aligned_realloc(struct sys_multi_heap *mheap, void *cfg, in sys_multi_heap_aligned_realloc()
|
D | shared_multi_heap.c | 14 static struct sys_multi_heap shared_multi_heap; 21 static void *smh_choice(struct sys_multi_heap *mheap, void *cfg, size_t align, size_t size) in smh_choice()
|
/Zephyr-latest/subsys/mem_mgmt/ |
D | mem_attr_heap.c | 22 struct sys_multi_heap multi_heap; 26 static void *mah_choice(struct sys_multi_heap *m_heap, void *cfg, size_t align, size_t size) in mah_choice()
|
/Zephyr-latest/tests/lib/multi_heap/src/ |
D | test_mheap_api.c | 23 static struct sys_multi_heap multi_heap; 309 void *multi_heap_choice(struct sys_multi_heap *mheap, void *cfg, in multi_heap_choice()
|
/Zephyr-latest/doc/kernel/memory_management/ |
D | heap.rst | 109 For those situations, Zephyr provides a ``sys_multi_heap`` utility.
|