Searched refs:mapLength (Results 1 – 2 of 2) sorted by relevance
/dalvik/vm/ |
D | LinearAlloc.cpp | 130 pHdr->mapLength = DEFAULT_MAX_LENGTH; in dvmLinearAllocCreate() 142 pHdr->mapAddr = (char*)mmap(NULL, pHdr->mapLength, PROT_READ | PROT_WRITE, in dvmLinearAllocCreate() 145 LOGE("LinearAlloc mmap(%d) failed: %s", pHdr->mapLength, in dvmLinearAllocCreate() 156 pHdr->mapAddr = mmap(NULL, pHdr->mapLength, PROT_READ | PROT_WRITE, in dvmLinearAllocCreate() 159 LOGE("LinearAlloc mmap(%d) failed: %s", pHdr->mapLength, in dvmLinearAllocCreate() 189 if (mprotect(pHdr->mapAddr, pHdr->mapLength, PROT_NONE) != 0) { in dvmLinearAllocCreate() 204 int numPages = (pHdr->mapLength+SYSTEM_PAGE_SIZE-1) / SYSTEM_PAGE_SIZE; in dvmLinearAllocCreate() 215 pHdr->mapAddr, pHdr->mapAddr + pHdr->mapLength-1); in dvmLinearAllocCreate() 242 classLoader, pHdr->curOffset, pHdr->mapLength, in dvmLinearAllocDestroy() 243 (pHdr->curOffset * 100) / pHdr->mapLength); in dvmLinearAllocDestroy() [all …]
|
D | LinearAlloc.h | 38 int mapLength; /* length of region */ member
|