Searched refs:top_waiter (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.10/kernel/locking/ |
| D | rtmutex.c | 454 struct rt_mutex_waiter *waiter, *top_waiter = orig_waiter; in rt_mutex_adjust_prio_chain() local 544 if (top_waiter) { in rt_mutex_adjust_prio_chain() 553 if (top_waiter != task_top_pi_waiter(task)) { in rt_mutex_adjust_prio_chain() 642 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain() 761 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain() 782 if (!detect_deadlock && waiter != top_waiter) in rt_mutex_adjust_prio_chain() 932 struct rt_mutex_waiter *top_waiter = waiter; in task_blocks_on_rt_mutex() local 958 top_waiter = rt_mutex_top_waiter(lock); in task_blocks_on_rt_mutex() 970 rt_mutex_dequeue_pi(owner, top_waiter); in task_blocks_on_rt_mutex()
|
| /Linux-v5.10/kernel/ |
| D | futex.c | 1291 struct futex_q *top_waiter = futex_top_waiter(hb, key); in lookup_pi_state() local 1297 if (top_waiter) in lookup_pi_state() 1298 return attach_to_pi_state(uaddr, uval, top_waiter->pi_state, ps); in lookup_pi_state() 1355 struct futex_q *top_waiter; in futex_lock_pi_atomic() local 1381 top_waiter = futex_top_waiter(hb, key); in futex_lock_pi_atomic() 1382 if (top_waiter) in futex_lock_pi_atomic() 1383 return attach_to_pi_state(uaddr, uval, top_waiter->pi_state, ps); in futex_lock_pi_atomic() 1853 struct futex_q *top_waiter = NULL; in futex_proxy_trylock_atomic() local 1871 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic() 1874 if (!top_waiter) in futex_proxy_trylock_atomic() [all …]
|
| /Linux-v5.10/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
|