Home
last modified time | relevance | path

Searched refs:nr_cpus_allowed (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/kernel/sched/
Ddeadline.c425 if (p->nr_cpus_allowed > 1) in inc_dl_migration()
435 if (p->nr_cpus_allowed > 1) in dec_dl_migration()
1534 if (!task_current(rq, p) && p->nr_cpus_allowed > 1) in enqueue_task_dl()
1625 (curr->nr_cpus_allowed < 2 || in select_task_rq_dl()
1627 (p->nr_cpus_allowed > 1)) { in select_task_rq_dl()
1679 if (rq->curr->nr_cpus_allowed == 1 || in check_preempt_equal_dl()
1687 if (p->nr_cpus_allowed != 1 && in check_preempt_equal_dl()
1797 if (on_dl_rq(&p->dl) && p->nr_cpus_allowed > 1) in put_prev_task_dl()
1884 if (task->nr_cpus_allowed == 1) in find_later_rq()
2030 BUG_ON(p->nr_cpus_allowed <= 1); in pick_next_pushable_dl_task()
[all …]
Drt.c327 if (p->nr_cpus_allowed > 1) in inc_rt_migration()
344 if (p->nr_cpus_allowed > 1) in dec_rt_migration()
1338 if (!task_current(rq, p) && p->nr_cpus_allowed > 1) in enqueue_task_rt()
1427 (curr->nr_cpus_allowed < 2 || in select_task_rq_rt()
1451 if (rq->curr->nr_cpus_allowed == 1 || in check_preempt_equal_prio()
1459 if (p->nr_cpus_allowed != 1 in check_preempt_equal_prio()
1592 if (on_rt_rq(&p->rt) && p->nr_cpus_allowed > 1) in put_prev_task_rt()
1643 if (task->nr_cpus_allowed == 1) in find_lowest_rq()
1776 BUG_ON(p->nr_cpus_allowed <= 1); in pick_next_pushable_task()
2152 p->nr_cpus_allowed > 1 && in task_woken_rt()
[all …]
Didle.c323 WARN_ON_ONCE(current->nr_cpus_allowed != 1); in play_idle()
Dcore.c1448 if (p->nr_cpus_allowed != 1) in is_per_cpu_kthread()
1587 p->nr_cpus_allowed = cpumask_weight(new_mask); in set_cpus_allowed_common()
1674 p->nr_cpus_allowed != 1); in __set_cpus_allowed_ptr()
2107 if (p->nr_cpus_allowed > 1) in select_task_rq()
/Linux-v5.4/init/
Dinit_task.c75 .nr_cpus_allowed= NR_CPUS,
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Daffinity.c1049 if (current->nr_cpus_allowed == 1) { in hfi1_get_proc_affinity()
1060 } else if (current->nr_cpus_allowed < cpumask_weight(&set->mask)) { in hfi1_get_proc_affinity()
Dsdma.c879 if (current->nr_cpus_allowed != 1) in sdma_select_user_engine()
/Linux-v5.4/include/linux/
Dsched.h700 int nr_cpus_allowed; member
1506 (current->nr_cpus_allowed == 1); in is_percpu_thread()
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_file_ops.c1145 const unsigned int weight = current->nr_cpus_allowed; in assign_ctxt_affinity()
1627 const unsigned int weight = current->nr_cpus_allowed; in qib_assign_ctxt()