Searched refs:heaps (Results 1 – 12 of 12) sorted by relevance
19 __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()
10 static struct sys_heap *heaps[CONFIG_SYS_HEAP_ARRAY_SIZE]; variable19 heaps[i++] = heap; in sys_heap_array_save()33 *heap = heaps; in sys_heap_array_get()
61 One can then iterate through the array to get all heaps statistics62 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 can118 efficient with small sized heaps.[all …]
69 struct sys_multi_heap_rec heaps[MAX_MULTI_HEAPS]; member
96 to define and create a set of memory heaps from which the user can allocate102 to a pool of memory heaps used for dynamic allocation of memory buffers with186 The framework is assuming that the memory regions used to create the heaps
111 ``sys_heap`` objects. It should be initialized after its child heaps127 allocation from one of the managed heaps, and may use the135 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
64 from, based on the opaque parameter and the runtime state of the heaps
206 /* All unused memory also owned by the kernel for heaps */
518 /* All unused memory also owned by the kernel for heaps */
799 /* All unused memory also owned by the kernel for heaps */
145 compatible API). Now all instantiated heaps must be
1775 * :github:`33009` - kernel: k_heap failures on small heaps