Lines Matching full:mapaddr
565 void* mapAddr;
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) {