Lines Matching refs:ashmemBase
102 cb->ashmemBase = intptr_t(addr);
290 if (cb->ashmemSize > 0 && cb->ashmemBase) {
291 munmap((void *)cb->ashmemBase, cb->ashmemSize);
361 uint32_t *postCountPtr = (uint32_t *)cb->ashmemBase;
480 int err = munmap((void *)cb->ashmemBase, cb->ashmemSize);
485 cb->ashmemBase = NULL;
536 if (cb->ashmemBasePid != getpid() || !cb->ashmemBase) {
541 postCount = *((int *)cb->ashmemBase);
542 cpu_addr = (void *)(cb->ashmemBase + sizeof(int));
545 cpu_addr = (void *)(cb->ashmemBase);
612 cpu_addr = (void *)(cb->ashmemBase + sizeof(int));
615 cpu_addr = (void *)(cb->ashmemBase);