Home
last modified time | relevance | path

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

/kernel/liteos_m/kernel/include/
Dlos_memory.h531 struct OsMemFreeNodeHead { struct
533 struct OsMemFreeNodeHead *prev; argument
534 struct OsMemFreeNodeHead *next; argument
553 struct OsMemFreeNodeHead *freeList[OS_MEM_FREE_LIST_COUNT];
/kernel/liteos_a/kernel/base/mem/tlsf/
Dlos_memory.c140 struct OsMemFreeNodeHead { struct
142 struct OsMemFreeNodeHead *prev; argument
143 struct OsMemFreeNodeHead *next; argument
159 struct OsMemFreeNodeHead *freeList[OS_MEM_FREE_LIST_COUNT];
176 #define OS_MEM_MIN_ALLOC_SIZE (sizeof(struct OsMemFreeNodeHead) - sizeof(struct OsMemUsedNodeHea…
219 STATIC INLINE VOID OsMemFreeNodeAdd(VOID *pool, struct OsMemFreeNodeHead *node);
417 OsMemFreeNodeAdd(pool, (struct OsMemFreeNodeHead *)newNode); in OsMemPoolExpandSub()
638 STATIC INLINE struct OsMemFreeNodeHead *OsMemFindCurSuitableBlock(struct OsMemPoolHead *poolHead, in OsMemFindCurSuitableBlock()
641 struct OsMemFreeNodeHead *node = NULL; in OsMemFindCurSuitableBlock()
667 STATIC INLINE struct OsMemFreeNodeHead *OsMemFindNextSuitableBlock(VOID *pool, UINT32 size, UINT32 … in OsMemFindNextSuitableBlock()
[all …]
/kernel/liteos_m/kernel/src/mm/
Dlos_memory.c200 #define OS_MEM_MIN_LEFT_SIZE sizeof(struct OsMemFreeNodeHead)
238 STATIC INLINE VOID OsMemFreeNodeAdd(VOID *pool, struct OsMemFreeNodeHead *node);
474 OsMemFreeNodeAdd(pool, (struct OsMemFreeNodeHead *)newNode);
664 STATIC INLINE struct OsMemFreeNodeHead *OsMemFindCurSuitableBlock(struct OsMemPoolHead *poolHead,
667 struct OsMemFreeNodeHead *node = NULL;
691 STATIC INLINE struct OsMemFreeNodeHead *OsMemFindNextSuitableBlock(VOID *pool, UINT32 size, UINT32 …
748 …INE VOID OsMemListAdd(struct OsMemPoolHead *pool, UINT32 listIndex, struct OsMemFreeNodeHead *node)
750 struct OsMemFreeNodeHead *firstNode = pool->freeList[listIndex];
761 … VOID OsMemListDelete(struct OsMemPoolHead *pool, UINT32 listIndex, struct OsMemFreeNodeHead *node)
779 STATIC INLINE VOID OsMemFreeNodeAdd(VOID *pool, struct OsMemFreeNodeHead *node)
[all …]