Searched refs:poolHead (Results 1 – 2 of 2) sorted by relevance
/kernel/liteos_m/kernel/src/mm/ |
D | los_memory.c | 663 STATIC INLINE struct OsMemFreeNodeHead *OsMemFindCurSuitableBlock(struct OsMemPoolHead *poolHead, argument 668 for (node = poolHead->freeList[index]; node != NULL; node = node->next) { 677 STATIC INLINE UINT32 OsMemNotEmptyIndexGet(struct OsMemPoolHead *poolHead, UINT32 index) argument 680 UINT32 mask = poolHead->freeListBitmap[index >> 5]; 692 struct OsMemPoolHead *poolHead = (struct OsMemPoolHead *)pool; local 708 tmp = OsMemNotEmptyIndexGet(poolHead, index); 716 mask = poolHead->freeListBitmap[index >> 5]; 729 return OsMemFindCurSuitableBlock(poolHead, curIndex, size); 732 return poolHead->freeList[index]; 795 struct OsMemPoolHead *poolHead = (struct OsMemPoolHead *)pool; local [all …]
|
/kernel/liteos_a/kernel/base/mem/tlsf/ |
D | los_memory.c | 638 STATIC INLINE struct OsMemFreeNodeHead *OsMemFindCurSuitableBlock(struct OsMemPoolHead *poolHead, in OsMemFindCurSuitableBlock() argument 643 for (node = poolHead->freeList[index]; node != NULL; node = node->next) { in OsMemFindCurSuitableBlock() 653 STATIC INLINE UINT32 OsMemNotEmptyIndexGet(struct OsMemPoolHead *poolHead, UINT32 index) in OsMemNotEmptyIndexGet() argument 657 mask = poolHead->freeListBitmap[BITMAP_INDEX(index)]; in OsMemNotEmptyIndexGet() 669 struct OsMemPoolHead *poolHead = (struct OsMemPoolHead *)pool; in OsMemFindNextSuitableBlock() local 685 tmp = OsMemNotEmptyIndexGet(poolHead, index); in OsMemFindNextSuitableBlock() 692 mask = poolHead->freeListBitmap[BITMAP_INDEX(index)]; in OsMemFindNextSuitableBlock() 705 return OsMemFindCurSuitableBlock(poolHead, curIndex, size); in OsMemFindNextSuitableBlock() 708 return poolHead->freeList[index]; in OsMemFindNextSuitableBlock() 774 struct OsMemPoolHead *poolHead = (struct OsMemPoolHead *)pool; in OsMemFreeNodeGet() local [all …]
|