• Home
  • Raw
  • Download

Lines Matching refs:sched_class

400 	rq->curr->sched_class->task_tick(rq, rq->curr, 1);  in hrtick()
769 p->sched_class->enqueue_task(rq, p, flags); in enqueue_task()
776 p->sched_class->dequeue_task(rq, p, flags); in dequeue_task()
871 stop->sched_class = &stop_sched_class; in sched_set_stop_task()
881 old_stop->sched_class = &rt_sched_class; in sched_set_stop_task()
941 const struct sched_class *prev_class, in check_class_changed()
944 if (prev_class != p->sched_class) { in check_class_changed()
947 p->sched_class->switched_to(rq, p); in check_class_changed()
949 p->sched_class->prio_changed(rq, p, oldprio); in check_class_changed()
954 const struct sched_class *class; in check_preempt_curr()
956 if (p->sched_class == rq->curr->sched_class) { in check_preempt_curr()
957 rq->curr->sched_class->check_preempt_curr(rq, p, flags); in check_preempt_curr()
960 if (class == rq->curr->sched_class) in check_preempt_curr()
962 if (class == p->sched_class) { in check_preempt_curr()
1016 if (p->sched_class->migrate_task_rq) in set_task_cpu()
1017 p->sched_class->migrate_task_rq(p, new_cpu); in set_task_cpu()
1252 int cpu = p->sched_class->select_task_rq(p, sd_flags, wake_flags); in select_task_rq()
1339 if (p->sched_class->task_woken) in ttwu_do_wakeup()
1340 p->sched_class->task_woken(rq, p); in ttwu_do_wakeup()
1516 if (p->sched_class->task_waking) in try_to_wake_up()
1517 p->sched_class->task_waking(p); in try_to_wake_up()
1708 p->sched_class = &fair_sched_class; in sched_fork()
1710 if (p->sched_class->task_fork) in sched_fork()
1711 p->sched_class->task_fork(p); in sched_fork()
1770 if (p->sched_class->task_woken) in wake_up_new_task()
1771 p->sched_class->task_woken(rq, p); in wake_up_new_task()
1918 if (prev->sched_class->pre_schedule) in pre_schedule()
1919 prev->sched_class->pre_schedule(rq, prev); in pre_schedule()
1929 if (rq->curr->sched_class->post_schedule) in post_schedule()
1930 rq->curr->sched_class->post_schedule(rq); in post_schedule()
2654 dest_cpu = p->sched_class->select_task_rq(p, SD_BALANCE_EXEC, 0); in sched_exec()
2743 curr->sched_class->task_tick(rq, curr, 0); in scheduler_tick()
2882 prev->sched_class->put_prev_task(rq, prev); in put_prev_task()
2891 const struct sched_class *class; in pick_next_task()
3599 const struct sched_class *prev_class; in rt_mutex_setprio()
3625 prev_class = p->sched_class; in rt_mutex_setprio()
3631 p->sched_class->put_prev_task(rq, p); in rt_mutex_setprio()
3634 p->sched_class = &rt_sched_class; in rt_mutex_setprio()
3636 p->sched_class = &fair_sched_class; in rt_mutex_setprio()
3641 p->sched_class->set_curr_task(rq); in rt_mutex_setprio()
3826 p->sched_class = &rt_sched_class; in __setscheduler()
3828 p->sched_class = &fair_sched_class; in __setscheduler()
3853 const struct sched_class *prev_class; in __sched_setscheduler()
3980 p->sched_class->put_prev_task(rq, p); in __sched_setscheduler()
3985 prev_class = p->sched_class; in __sched_setscheduler()
3989 p->sched_class->set_curr_task(rq); in __sched_setscheduler()
4325 current->sched_class->yield_task(rq); in SYSCALL_DEFINE0()
4476 if (!curr->sched_class->yield_to_task) in yield_to()
4479 if (curr->sched_class != p->sched_class) in yield_to()
4485 yielded = curr->sched_class->yield_to_task(rq, p, preempt); in yield_to()
4624 time_slice = p->sched_class->get_rr_interval(rq, p); in SYSCALL_DEFINE2()
4710 idle->sched_class = &idle_sched_class; in init_idle_bootup_task()
4759 idle->sched_class = &idle_sched_class; in init_idle()
4770 if (p->sched_class && p->sched_class->set_cpus_allowed) in do_set_cpus_allowed()
4771 p->sched_class->set_cpus_allowed(p, new_mask); in do_set_cpus_allowed()
4973 next->sched_class->put_prev_task(rq, next); in migrate_tasks()
5167 const struct sched_class *class; in set_rq_online()
5182 const struct sched_class *class; in set_rq_offline()
7074 current->sched_class = &fair_sched_class; in sched_init()
7138 const struct sched_class *prev_class = p->sched_class; in normalize_task()
7344 tsk->sched_class->put_prev_task(rq, tsk); in sched_move_task()
7353 if (tsk->sched_class->task_move_group) in sched_move_task()
7354 tsk->sched_class->task_move_group(tsk, on_rq); in sched_move_task()
7360 tsk->sched_class->set_curr_task(rq); in sched_move_task()
7730 if (task->sched_class != &fair_sched_class) in cpu_cgroup_can_attach()