Searched refs:top_waiter (Results 1 – 3 of 3) sorted by relevance
| /linux/kernel/futex/ |
| H A D | requeue.c | 286 struct futex_q *top_waiter; in futex_proxy_trylock_atomic() local 304 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic() 307 if (!top_waiter) in futex_proxy_trylock_atomic() 314 if (!top_waiter->rt_waiter || top_waiter->pi_state) in futex_proxy_trylock_atomic() 318 if (!futex_match(top_waiter->requeue_pi_key, key2)) in futex_proxy_trylock_atomic() 322 if (!futex_requeue_pi_prepare(top_waiter, NULL)) { in futex_proxy_trylock_atomic() 323 plist_del(&top_waiter->list, &hb1->chain); in futex_proxy_trylock_atomic() 336 ret = futex_lock_pi_atomic(pifutex, hb2, key2, ps, top_waiter->task, in futex_proxy_trylock_atomic() 345 requeue_pi_wake_futex(top_waiter, key2, hb2); in futex_proxy_trylock_atomic() 348 futex_requeue_pi_complete(top_waiter, ret); in futex_proxy_trylock_atomic()
|
| /linux/Documentation/locking/ |
| H A D | rt-mutex.rst | 76 that anymore. The pending owner happens to be the top_waiter of a lock
|
| H A D | rt-mutex-design.rst | 459 owner of the lock, and if the lock still has waiters, the top_waiter 496 1) The previous lock owner released the lock, and the task now is top_waiter
|