Lines Matching refs:top_waiter
431 struct rt_mutex_waiter *top_waiter) in rt_mutex_steal() argument
433 if (rt_waiter_node_less(&waiter->tree, &top_waiter->tree)) in rt_mutex_steal()
444 return rt_waiter_node_equal(&waiter->tree, &top_waiter->tree); in rt_mutex_steal()
685 struct rt_mutex_waiter *waiter, *top_waiter = orig_waiter; in rt_mutex_adjust_prio_chain() local
800 if (top_waiter) { in rt_mutex_adjust_prio_chain()
809 if (top_waiter != task_top_pi_waiter(task)) { in rt_mutex_adjust_prio_chain()
915 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain()
975 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain()
976 if (prerequeue_top_waiter != top_waiter) in rt_mutex_adjust_prio_chain()
977 wake_up_state(top_waiter->task, top_waiter->wake_state); in rt_mutex_adjust_prio_chain()
1042 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain()
1063 if (!detect_deadlock && waiter != top_waiter) in rt_mutex_adjust_prio_chain()
1123 struct rt_mutex_waiter *top_waiter = rt_mutex_top_waiter(lock); in try_to_take_rt_mutex() local
1129 if (waiter == top_waiter || rt_mutex_steal(waiter, top_waiter)) { in try_to_take_rt_mutex()
1211 struct rt_mutex_waiter *top_waiter = waiter; in task_blocks_on_rt_mutex() local
1240 top_waiter = rt_mutex_top_waiter(lock); in task_blocks_on_rt_mutex()
1267 rt_mutex_dequeue_pi(owner, top_waiter); in task_blocks_on_rt_mutex()