Lines Matching refs:baseAddr
72 pMap->addr = pMap->baseAddr = memPtr; in sysCreatePrivateMap()
132 pMap->baseAddr = pMap->addr = memPtr; in sysFakeMapFile()
177 pMap->baseAddr = pMap->addr = memPtr; in sysMapFileInShmemWritableReadOnly()
217 pMap->baseAddr = memPtr; in sysMapFileSegmentInShmem()
224 pMap->baseAddr, (int) pMap->baseLength, in sysMapFileSegmentInShmem()
246 if (addr < pMap->baseAddr || in sysChangeMapAccess()
247 (u1*)addr >= (u1*)pMap->baseAddr + pMap->baseLength) in sysChangeMapAccess()
250 addr, pMap->baseAddr, (u1*)pMap->baseAddr + pMap->baseLength); in sysChangeMapAccess()
282 if (pMap->baseAddr == NULL && pMap->baseLength == 0) in sysReleaseShmem()
285 if (munmap(pMap->baseAddr, pMap->baseLength) < 0) { in sysReleaseShmem()
287 pMap->baseAddr, pMap->baseLength, strerror(errno)); in sysReleaseShmem()
289 ALOGV("munmap(%p, %zd) succeeded", pMap->baseAddr, pMap->baseLength); in sysReleaseShmem()
290 pMap->baseAddr = NULL; in sysReleaseShmem()
295 if (pMap->baseAddr != NULL) { in sysReleaseShmem()
296 free(pMap->baseAddr); in sysReleaseShmem()
297 pMap->baseAddr = NULL; in sysReleaseShmem()