• Home
  • Raw
  • Download

Lines Matching refs:idle

273 	    rq->core->core_forceidle_count && rq->curr == rq->idle)  in sched_core_dequeue()
1146 if (set_nr_and_not_polling(rq->idle)) in wake_up_idle_cpu()
3915 if (!set_nr_if_polling(rq->idle)) in send_call_function_single_ipi()
6066 return (task_rq(t)->idle == t); in is_task_rq_idle()
6245 if (p == rq_i->idle) { in pick_next_task()
6321 if (rq->core->core_forceidle_count && next == rq->idle) in pick_next_task()
6341 if (dst->curr != dst->idle) in try_steal_cookie()
6345 if (p == src->idle) in try_steal_cookie()
6355 if (p->core_occupation > dst->idle->core_occupation) in try_steal_cookie()
7149 if (unlikely(p == rq->idle)) { in rt_mutex_setprio()
7371 if (rq->curr != rq->idle) in idle_cpu()
7411 return cpu_rq(cpu)->idle; in idle_task()
9209 void __init init_idle(struct task_struct *idle, int cpu) in init_idle() argument
9214 __sched_fork(0, idle); in init_idle()
9216 raw_spin_lock_irqsave(&idle->pi_lock, flags); in init_idle()
9219 idle->__state = TASK_RUNNING; in init_idle()
9220 idle->se.exec_start = sched_clock(); in init_idle()
9225 idle->flags |= PF_KTHREAD | PF_NO_SETAFFINITY; in init_idle()
9226 kthread_set_per_cpu(idle, cpu); in init_idle()
9235 set_cpus_allowed_common(idle, cpumask_of(cpu), 0); in init_idle()
9248 __set_task_cpu(idle, cpu); in init_idle()
9251 rq->idle = idle; in init_idle()
9252 rcu_assign_pointer(rq->curr, idle); in init_idle()
9253 idle->on_rq = TASK_ON_RQ_QUEUED; in init_idle()
9255 idle->on_cpu = 1; in init_idle()
9258 raw_spin_unlock_irqrestore(&idle->pi_lock, flags); in init_idle()
9261 init_idle_preempt_count(idle, cpu); in init_idle()
9266 idle->sched_class = &idle_sched_class; in init_idle()
9267 ftrace_graph_init_idle_task(idle, cpu); in init_idle()
9268 vtime_init_idle(idle, cpu); in init_idle()
9270 sprintf(idle->comm, "%s/%d", INIT_TASK_COMM, cpu); in init_idle()
9368 BUG_ON(current != this_rq()->idle); in idle_task_exit()
11160 return css_tg(css)->idle; in cpu_idle_read_s64()
11164 struct cftype *cft, s64 idle) in cpu_idle_write_s64() argument
11166 return sched_group_set_idle(css_tg(css), idle); in cpu_idle_write_s64()