Home
last modified time | relevance | path

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

/hardware/msm7k/libgralloc-qsd8k/
Dmapper.cpp124 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 …]
Dgralloc_priv.h118 int lockState; member
130 base(0), lockState(0), writeOwner(0), gpuaddr(0), pid(getpid()) in private_handle_t()
Dgpu.cpp123 int lockState = 0; in gralloc_alloc_buffer() local
162 lockState |= private_handle_t::LOCK_STATE_MAPPED; in gralloc_alloc_buffer()
190 hnd->lockState = lockState; in gralloc_alloc_buffer()