Home
last modified time | relevance | path

Searched refs:lockState (Results 1 – 2 of 2) sorted by relevance

/device/linaro/hikey/gralloc/
Dgralloc_module.cpp113 hnd->lockState &= ~(private_handle_t::LOCK_STATE_UNREGISTERED); in gralloc_register_buffer()
180 hnd->lockState &= ~(private_handle_t::LOCK_STATE_UNREGISTERED); in gralloc_register_buffer()
229 hnd->lockState = 0; in unmap_buffer()
245 …AERR_IF(hnd->lockState & private_handle_t::LOCK_STATE_READ_MASK, "[unregister] handle %p still loc… in gralloc_unregister_buffer()
255 hnd->lockState &= ~(private_handle_t::LOCK_STATE_MAPPED); in gralloc_unregister_buffer()
258 if (!(hnd->lockState & private_handle_t::LOCK_STATE_WRITE)) in gralloc_unregister_buffer()
263 hnd->lockState |= private_handle_t::LOCK_STATE_UNREGISTERED; in gralloc_unregister_buffer()
287 if (hnd->lockState & private_handle_t::LOCK_STATE_UNREGISTERED) in gralloc_lock()
299 hnd->lockState |= private_handle_t::LOCK_STATE_WRITE; in gralloc_lock()
360 hnd->lockState &= ~(private_handle_t::LOCK_STATE_WRITE); in gralloc_unlock()
[all …]
Dgralloc_priv.h172 int lockState; member
216 lockState(lock_state), in private_handle_t()
248 lockState(lock_state), in private_handle_t()
281 lockState(lock_state), in private_handle_t()