Home
last modified time | relevance | path

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

/Linux-v6.1/kernel/sched/
Ddeadline.c578 if (p->nr_cpus_allowed > 1) in inc_dl_migration()
588 if (p->nr_cpus_allowed > 1) in dec_dl_migration()
1750 if (!task_current(rq, p) && p->nr_cpus_allowed > 1) in enqueue_task_dl()
1851 (curr->nr_cpus_allowed < 2 || in select_task_rq_dl()
1853 p->nr_cpus_allowed > 1; in select_task_rq_dl()
1914 if (rq->curr->nr_cpus_allowed == 1 || in check_preempt_equal_dl()
1922 if (p->nr_cpus_allowed != 1 && in check_preempt_equal_dl()
2053 if (on_dl_rq(&p->dl) && p->nr_cpus_allowed > 1) in put_prev_task_dl()
2142 if (task->nr_cpus_allowed == 1) in find_later_rq()
2283 WARN_ON_ONCE(p->nr_cpus_allowed <= 1); in pick_next_pushable_dl_task()
[all …]
Drt.c385 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()
1837 if (on_rt_rq(&p->rt) && p->nr_cpus_allowed > 1) in put_prev_task_rt()
1889 if (task->nr_cpus_allowed == 1) in find_lowest_rq()
2037 BUG_ON(p->nr_cpus_allowed <= 1); in pick_next_pushable_task()
2463 p->nr_cpus_allowed > 1 && in task_woken_rt()
[all …]
Didle.c367 WARN_ON_ONCE(current->nr_cpus_allowed != 1); in play_idle_precise()
Dsched.h2299 if (p->nr_cpus_allowed == 1) in get_push_task()
3160 if (p->nr_cpus_allowed != 1) in is_per_cpu_kthread()
Dcore.c2534 p->nr_cpus_allowed = cpumask_weight(new_mask); in set_cpus_allowed_common()
3482 if (p->nr_cpus_allowed > 1 && !is_migration_disabled(p)) in select_task_rq()
Dfair.c4440 if (!p || p->nr_cpus_allowed == 1) { in update_misfit_status()
9519 if (p->nr_cpus_allowed != NR_CPUS) { in find_idlest_group()
/Linux-v6.1/init/
Dinit_task.c85 .nr_cpus_allowed= NR_CPUS,
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Daffinity.c1008 if (current->nr_cpus_allowed == 1) { in hfi1_get_proc_affinity()
1019 } else if (current->nr_cpus_allowed < cpumask_weight(&set->mask)) { in hfi1_get_proc_affinity()
Dsdma.c838 if (current->nr_cpus_allowed != 1) in sdma_select_user_engine()
/Linux-v6.1/include/linux/
Dsched.h828 int nr_cpus_allowed; member
1784 (current->nr_cpus_allowed == 1); in is_percpu_thread()
/Linux-v6.1/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()