Lines Matching refs:dynamic

11 The OpenHarmony LiteOS-M kernel memory management involves static and dynamic memory management, an…
14 - Dynamic memory: memory blocks of user-specified size allocated in the dynamic memory pool.
170 …r further use when not required. Compared with static memory management, dynamic memory management…
172dynamic memory of the OpenHarmony LiteOS-M has optimized the memory space partitioning based on th…
176 ![](figures/dynamic-memory-algorithm-for-mini-systems.png "dynamic-memory-algorithm-for-mini-system…
190 ![](figures/dynamic-memory-management-structure-for-mini-systems.png "dynamic-memory-management-str…
222 …You can call the dynamic memory allocation function of the OS to request a memory block of the spe…
227 The following table describes APIs available for OpenHarmony LiteOS-M dynamic memory management. Fo…
229 **Table 2** APIs of the dynamic memory module
233 | Initializing or deleting a memory pool| **LOS_MemInit**: initializes a dynamic memory pool of the…
234dynamic memory| **LOS_MemAlloc**: allocates memory of the specified size from the dynamic memory p…
235 …l size of the specified dynamic memory pool.<br>**LOS_MemTotalUsedGet**: obtains the total memory …
241 > - The dynamic memory module manages memory through control block structures, which consume extra …
250 The typical development process of dynamic memory is as follows:
255 1. Call **LOS_MemAlloc** to allocate dynamic memory of any size.
256 …The system checks whether the dynamic memory pool has free memory blocks greater than the requeste…
258 1. Call **LOS_MemFree** to release dynamic memory.
266 1. Initialize a dynamic memory pool.
268 2. Allocate a memory block from the dynamic memory pool.