Lines Matching refs:top_waiter
408 struct rt_mutex_waiter *top_waiter) in rt_mutex_steal() argument
410 if (rt_waiter_node_less(&waiter->tree, &top_waiter->tree)) in rt_mutex_steal()
421 return rt_waiter_node_equal(&waiter->tree, &top_waiter->tree); in rt_mutex_steal()
662 struct rt_mutex_waiter *waiter, *top_waiter = orig_waiter; in rt_mutex_adjust_prio_chain() local
777 if (top_waiter) { in rt_mutex_adjust_prio_chain()
786 if (top_waiter != task_top_pi_waiter(task)) { in rt_mutex_adjust_prio_chain()
892 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain()
952 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain()
953 if (prerequeue_top_waiter != top_waiter) in rt_mutex_adjust_prio_chain()
954 wake_up_state(top_waiter->task, top_waiter->wake_state); in rt_mutex_adjust_prio_chain()
1019 top_waiter = rt_mutex_top_waiter(lock); in rt_mutex_adjust_prio_chain()
1040 if (!detect_deadlock && waiter != top_waiter) in rt_mutex_adjust_prio_chain()
1100 struct rt_mutex_waiter *top_waiter = rt_mutex_top_waiter(lock); in try_to_take_rt_mutex() local
1106 if (waiter == top_waiter || rt_mutex_steal(waiter, top_waiter)) { in try_to_take_rt_mutex()
1187 struct rt_mutex_waiter *top_waiter = waiter; in task_blocks_on_rt_mutex() local
1216 top_waiter = rt_mutex_top_waiter(lock); in task_blocks_on_rt_mutex()
1243 rt_mutex_dequeue_pi(owner, top_waiter); in task_blocks_on_rt_mutex()