Home
last modified time | relevance | path

Searched refs:DFX_PAGE_SIZE (Results 1 - 1 of 1) sorted by relevance

/base/hiviewdfx/faultloggerd/frameworks/allocator/
H A Ddfx_allocator.c37 #define DFX_PAGE_SIZE 4096 macro
38 #define DFX_PAGE_MASK (~(DFX_PAGE_SIZE - 1))
60 return PageStart(addr + (DFX_PAGE_SIZE - 1)); in PageEnd()
123 void* mptr = mmap(NULL, DFX_PAGE_SIZE, PROT_READ | PROT_WRITE, in MempoolAllocPage()
133 munmap(mptr, DFX_PAGE_SIZE); in MempoolAllocPage()
157 munmap(page, DFX_PAGE_SIZE); in MempoolFreePage()
255 (DFX_PAGE_SIZE - sizeof(PageInfo)) / (g_dfxAllocator.dfxMempoolBuf[i].blockSize); in InitDfxAllocator()

Completed in 2 milliseconds