Lines Matching refs:curr

350 	rq->curr->sched_class->task_tick(rq, rq->curr, 1);  in hrtick()
553 struct task_struct *curr = rq->curr; in resched_curr() local
558 if (test_tsk_need_resched(curr)) in resched_curr()
564 set_tsk_need_resched(curr); in resched_curr()
569 if (set_nr_and_not_polling(curr)) in resched_curr()
998 if (p->sched_class == rq->curr->sched_class) { in check_preempt_curr()
999 rq->curr->sched_class->check_preempt_curr(rq, p, flags); in check_preempt_curr()
1002 if (class == rq->curr->sched_class) in check_preempt_curr()
1015 if (task_on_rq_queued(rq->curr) && test_tsk_need_resched(rq->curr)) in check_preempt_curr()
1600 if (!is_idle_task(rcu_dereference(rq->curr))) in wake_up_if_idle()
1607 if (is_idle_task(rq->curr)) in wake_up_if_idle()
2130 static void fire_sched_in_preempt_notifiers(struct task_struct *curr) in fire_sched_in_preempt_notifiers() argument
2134 hlist_for_each_entry(notifier, &curr->preempt_notifiers, link) in fire_sched_in_preempt_notifiers()
2139 fire_sched_out_preempt_notifiers(struct task_struct *curr, in fire_sched_out_preempt_notifiers() argument
2144 hlist_for_each_entry(notifier, &curr->preempt_notifiers, link) in fire_sched_out_preempt_notifiers()
2150 static void fire_sched_in_preempt_notifiers(struct task_struct *curr) in fire_sched_in_preempt_notifiers() argument
2155 fire_sched_out_preempt_notifiers(struct task_struct *curr, in fire_sched_out_preempt_notifiers() argument
2261 if (rq->curr->sched_class->post_schedule) in post_schedule()
2262 rq->curr->sched_class->post_schedule(rq); in post_schedule()
2499 struct task_struct *curr = rq->curr; in scheduler_tick() local
2505 curr->sched_class->task_tick(rq, curr, 0); in scheduler_tick()
2751 prev = rq->curr; in __schedule()
2802 rq->curr = next; in __schedule()
2978 int default_wake_function(wait_queue_t *curr, unsigned mode, int wake_flags, in default_wake_function() argument
2981 return try_to_wake_up(curr->private, mode, wake_flags); in default_wake_function()
3021 WARN_ON(p != rq->curr); in rt_mutex_setprio()
3201 if (rq->curr != rq->idle) in idle_cpu()
4331 struct task_struct *curr = current; in yield_to() local
4356 if (!curr->sched_class->yield_to_task) in yield_to()
4359 if (curr->sched_class != p->sched_class) in yield_to()
4365 yielded = curr->sched_class->yield_to_task(rq, p, preempt); in yield_to()
4629 rq->curr = rq->idle = idle; in init_idle()