Lines Matching +full:multi +full:- +full:function

2  * SPDX-License-Identifier: Apache-2.0
13 * @defgroup multi_heap_wrapper Multi-Heap Wrapper
19 * @brief Multi-heap allocator
29 * in backend, which is then provided to a user-specified "choice"
30 * function whose job it is to select a heap based on information in
36 * @brief Multi-heap choice function
38 * This is a user-provided functions whose responsibility is selecting
43 * allocation, and may choose to pad the user-provided values as
50 * @param mheap Multi-heap structure.
51 * @param cfg An opaque user-provided value. It may be interpreted in
54 * @param size The user-specified allocation size in bytes
73 * @brief Initialize multi-heap
76 * function. Note that individual heaps must be added later with
78 * the multi heap code.
81 * semi-statically from system configuration (for example, via
82 * linker-provided bounds on available memory in different regions, or
83 * from devicetree definitions of hardware-provided addressable
84 * memory, etc...). The general expectation is that a soc- or
85 * board-level platform device will be initialized at system boot from
87 * will assemble a multi-heap on its own.
97 * @brief Add sys_heap to multi heap
99 * This adds a known sys_heap backend to an existing multi heap,
100 * allowing the multi heap internals to track the bounds of the heap
111 * @brief Allocate memory from multi heap
115 * passed to the multi heap choice function, which is used by
118 * @param mheap Multi heap pointer
126 * @brief Allocate aligned memory from multi heap
132 * @param mheap Multi heap pointer
147 * @param mheap Multi heap pointer
156 * @brief Free memory allocated from multi heap
166 * @param mheap Multi heap pointer
171 /** @brief Expand the size of an existing allocation on the multi heap
184 * @param mheap Multi heap pointer