Home
last modified time | relevance | path

Searched refs:dfxMempoolBuf (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/hiviewdfx/faultloggerd/frameworks/allocator/
H A Ddfx_allocator.c252 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()
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/local_handler/
H A Dlocal_handler_test.cpp312 if (allocator->dfxMempoolBuf[i].pageList != nullptr) {
326 if (allocator->dfxMempoolBuf[i].pageList != nullptr) {
399 if (allocator->dfxMempoolBuf[1].pageList == nullptr) {
/ohos5.0/base/hiviewdfx/faultloggerd/frameworks/allocator/include/
H A Ddfx_allocator.h62 DfxMempool dfxMempoolBuf[DFX_MEMPOOLS_NUM]; member