|
| void * | LOS_MemMalloc (void *pool, UINT32 size, UINT32 moduleId) |
| | Allocate dynamic memory.
|
| |
| void * | LOS_MemMallocAlign (void *pool, UINT32 size, UINT32 boundary, UINT32 moduleId) |
| | Allocate aligned memory.
|
| |
| UINT32 | LOS_MemMfree (void *pool, void *ptr, UINT32 moduleId) |
| | Free dynamic memory.
|
| |
| void * | LOS_MemMrealloc (void *pool, void *ptr, UINT32 size, UINT32 moduleId) |
| | Re-allocate a memory block.
|
| |
| UINT32 | LOS_MemMusedGet (UINT32 moduleId) |
| | get the used memory size of the specified module.
|
| |
| UINT32 | LOS_MemDeInit (void *pool) |
| | Deinitialize dynamic memory.
|
| |
| UINT32 | LOS_MemPoolList (void) |
| | Print information about all pools.
|
| |
| UINT32 | LOS_MemPoolInit (void *pool, UINT32 size, UINT32 attr) |
| | Initialize dynamic memory.
|
| |
| UINT32 | LOS_MemInit (void *pool, UINT32 size) |
| | Initialize dynamic memory.
|
| |
| void * | LOS_MemAlloc (void *pool, UINT32 size) |
| | Allocate dynamic memory.
|
| |
| UINT32 | LOS_MemFree (void *pool, void *ptr) |
| | Free dynamic memory.
|
| |
| void * | LOS_MemRealloc (void *pool, void *ptr, UINT32 size) |
| | Re-allocate a memory block.
|
| |
| void * | LOS_MemAllocAlign (void *pool, UINT32 size, UINT32 boundary) |
| | Allocate aligned memory.
|
| |
| UINT32 | LOS_MemPoolSizeGet (const void *pool) |
| | Get the size of memory pool's size.
|
| |
| UINT32 | LOS_MemTotalUsedGet (void *pool) |
| | Get the size of memory totally used.
|
| |
| UINT32 | LOS_MemFreeBlksGet (void *pool) |
| | Get the number of free memory nodes.
|
| |
| UINT32 | LOS_MemUsedBlksGet (void *pool) |
| | Get the number of used memory nodes.
|
| |
| UINT32 | LOS_MemTaskIdGet (const void *ptr) |
| | Get the task ID of a used memory node.
|
| |
| UINTPTR | LOS_MemLastUsedGet (void *pool) |
| | Get the address of the next byte of the last used byte.
|
| |
| UINT32 | LOS_MemInfoGet (void *pool, LOS_MEM_POOL_STATUS *poolStatus) |
| | Get the information of memory pool.
|
| |
| UINT32 | LOS_MemFreeNodeShow (void *pool) |
| | Get the number of free node in every size.
|
| |
| UINT32 | LOS_MemIntegrityCheck (const void *pool) |
| | Check the memory pool integrity.
|
| |