Searched refs:top_waiter (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/kernel/ |
D | rtmutex.c | 156 struct rt_mutex_waiter *waiter, *top_waiter = orig_waiter; in rt_mutex_adjust_prio_chain() local 214 if (top_waiter && (!task_has_pi_waiters(task) || in rt_mutex_adjust_prio_chain() 215 top_waiter != task_top_pi_waiter(task))) in rt_mutex_adjust_prio_chain() 240 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain() 255 if (top_waiter != rt_mutex_top_waiter(lock)) in rt_mutex_adjust_prio_chain() 269 plist_del(&top_waiter->pi_list_entry, &task->pi_waiters); in rt_mutex_adjust_prio_chain() 274 } else if (top_waiter == waiter) { in rt_mutex_adjust_prio_chain() 285 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain() 288 if (!detect_deadlock && waiter != top_waiter) in rt_mutex_adjust_prio_chain() 397 struct rt_mutex_waiter *top_waiter = waiter; in task_blocks_on_rt_mutex() local [all …]
|
D | futex.c | 1147 struct futex_q *top_waiter = NULL; in futex_proxy_trylock_atomic() local 1162 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic() 1165 if (!top_waiter) in futex_proxy_trylock_atomic() 1169 if (!match_futex(top_waiter->requeue_pi_key, key2)) in futex_proxy_trylock_atomic() 1177 ret = futex_lock_pi_atomic(pifutex, hb2, key2, ps, top_waiter->task, in futex_proxy_trylock_atomic() 1180 requeue_pi_wake_futex(top_waiter, key2, hb2); in futex_proxy_trylock_atomic()
|