Searched refs:heaps (Results 1 – 11 of 11) 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()
76 "small" heaps with a total size of 262136 bytes or less.83 - "small" heaps with low memory and runtime overhead;85 - "big" heaps with bigger memory overhead even for small heaps;96 bool "Support for small heaps only"99 heaps are 262136 bytes or less.102 bool "Support for big heaps only"104 Select this to optimize the code for big heaps only. This can106 efficient with small sized heaps.109 bool "Support for both small and big heaps at run time"
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