Home | History | Annotate | Download | only in vm

Lines Matching refs:mapLength

130     pHdr->mapLength = DEFAULT_MAX_LENGTH;
142 pHdr->mapAddr = (char*)mmap(NULL, pHdr->mapLength, PROT_READ | PROT_WRITE,
145 ALOGE("LinearAlloc mmap(%d) failed: %s", pHdr->mapLength,
156 pHdr->mapAddr = mmap(NULL, pHdr->mapLength, PROT_READ | PROT_WRITE,
159 ALOGE("LinearAlloc mmap(%d) failed: %s", pHdr->mapLength,
189 if (mprotect(pHdr->mapAddr, pHdr->mapLength, PROT_NONE) != 0) {
204 int numPages = (pHdr->mapLength+SYSTEM_PAGE_SIZE-1) / SYSTEM_PAGE_SIZE;
215 pHdr->mapAddr, pHdr->mapAddr + pHdr->mapLength-1);
242 classLoader, pHdr->curOffset, pHdr->mapLength,
243 (pHdr->curOffset * 100) / pHdr->mapLength);
246 if (munmap(pHdr->mapAddr, pHdr->mapLength) != 0) {
248 pHdr->mapAddr, pHdr->mapLength, strerror(errno));
308 if (nextOffset > pHdr->mapLength) {
316 pHdr->mapLength, (int) size);
603 ALOGI(" mapAddr=%p mapLength=%d firstOffset=%d",
604 pHdr->mapAddr, pHdr->mapLength, pHdr->firstOffset);
627 int numPages = (pHdr->mapLength+SYSTEM_PAGE_SIZE-1) / SYSTEM_PAGE_SIZE;
648 classLoader, pHdr->curOffset, pHdr->mapLength,
649 (pHdr->curOffset * 100) / pHdr->mapLength);