Searched refs:OS_MEM_SLI (Results 1 – 4 of 4) sorted by relevance
70 #define OS_MEM_SLI 3 macro76 #define OS_MEM_FREE_LIST_NUM (1 << OS_MEM_SLI)81 …fine OS_MEM_FREE_LIST_COUNT (OS_MEM_SMALL_BUCKET_COUNT + (OS_MEM_LARGE_BUCKET_COUNT << OS_MEM_SLI))
495 #define OS_MEM_SLI 3 macro505 …ine OS_MEM_FREE_LIST_COUNT (OS_MEM_SMALL_BUCKET_COUNT + (OS_MEM_LARGE_BUCKET_COUNT << OS_MEM_SLI))
69 #define OS_MEM_SLI 3 macro75 #define OS_MEM_FREE_LIST_NUM (1 << OS_MEM_SLI)80 …ine OS_MEM_FREE_LIST_COUNT (OS_MEM_SMALL_BUCKET_COUNT + (OS_MEM_LARGE_BUCKET_COUNT << OS_MEM_SLI))116 return (((size << OS_MEM_SLI) >> fl) - OS_MEM_FREE_LIST_NUM); in OsMemSlGet()635 return (OS_MEM_SMALL_BUCKET_COUNT + ((fl - OS_MEM_LARGE_START_BUCKET) << OS_MEM_SLI) + sl); in OsMemFreeListIndexGet()681 … curIndex = ((fl - OS_MEM_LARGE_START_BUCKET) << OS_MEM_SLI) + sl + OS_MEM_SMALL_BUCKET_COUNT; in OsMemFindNextSuitableBlock()2013 …UINT32 val = 1 << (((index - OS_MEM_SMALL_BUCKET_COUNT) >> OS_MEM_SLI) + OS_MEM_LARGE_START_BUCKET… in LOS_MemFreeNodeShow()2014 UINT32 offset = val >> OS_MEM_SLI; in LOS_MemFreeNodeShow()2016 (offset * ((index - OS_MEM_SMALL_BUCKET_COUNT) % (1 << OS_MEM_SLI))) + val, in LOS_MemFreeNodeShow()2017 … ((offset * (((index - OS_MEM_SMALL_BUCKET_COUNT) % (1 << OS_MEM_SLI)) + 1)) + val - 1), in LOS_MemFreeNodeShow()
99 … UINT32 sl = (size << OS_MEM_SLI) >> (fl - OS_MEM_SMALL_BUCKET_COUNT + OS_MEM_LARGE_START_BUCKET); in OsMemSlGet()100 return (sl - (1 << OS_MEM_SLI)); in OsMemSlGet()661 return (OS_MEM_SMALL_BUCKET_COUNT + ((fl - OS_MEM_SMALL_BUCKET_COUNT) << OS_MEM_SLI) + sl);705 … curIndex = ((fl - OS_MEM_SMALL_BUCKET_COUNT) << OS_MEM_SLI) + sl + OS_MEM_SMALL_BUCKET_COUNT;2047 …UINT32 val = 1 << (((index - OS_MEM_SMALL_BUCKET_COUNT) >> OS_MEM_SLI) + OS_MEM_LARGE_START_BUCKET…2048 UINT32 offset = val >> OS_MEM_SLI;2050 (offset * ((index - OS_MEM_SMALL_BUCKET_COUNT) % (1 << OS_MEM_SLI))) + val,2051 … ((offset * (((index - OS_MEM_SMALL_BUCKET_COUNT) % (1 << OS_MEM_SLI)) + 1)) + val - 1),