Lines Matching +full:multi +full:- +full:function
4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Public API for Shared Multi-Heap framework
28 * @brief Shared Multi-Heap (SMH) interface
29 * @defgroup shared_multi_heap Shared multi-heap interface
33 * The shared multi-heap manager uses the multi-heap allocator to manage a set
35 * non-cacheable, etc...).
37 * All the different regions can be added at run-time to the shared multi-heap
44 * - At boot time some platform code initialize the shared multi-heap
49 * - Each memory region encoded in a @ref shared_multi_heap_region structure.
50 * This structure is also carrying an opaque and user-defined integer value
54 * - When a driver or application needs some dynamic memory with a certain
73 /** non-cacheable */
90 * the multi-heap pool.
106 * This must be the first function to be called to initialize the shared
107 * multi-heap pool. All the individual heaps must be added later with @ref
110 * @note As for the generic multi-heap allocator the expectation is that this
111 * function will be called at soc- or board-level.
114 * @retval -EALREADY when the pool was already inited.
120 * @brief Allocate memory from the memory shared multi-heap pool
135 * @brief Allocate aligned memory from the memory shared multi-heap pool
152 * @brief Free memory from the shared multi-heap pool
165 * @brief Add an heap region to the shared multi-heap pool
167 * This adds a shared multi-heap region to the multi-heap pool.
173 * @retval -EINVAL when the region attribute is out-of-bound.
174 * @retval -ENOMEM when there are no more heaps available.