Lines Matching refs:nr_cpus_allowed
385 if (p->nr_cpus_allowed > 1) in inc_rt_migration()
402 if (p->nr_cpus_allowed > 1) in dec_rt_migration()
1547 if (!task_current(rq, p) && p->nr_cpus_allowed > 1) in enqueue_task_rt()
1642 (curr->nr_cpus_allowed < 2 || curr->prio <= p->prio); in select_task_rq_rt()
1676 if (rq->curr->nr_cpus_allowed == 1 || in check_preempt_equal_prio()
1684 if (p->nr_cpus_allowed != 1 && in check_preempt_equal_prio()
1840 if (on_rt_rq(&p->rt) && p->nr_cpus_allowed > 1) in put_prev_task_rt()
1892 if (task->nr_cpus_allowed == 1) in find_lowest_rq()
2040 BUG_ON(p->nr_cpus_allowed <= 1); in pick_next_pushable_task()
2466 p->nr_cpus_allowed > 1 && in task_woken_rt()
2468 (rq->curr->nr_cpus_allowed < 2 || in task_woken_rt()
2550 if (p->nr_cpus_allowed > 1 && rq->rt.overloaded) in switched_to_rt()