Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/sys/
Dmulti_heap.h33 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/
Dmulti_heap.c10 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()
Dshared_multi_heap.c14 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/
Dmem_attr_heap.c22 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/
Dtest_mheap_api.c23 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/
Dheap.rst109 For those situations, Zephyr provides a ``sys_multi_heap`` utility.