Home
last modified time | relevance | path

Searched refs:heaps (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/lib/heap/
Dmulti_heap.c19 __ASSERT_NO_MSG(mheap->nheaps < ARRAY_SIZE(mheap->heaps)); in sys_multi_heap_add_heap()
21 mheap->heaps[mheap->nheaps].heap = heap; in sys_multi_heap_add_heap()
22 mheap->heaps[mheap->nheaps++].user_data = user_data; in sys_multi_heap_add_heap()
31 uintptr_t haddr = (uintptr_t)mheap->heaps[j].heap->heap; in sys_multi_heap_add_heap()
38 swap = mheap->heaps[i]; in sys_multi_heap_add_heap()
39 mheap->heaps[i] = mheap->heaps[lowest]; in sys_multi_heap_add_heap()
40 mheap->heaps[lowest] = swap; in sys_multi_heap_add_heap()
70 haddr = (uintptr_t)mheap->heaps[i].heap->heap; in sys_multi_heap_get_heap()
80 return &mheap->heaps[i-1]; in sys_multi_heap_get_heap()
Dheap_array.c10 static struct sys_heap *heaps[CONFIG_SYS_HEAP_ARRAY_SIZE]; variable
19 heaps[i++] = heap; in sys_heap_array_save()
33 *heap = heaps; in sys_heap_array_get()
DKconfig61 One can then iterate through the array to get all heaps statistics
62 and to sum up the total memory allocated for all heaps.
88 "small" heaps with a total size of 262136 bytes or less.
95 - "small" heaps with low memory and runtime overhead;
97 - "big" heaps with bigger memory overhead even for small heaps;
108 bool "Support for small heaps only"
111 heaps are 262136 bytes or less.
114 bool "Support for big heaps only"
116 Select this to optimize the code for big heaps only. This can
118 efficient with small sized heaps.
[all …]
/Zephyr-latest/include/zephyr/sys/
Dmulti_heap.h69 struct sys_multi_heap_rec heaps[MAX_MULTI_HEAPS]; member
/Zephyr-latest/doc/services/mem_mgmt/
Dindex.rst96 to define and create a set of memory heaps from which the user can allocate
102 to a pool of memory heaps used for dynamic allocation of memory buffers with
186 The framework is assuming that the memory regions used to create the heaps
/Zephyr-latest/doc/kernel/memory_management/
Dheap.rst111 ``sys_heap`` objects. It should be initialized after its child heaps
127 allocation from one of the managed heaps, and may use the
135 any of the eligible heaps specified by the configuration parameter may be used.
149 Only a single system heap is defined. Unlike other heaps or memory
Dshared_multi_heap.rst64 from, based on the opaque parameter and the runtime state of the heaps
/Zephyr-latest/include/zephyr/arch/x86/intel64/
Dlinker.ld206 /* All unused memory also owned by the kernel for heaps */
/Zephyr-latest/include/zephyr/arch/x86/ia32/
Dlinker.ld518 /* All unused memory also owned by the kernel for heaps */
/Zephyr-latest/boards/qemu/x86/
Dqemu_x86_tiny.ld799 /* All unused memory also owned by the kernel for heaps */
/Zephyr-latest/doc/releases/
Drelease-notes-2.5.rst145 compatible API). Now all instantiated heaps must be
Drelease-notes-2.6.rst1775 * :github:`33009` - kernel: k_heap failures on small heaps