Lines Matching refs:ashmemBase
98 cb->ashmemBase = intptr_t(addr); in map_buffer()
375 if (cb->ashmemSize > 0 && cb->ashmemBase) { in gralloc_free()
376 munmap((void *)cb->ashmemBase, cb->ashmemSize); in gralloc_free()
448 intptr_t *postCountPtr = (intptr_t *)cb->ashmemBase; in fb_post()
584 int err = munmap((void *)cb->ashmemBase, cb->ashmemSize); in gralloc_unregister_buffer()
589 cb->ashmemBase = 0; in gralloc_unregister_buffer()
654 if (cb->ashmemBasePid != getpid() || !cb->ashmemBase) { in gralloc_lock()
659 postCount = *((intptr_t *)cb->ashmemBase); in gralloc_lock()
660 cpu_addr = (void *)(cb->ashmemBase + sizeof(intptr_t)); in gralloc_lock()
663 cpu_addr = (void *)(cb->ashmemBase); in gralloc_lock()
743 cpu_addr = (void *)(cb->ashmemBase + sizeof(int)); in gralloc_unlock()
746 cpu_addr = (void *)(cb->ashmemBase); in gralloc_unlock()
826 if (cb->ashmemBasePid != getpid() || !cb->ashmemBase) { in gralloc_lock_ycbcr()
833 cpu_addr = (uint8_t *)(cb->ashmemBase + sizeof(int)); in gralloc_lock_ycbcr()
836 cpu_addr = (uint8_t *)(cb->ashmemBase); in gralloc_lock_ycbcr()