Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/mem_mgmt/
Dmem_attr_heap.c22 struct sys_multi_heap multi_heap; member
60 sys_multi_heap_free(&mah_data.multi_heap, block); in mem_attr_heap_free()
65 return sys_multi_heap_alloc(&mah_data.multi_heap, in mem_attr_heap_alloc()
71 return sys_multi_heap_aligned_alloc(&mah_data.multi_heap, in mem_attr_heap_aligned_alloc()
79 heap_rec = sys_multi_heap_get_heap(&mah_data.multi_heap, addr); in mem_attr_heap_get_region()
100 sys_multi_heap_add_heap(&mah_data.multi_heap, h, (void *) region); in ma_heap_add()
116 sys_multi_heap_init(&mah_data.multi_heap, mah_choice); in mem_attr_heap_pool_init()
/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap_api.c23 static struct sys_multi_heap multi_heap; variable
321 sys_multi_heap_init(&multi_heap, multi_heap_choice); in ZTEST()
324 sys_multi_heap_add_heap(&multi_heap, &mheaps[i], NULL); in ZTEST()
331 blocks[i] = sys_multi_heap_alloc(&multi_heap, (void *)(long)i, in ZTEST()
339 void *ptr = sys_multi_heap_realloc(&multi_heap, (void *)(long)i, in ZTEST()
347 void *b = sys_multi_heap_alloc(&multi_heap, (void *)(long)i, in ZTEST()
355 sys_multi_heap_free(&multi_heap, blocks[i]); in ZTEST()
360 blocks[i] = sys_multi_heap_alloc(&multi_heap, (void *)(long)i, in ZTEST()
365 void *ptr = sys_multi_heap_realloc(&multi_heap, (void *)(long)i, in ZTEST()
369 ptr = sys_multi_heap_alloc(&multi_heap, (void *)(long)i, in ZTEST()
[all …]
/Zephyr-latest/lib/heap/
DCMakeLists.txt12 zephyr_sources_ifdef(CONFIG_MULTI_HEAP multi_heap.c)