Searched refs:listIndex (Results 1 – 2 of 2) sorted by relevance
/kernel/liteos_a/kernel/base/mem/tlsf/ |
D | los_memory.c | 721 STATIC INLINE VOID OsMemListAdd(struct OsMemPoolHead *pool, UINT32 listIndex, struct OsMemFreeNodeH… in OsMemListAdd() argument 723 struct OsMemFreeNodeHead *firstNode = pool->freeList[listIndex]; in OsMemListAdd() 729 pool->freeList[listIndex] = node; in OsMemListAdd() 730 OsMemSetFreeListBit(pool, listIndex); in OsMemListAdd() 734 STATIC INLINE VOID OsMemListDelete(struct OsMemPoolHead *pool, UINT32 listIndex, struct OsMemFreeNo… in OsMemListDelete() argument 736 if (node == pool->freeList[listIndex]) { in OsMemListDelete() 737 pool->freeList[listIndex] = node->next; in OsMemListDelete() 739 OsMemClearFreeListBit(pool, listIndex); in OsMemListDelete()
|
/kernel/liteos_m/kernel/src/mm/ |
D | los_memory.c | 747 STATIC INLINE VOID OsMemListAdd(struct OsMemPoolHead *pool, UINT32 listIndex, struct OsMemFreeNodeH… argument 749 struct OsMemFreeNodeHead *firstNode = pool->freeList[listIndex]; 755 pool->freeList[listIndex] = node; 756 OsMemSetFreeListBit(pool, listIndex); 760 STATIC INLINE VOID OsMemListDelete(struct OsMemPoolHead *pool, UINT32 listIndex, struct OsMemFreeNo… argument 762 if (node == pool->freeList[listIndex]) { 763 pool->freeList[listIndex] = node->next; 765 OsMemClearFreeListBit(pool, listIndex);
|