Home | History | Annotate | Download | only in libgralloc-qsd8k

Lines Matching full:current_value

200     int32_t current_value, new_value;
204 current_value = hnd->lockState;
205 new_value = current_value;
207 if (current_value & private_handle_t::LOCK_STATE_WRITE) {
211 } else if (current_value & private_handle_t::LOCK_STATE_READ_MASK) {
219 // handle, (current_value & ~(1<<31)));
230 retry = android_atomic_cmpxchg(current_value, new_value,
253 if (!(current_value & private_handle_t::LOCK_STATE_MAPPED)) {
279 int32_t current_value, new_value;
294 current_value = hnd->lockState;
295 new_value = current_value;
297 if (current_value & private_handle_t::LOCK_STATE_WRITE) {
312 } while (android_atomic_cmpxchg(current_value, new_value,