Searched refs:DLMALLOC_INFO_CNT (Results 1 – 1 of 1) sorted by relevance
195 #define DLMALLOC_INFO_CNT 10 macro208 static DLMALLOC_INFO mstar_dlmalloc_info[DLMALLOC_INFO_CNT];280 memset(mstar_dlmalloc_info, 0, sizeof(DLMALLOC_INFO)*DLMALLOC_INFO_CNT); in MsOS_MPool_Init()1710 int first_free_dlmalloc_info_index = DLMALLOC_INFO_CNT; in MsOS_MPool_CreateMemoryPool()1739 for(i = 0; i < DLMALLOC_INFO_CNT; i++) in MsOS_MPool_CreateMemoryPool()1744 if( (mstar_dlmalloc_info[i].msp == 0) && (first_free_dlmalloc_info_index == DLMALLOC_INFO_CNT) ) in MsOS_MPool_CreateMemoryPool()1748 …if(i == DLMALLOC_INFO_CNT) // we can not find dlmalloc_info.MemoryPool @ mstar_dlmalloc_info, inse… in MsOS_MPool_CreateMemoryPool()1750 if(first_free_dlmalloc_info_index == DLMALLOC_INFO_CNT) // the mstar_dlmalloc_info is full, die in MsOS_MPool_CreateMemoryPool()1787 for(i = 0; i < DLMALLOC_INFO_CNT; i++) in MsOS_MPool_DeleteMemoryPool()1793 if(i == DLMALLOC_INFO_CNT) // we can not find msp @ mstar_dlmalloc_info, die in MsOS_MPool_DeleteMemoryPool()[all …]