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

Lines Matching full:new_value

200     int32_t current_value, new_value;
205 new_value = current_value;
226 new_value |= private_handle_t::LOCK_STATE_WRITE;
228 new_value++;
230 retry = android_atomic_cmpxchg(current_value, new_value,
234 if (new_value & private_handle_t::LOCK_STATE_WRITE) {
279 int32_t current_value, new_value;
295 new_value = current_value;
301 new_value &= ~private_handle_t::LOCK_STATE_WRITE;
305 if ((new_value & private_handle_t::LOCK_STATE_READ_MASK) == 0) {
310 new_value--;
312 } while (android_atomic_cmpxchg(current_value, new_value,