Searched refs:mapAddr (Results 1 - 3 of 3) sorted by relevance
/dalvik/vm/ |
H A D | LinearAlloc.cpp | 142 pHdr->mapAddr = (char*)mmap(NULL, pHdr->mapLength, PROT_READ | PROT_WRITE, 144 if (pHdr->mapAddr == MAP_FAILED) { 156 pHdr->mapAddr = mmap(NULL, pHdr->mapLength, PROT_READ | PROT_WRITE, 158 if (pHdr->mapAddr == MAP_FAILED) { 167 assert(((int) pHdr->mapAddr & (SYSTEM_PAGE_SIZE-1)) == 0); 170 assert(*(u4*) (pHdr->mapAddr + pHdr->curOffset) == 0); 189 if (mprotect(pHdr->mapAddr, pHdr->mapLength, PROT_NONE) != 0) { 194 if (mprotect(pHdr->mapAddr + SYSTEM_PAGE_SIZE, SYSTEM_PAGE_SIZE, 215 pHdr->mapAddr, pHdr->mapAddr [all...] |
H A D | LinearAlloc.h | 37 char* mapAddr; /* start of mmap()ed region */ member in struct:LinearAllocHdr
|
/dalvik/vm/analysis/ |
H A D | DexPrepare.cpp | 565 void* mapAddr; local 566 mapAddr = mmap(NULL, dexOffset + dexLength, PROT_READ|PROT_WRITE, 568 if (mapAddr == MAP_FAILED) { 602 success = rewriteDex(((u1*) mapAddr) + dexOffset, dexLength, 607 u1* dexAddr = ((u1*) mapAddr) + dexOffset; 634 if (msync(mapAddr, dexOffset + dexLength, MS_SYNC) != 0) { 645 if (munmap(mapAddr, dexOffset + dexLength) != 0) {
|
Completed in 1197 milliseconds