Home
last modified time | relevance | path

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

/openbmc/linux/kernel/sched/
H A Ddeadline.c576 if (p->nr_cpus_allowed > 1) in inc_dl_migration()
586 if (p->nr_cpus_allowed > 1) in dec_dl_migration()
1760 if (!task_current(rq, p) && !p->dl.dl_throttled && p->nr_cpus_allowed > 1) in enqueue_task_dl()
1850 (curr->nr_cpus_allowed < 2 || in select_task_rq_dl()
1852 p->nr_cpus_allowed > 1; in select_task_rq_dl()
1913 if (rq->curr->nr_cpus_allowed == 1 || in check_preempt_equal_dl()
1921 if (p->nr_cpus_allowed != 1 && in check_preempt_equal_dl()
2052 if (on_dl_rq(&p->dl) && p->nr_cpus_allowed > 1) in put_prev_task_dl()
2141 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 …]
H A Drt.c389 if (p->nr_cpus_allowed > 1) in inc_rt_migration()
406 if (p->nr_cpus_allowed > 1) in dec_rt_migration()
1542 if (!task_current(rq, p) && p->nr_cpus_allowed > 1) in enqueue_task_rt()
1637 (curr->nr_cpus_allowed < 2 || curr->prio <= p->prio); in select_task_rq_rt()
1671 if (rq->curr->nr_cpus_allowed == 1 || in check_preempt_equal_prio()
1679 if (p->nr_cpus_allowed != 1 && in check_preempt_equal_prio()
1835 if (on_rt_rq(&p->rt) && p->nr_cpus_allowed > 1) in put_prev_task_rt()
1887 if (task->nr_cpus_allowed == 1) in find_lowest_rq()
2039 BUG_ON(p->nr_cpus_allowed <= 1); in pick_next_pushable_task()
2469 p->nr_cpus_allowed > 1 && in task_woken_rt()
[all …]
H A Didle.c346 WARN_ON_ONCE(current->nr_cpus_allowed != 1); in play_idle_precise()
H A Dsched.h2394 if (p->nr_cpus_allowed == 1) in get_push_task()
3273 if (p->nr_cpus_allowed != 1) in is_per_cpu_kthread()
H A Dcore.c2736 p->nr_cpus_allowed = cpumask_weight(ctx->new_mask); in set_cpus_allowed_common()
3630 if (p->nr_cpus_allowed > 1 && !is_migration_disabled(p)) in select_task_rq()
11857 atomic_read(&mm->mm_users) >= t->nr_cpus_allowed) in sched_mm_cid_migrate_to()
H A Dfair.c5118 if (!p || p->nr_cpus_allowed == 1) { in update_misfit_status()
10462 if (p->nr_cpus_allowed != NR_CPUS) { in find_idlest_group()
/openbmc/linux/init/
H A Dinit_task.c85 .nr_cpus_allowed= NR_CPUS,
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A 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()
H A Dsdma.c838 if (current->nr_cpus_allowed != 1) in sdma_select_user_engine()
/openbmc/linux/include/linux/
H A Dsched.h837 int nr_cpus_allowed; member
1798 (current->nr_cpus_allowed == 1); in is_percpu_thread()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c1144 const unsigned int weight = current->nr_cpus_allowed; in assign_ctxt_affinity()
1626 const unsigned int weight = current->nr_cpus_allowed; in qib_assign_ctxt()
/openbmc/linux/kernel/trace/
H A Dtrace_osnoise.c2444 if (current->nr_cpus_allowed > 1 || cpu != smp_processor_id()) { in timerlat_fd_open()