Searched refs:top_waiter (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.15/kernel/locking/ |
| D | rtmutex.c | 347 struct rt_mutex_waiter *top_waiter) in rt_mutex_steal() argument 349 if (rt_mutex_waiter_less(waiter, top_waiter)) in rt_mutex_steal() 360 return rt_mutex_waiter_equal(waiter, top_waiter); in rt_mutex_steal() 574 struct rt_mutex_waiter *waiter, *top_waiter = orig_waiter; in rt_mutex_adjust_prio_chain() local 689 if (top_waiter) { in rt_mutex_adjust_prio_chain() 698 if (top_waiter != task_top_pi_waiter(task)) { in rt_mutex_adjust_prio_chain() 799 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain() 917 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain() 938 if (!detect_deadlock && waiter != top_waiter) in rt_mutex_adjust_prio_chain() 998 struct rt_mutex_waiter *top_waiter = rt_mutex_top_waiter(lock); in try_to_take_rt_mutex() local [all …]
|
| /Linux-v5.15/kernel/ |
| D | futex.c | 1412 struct futex_q *top_waiter; in futex_lock_pi_atomic() local 1438 top_waiter = futex_top_waiter(hb, key); in futex_lock_pi_atomic() 1439 if (top_waiter) in futex_lock_pi_atomic() 1440 return attach_to_pi_state(uaddr, uval, top_waiter->pi_state, ps); in futex_lock_pi_atomic() 1555 struct rt_mutex_waiter *top_waiter; in wake_futex_pi() local 1562 top_waiter = rt_mutex_top_waiter(&pi_state->pi_mutex); in wake_futex_pi() 1563 if (WARN_ON_ONCE(!top_waiter)) { in wake_futex_pi() 1576 new_owner = top_waiter->task; in wake_futex_pi() 2035 struct futex_q *top_waiter = NULL; in futex_proxy_trylock_atomic() local 2053 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic() [all …]
|
| /Linux-v5.15/Documentation/locking/ |
| D | rt-mutex.rst | 76 that anymore. The pending owner happens to be the top_waiter of a lock
|
| 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
|