Searched refs:new_state (Results 1 – 3 of 3) sorted by relevance
411 int *new_state; in setstate() local418 new_state = (int *)(void *)arg_state; in setstate()419 type = (int)(new_state[0] % MAX_TYPES); in setstate()420 rear = (int)(new_state[0] / MAX_TYPES); in setstate()441 state = (int *) (new_state + 1); in setstate()
277 int new_state = old_state + STATE_READER_COUNT_CHANGE_STEP; in __pthread_rwlock_tryrdlock() local278 …if (__predict_false(!__state_owned_by_readers(new_state))) { // Happens when reader count overflow… in __pthread_rwlock_tryrdlock()281 if (__predict_true(atomic_compare_exchange_weak_explicit(&rwlock->state, &old_state, new_state, in __pthread_rwlock_tryrdlock()
480 int new_state = MUTEX_STATE_BITS_FLIP_CONTENTION(old_state); in __pthread_mutex_lock_with_timeout() local482 &old_state, new_state, in __pthread_mutex_lock_with_timeout()487 old_state = new_state; in __pthread_mutex_lock_with_timeout()