• Home
  • Raw
  • Download

Lines Matching refs:curr

273 	    rq->core->core_forceidle_count && rq->curr == rq->idle)  in sched_core_dequeue()
724 psi_account_irqtime(rq->curr, irq_delta); in update_rq_clock_task()
795 rq->curr->sched_class->task_tick(rq, rq->curr, 1); in hrtick()
1045 struct task_struct *curr = rq->curr; in resched_curr() local
1050 if (test_tsk_need_resched(curr)) in resched_curr()
1056 set_tsk_need_resched(curr); in resched_curr()
1061 if (set_nr_and_not_polling(curr)) in resched_curr()
2239 if (p->sched_class == rq->curr->sched_class) in check_preempt_curr()
2240 rq->curr->sched_class->check_preempt_curr(rq, p, flags); in check_preempt_curr()
2241 else if (sched_class_above(p->sched_class, rq->curr->sched_class)) in check_preempt_curr()
2248 if (task_on_rq_queued(rq->curr) && test_tsk_need_resched(rq->curr)) in check_preempt_curr()
3944 if (!is_idle_task(rcu_dereference(rq->curr))) in wake_up_if_idle()
3948 if (is_idle_task(rq->curr)) in wake_up_if_idle()
4954 static void __fire_sched_in_preempt_notifiers(struct task_struct *curr) in __fire_sched_in_preempt_notifiers() argument
4958 hlist_for_each_entry(notifier, &curr->preempt_notifiers, link) in __fire_sched_in_preempt_notifiers()
4962 static __always_inline void fire_sched_in_preempt_notifiers(struct task_struct *curr) in fire_sched_in_preempt_notifiers() argument
4965 __fire_sched_in_preempt_notifiers(curr); in fire_sched_in_preempt_notifiers()
4969 __fire_sched_out_preempt_notifiers(struct task_struct *curr, in __fire_sched_out_preempt_notifiers() argument
4974 hlist_for_each_entry(notifier, &curr->preempt_notifiers, link) in __fire_sched_out_preempt_notifiers()
4979 fire_sched_out_preempt_notifiers(struct task_struct *curr, in fire_sched_out_preempt_notifiers() argument
4983 __fire_sched_out_preempt_notifiers(curr, next); in fire_sched_out_preempt_notifiers()
4988 static inline void fire_sched_in_preempt_notifiers(struct task_struct *curr) in fire_sched_in_preempt_notifiers() argument
4993 fire_sched_out_preempt_notifiers(struct task_struct *curr, in fire_sched_out_preempt_notifiers() argument
5558 struct sched_entity *curr = (&p->se)->cfs_rq->curr; in prefetch_curr_exec_start() local
5560 struct sched_entity *curr = (&task_rq(p)->cfs)->curr; in prefetch_curr_exec_start()
5562 prefetch(curr); in prefetch_curr_exec_start()
5563 prefetch(&curr->exec_start); in prefetch_curr_exec_start()
5667 struct task_struct *curr = rq->curr; in scheduler_tick() local
5684 curr->sched_class->task_tick(rq, curr, 0); in scheduler_tick()
5748 struct task_struct *curr; in sched_tick_remote() local
5764 curr = rq->curr; in sched_tick_remote()
5770 if (!is_idle_task(curr)) { in sched_tick_remote()
5775 delta = rq_clock_task(rq) - curr->se.exec_start; in sched_tick_remote()
5778 curr->sched_class->task_tick(rq, curr, 0); in sched_tick_remote()
6310 if (rq_i->curr == rq_i->core_pick) { in pick_next_task()
6341 if (dst->curr != dst->idle) in try_steal_cookie()
6349 if (p == src->core_pick || p == src->curr) in try_steal_cookie()
6620 prev = rq->curr; in __schedule()
6706 RCU_INIT_POINTER(rq->curr, next); in __schedule()
7049 int default_wake_function(wait_queue_entry_t *curr, unsigned mode, int wake_flags, in default_wake_function() argument
7053 return try_to_wake_up(curr->private, mode, wake_flags); in default_wake_function()
7150 WARN_ON(p != rq->curr); in rt_mutex_setprio()
7371 if (rq->curr != rq->idle) in idle_cpu()
8891 struct task_struct *curr = current; in yield_to() local
8916 if (!curr->sched_class->yield_to_task) in yield_to()
8919 if (curr->sched_class != p->sched_class) in yield_to()
8925 yielded = curr->sched_class->yield_to_task(rq, p); in yield_to()
9252 rcu_assign_pointer(rq->curr, idle); in init_idle()
9431 struct task_struct *push_task = rq->curr; in balance_push()