Lines Matching refs:dynamic

10dynamic memory management, allows memory blocks of any size to be allocated from a large contiguou…
13 ![](figures/dynamic-memory-algorithm-for-small-systems.png "dynamic-memory-algorithm-for-small-syst…
25 ![](figures/dynamic-memory-management-structure-for-system-systems.png "dynamic-memory-management-s…
40 …rent sizes. You can obtain a memory block of a specified size by using a dynamic memory applicatio…
61 …110"><a name="p94857483110"></a><a name="p94857483110"></a>Initializes a dynamic memory pool of th…
69 …4"><a name="p19661710214"></a><a name="p19661710214"></a>Allocating or releasing dynamic memory</p>
73 …><a name="p4661715214"></a>Allocates memory of the specified size from the dynamic memory pool.</p>
78 …></a><a name="p1569175218"></a>Releases the memory allocated from the specified dynamic memory.</p>
88 …mory of the specified size and aligned based on the specified bytes from a dynamic memory pool.</p>
95 …2"></a><a name="p129820881212"></a>Obtains the total size of the specified dynamic memory pool.</p>
100 …><a name="p1598889124"></a>Obtains the total memory usage of the specified dynamic memory pool.</p>
131 >- The dynamic memory module manages memory through control block structures, which consume extra…
136 The typical development process of dynamic memory is as follows:
143 1. Call the **LOS\_MemAlloc** API to allocate dynamic memory of any size.
145 …The system checks whether the dynamic memory pool has free memory blocks greater than the requeste…
148 1. Call the **LOS\_MemFree** API to release dynamic memory.
157 1. Initialize a dynamic memory pool.
158 2. Allocate a memory block from the dynamic memory pool.