Home
last modified time | relevance | path

Searched refs:top_waiter (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/kernel/locking/
Drtmutex.c456 struct rt_mutex_waiter *waiter, *top_waiter = orig_waiter; in rt_mutex_adjust_prio_chain() local
546 if (top_waiter) { in rt_mutex_adjust_prio_chain()
555 if (top_waiter != task_top_pi_waiter(task)) { in rt_mutex_adjust_prio_chain()
644 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain()
763 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain()
784 if (!detect_deadlock && waiter != top_waiter) in rt_mutex_adjust_prio_chain()
934 struct rt_mutex_waiter *top_waiter = waiter; in task_blocks_on_rt_mutex() local
960 top_waiter = rt_mutex_top_waiter(lock); in task_blocks_on_rt_mutex()
972 rt_mutex_dequeue_pi(owner, top_waiter); in task_blocks_on_rt_mutex()
/Linux-v5.4/kernel/
Dfutex.c1312 struct futex_q *top_waiter = futex_top_waiter(hb, key); in lookup_pi_state() local
1318 if (top_waiter) in lookup_pi_state()
1319 return attach_to_pi_state(uaddr, uval, top_waiter->pi_state, ps); in lookup_pi_state()
1368 struct futex_q *top_waiter; in futex_lock_pi_atomic() local
1394 top_waiter = futex_top_waiter(hb, key); in futex_lock_pi_atomic()
1395 if (top_waiter) in futex_lock_pi_atomic()
1396 return attach_to_pi_state(uaddr, uval, top_waiter->pi_state, ps); in futex_lock_pi_atomic()
1871 struct futex_q *top_waiter = NULL; in futex_proxy_trylock_atomic() local
1889 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic()
1892 if (!top_waiter) in futex_proxy_trylock_atomic()
[all …]
/Linux-v5.4/Documentation/locking/
Drt-mutex.rst76 that anymore. The pending owner happens to be the top_waiter of a lock
Drt-mutex-design.rst459 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