Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/locking/
Drtmutex.c455 struct rt_mutex_waiter *waiter, *top_waiter = orig_waiter; in rt_mutex_adjust_prio_chain() local
545 if (top_waiter) { in rt_mutex_adjust_prio_chain()
554 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()
764 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain()
785 if (!detect_deadlock && waiter != top_waiter) in rt_mutex_adjust_prio_chain()
935 struct rt_mutex_waiter *top_waiter = waiter; in task_blocks_on_rt_mutex() local
961 top_waiter = rt_mutex_top_waiter(lock); in task_blocks_on_rt_mutex()
973 rt_mutex_dequeue_pi(owner, top_waiter); in task_blocks_on_rt_mutex()
/Linux-v4.19/kernel/
Dfutex.c1234 struct futex_q *top_waiter = futex_top_waiter(hb, key); in lookup_pi_state() local
1240 if (top_waiter) in lookup_pi_state()
1241 return attach_to_pi_state(uaddr, uval, top_waiter->pi_state, ps); in lookup_pi_state()
1288 struct futex_q *top_waiter; in futex_lock_pi_atomic() local
1314 top_waiter = futex_top_waiter(hb, key); in futex_lock_pi_atomic()
1315 if (top_waiter) in futex_lock_pi_atomic()
1316 return attach_to_pi_state(uaddr, uval, top_waiter->pi_state, ps); in futex_lock_pi_atomic()
1791 struct futex_q *top_waiter = NULL; in futex_proxy_trylock_atomic() local
1809 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic()
1812 if (!top_waiter) in futex_proxy_trylock_atomic()
[all …]
/Linux-v4.19/Documentation/locking/
Drt-mutex.txt72 that anymore. The pending owner happens to be the top_waiter of a lock
Drt-mutex-design.txt447 owner of the lock, and if the lock still has waiters, the top_waiter
484 1) The previous lock owner released the lock, and the task now is top_waiter