Home
last modified time | relevance | path

Searched refs:OsMemPoolHead (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c156 struct OsMemPoolHead { struct
205 #define OS_MEM_MIN_POOL_SIZE (OS_MEM_NODE_HEAD_SIZE + sizeof(struct OsMemPoolHead))
209 (struct OsMemNodeHead *)((UINT8 *)(pool) + sizeof(struct OsMemPoolHead))
220 STATIC INLINE UINT32 OsMemFree(struct OsMemPoolHead *pool, struct OsMemNodeHead *node);
223 STATIC INLINE UINT32 OsMemAllocCheck(struct OsMemPoolHead *pool, UINT32 intSave);
234 STATIC INLINE VOID OsMemWaterUsedRecord(struct OsMemPoolHead *pool, UINT32 size) in OsMemWaterUsedRecord()
242 STATIC INLINE VOID OsMemWaterUsedRecord(struct OsMemPoolHead *pool, UINT32 size) in OsMemWaterUsedRecord()
316 sentinelNode = OS_MEM_END_NODE(pool, ((struct OsMemPoolHead *)pool)->info.totalSize); in PreSentinelNodeGet()
382 struct OsMemPoolHead *poolInfo = (struct OsMemPoolHead *)pool; in OsMemPoolExpandSub()
457 ((struct OsMemPoolHead *)pool)->info.attr |= OS_MEM_POOL_EXPAND_ENABLE; in LOS_MemExpandEnable()
[all …]
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c199 #define OS_MEM_MIN_POOL_SIZE (OS_MEM_NODE_HEAD_SIZE + sizeof(struct OsMemPoolHead))
205 (struct OsMemNodeHead *)((UINT8 *)(pool) + sizeof(struct OsMemPoolHead))
213 STATIC INLINE UINT32 OsMemAllocCheck(struct OsMemPoolHead *pool, UINT32 intSave);
239 STATIC INLINE UINT32 OsMemFree(struct OsMemPoolHead *pool, struct OsMemNodeHead *node);
250 struct OsMemPoolHead *poolInfo = (struct OsMemPoolHead *)pool; in OsAllMemNodeDoHandle()
311 STATIC INLINE VOID OsMemWaterUsedRecord(struct OsMemPoolHead *pool, UINT32 size)
319 STATIC INLINE VOID OsMemWaterUsedRecord(struct OsMemPoolHead *pool, UINT32 size)
397 sentinelNode = OS_MEM_END_NODE(pool, ((struct OsMemPoolHead *)pool)->info.totalSize);
450 struct OsMemPoolHead *poolInfo = (struct OsMemPoolHead *)pool;
492 ((struct OsMemPoolHead *)pool)->info.attr |= OS_MEM_POOL_EXPAND_ENABLE;
[all …]
/kernel/liteos_m/kernel/include/
Dlos_memory.h550 struct OsMemPoolHead { struct