Searched refs:lockState (Results 1 – 3 of 3) sorted by relevance
124 hnd->lockState = 0; in gralloc_register_buffer()144 ALOGE_IF(hnd->lockState & private_handle_t::LOCK_STATE_READ_MASK, in gralloc_unregister_buffer()146 hnd, hnd->lockState); in gralloc_unregister_buffer()150 if (hnd->lockState & private_handle_t::LOCK_STATE_MAPPED) { in gralloc_unregister_buffer()154 hnd->lockState = 0; in gralloc_unregister_buffer()168 ALOGE_IF(hnd->lockState & private_handle_t::LOCK_STATE_READ_MASK, in terminateBuffer()170 hnd, hnd->lockState); in terminateBuffer()172 if (hnd->lockState & private_handle_t::LOCK_STATE_MAPPED) { in terminateBuffer()204 current_value = hnd->lockState; in gralloc_lock()231 (volatile int32_t*)&hnd->lockState); in gralloc_lock()[all …]
118 int lockState; member130 base(0), lockState(0), writeOwner(0), gpuaddr(0), pid(getpid()) in private_handle_t()
123 int lockState = 0; in gralloc_alloc_buffer() local162 lockState |= private_handle_t::LOCK_STATE_MAPPED; in gralloc_alloc_buffer()190 hnd->lockState = lockState; in gralloc_alloc_buffer()