Searched refs:dfxMempoolBuf (Results 1 – 3 of 3) sorted by relevance
252 g_dfxAllocator.dfxMempoolBuf[i].type = i + DFX_MEMPOOL_MIN_TYPE; in InitDfxAllocator()253 g_dfxAllocator.dfxMempoolBuf[i].blockSize = (1UL << g_dfxAllocator.dfxMempoolBuf[i].type); in InitDfxAllocator()254 g_dfxAllocator.dfxMempoolBuf[i].blocksPerPage = in InitDfxAllocator()255 (DFX_PAGE_SIZE - sizeof(PageInfo)) / (g_dfxAllocator.dfxMempoolBuf[i].blockSize); in InitDfxAllocator()256 g_dfxAllocator.dfxMempoolBuf[i].freePagesCnt = 0; in InitDfxAllocator()257 g_dfxAllocator.dfxMempoolBuf[i].pageList = NULL; in InitDfxAllocator()330 mempool = &(g_dfxAllocator.dfxMempoolBuf[type - DFX_MEMPOOL_MIN_TYPE]); in AllocImpl()358 return g_dfxAllocator.dfxMempoolBuf[page->tag.type - DFX_MEMPOOL_MIN_TYPE].blockSize; in GetChunkSize()378 … DfxMempool* mempool = &(g_dfxAllocator.dfxMempoolBuf[page->tag.type - DFX_MEMPOOL_MIN_TYPE]); in DfxFree()
312 if (allocator->dfxMempoolBuf[i].pageList != nullptr) {326 if (allocator->dfxMempoolBuf[i].pageList != nullptr) {399 if (allocator->dfxMempoolBuf[1].pageList == nullptr) {
62 DfxMempool dfxMempoolBuf[DFX_MEMPOOLS_NUM]; member