Home
last modified time | relevance | path

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

/linux/kernel/futex/
H A Drequeue.c65 .requeue_state = ATOMIC_INIT(Q_REQUEUE_PI_NONE),
104 old = atomic_read_acquire(&q->requeue_state); in futex_requeue_pi_prepare()
121 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new)); in futex_requeue_pi_prepare()
131 old = atomic_read_acquire(&q->requeue_state); in futex_requeue_pi_complete()
149 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new)); in futex_requeue_pi_complete()
162 old = atomic_read_acquire(&q->requeue_state); in futex_requeue_pi_wakeup_sync()
175 } while (!atomic_try_cmpxchg(&q->requeue_state, &old, new)); in futex_requeue_pi_wakeup_sync()
181 atomic_read(&q->requeue_state) != Q_REQUEUE_PI_WAIT, in futex_requeue_pi_wakeup_sync()
184 (void)atomic_cond_read_relaxed(&q->requeue_state, VAL != Q_REQUEUE_PI_WAIT); in futex_requeue_pi_wakeup_sync()
193 return atomic_read(&q->requeue_state); in futex_requeue_pi_wakeup_sync()
H A Dfutex.h184 atomic_t requeue_state; member