Home
last modified time | relevance | path

Searched refs:cpus_ptr (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/kernel/sched/
Dcpupri.c76 if (cpumask_any_and(p->cpus_ptr, vec->mask) >= nr_cpu_ids) in __cpupri_find()
80 cpumask_and(lowest_mask, p->cpus_ptr, vec->mask); in __cpupri_find()
Dcpudeadline.c123 cpumask_and(later_mask, cp->free_cpus, p->cpus_ptr)) { in cpudl_find()
154 if (cpumask_test_cpu(best_cpu, p->cpus_ptr) && in cpudl_find()
Dfair.c1661 !cpumask_test_cpu(cpu, env->p->cpus_ptr)) in update_numa_stats()
1693 !cpumask_test_cpu(cpu, env->p->cpus_ptr)) { in task_numa_assign()
1806 if (!cpumask_test_cpu(env->src_cpu, cur->cpus_ptr)) in task_numa_compare()
1995 if (!cpumask_test_cpu(cpu, env->p->cpus_ptr)) in task_numa_find_cpu()
6178 for_each_cpu_and(i, sched_group_span(group), p->cpus_ptr) { in find_idlest_group_cpu()
6224 if (!cpumask_intersects(sched_domain_span(sd), p->cpus_ptr)) in find_idlest_cpu()
6341 cpumask_and(cpus, sched_domain_span(sd), p->cpus_ptr); in select_idle_core()
6380 if (!cpumask_test_cpu(cpu, p->cpus_ptr) || in select_idle_smt()
6444 cpumask_and(cpus, sched_domain_span(sd), p->cpus_ptr); in select_idle_cpu()
6474 cpumask_and(cpus, sched_domain_span(sd), p->cpus_ptr); in select_idle_capacity()
[all …]
Dcore.c1767 if (!cpumask_test_cpu(cpu, p->cpus_ptr)) in is_cpu_allowed()
2159 if (!cpumask_test_cpu(arg->dst_cpu, arg->src_task->cpus_ptr)) in migrate_swap_stop()
2162 if (!cpumask_test_cpu(arg->src_cpu, arg->dst_task->cpus_ptr)) in migrate_swap_stop()
2204 if (!cpumask_test_cpu(arg.dst_cpu, arg.src_task->cpus_ptr)) in migrate_swap()
2207 if (!cpumask_test_cpu(arg.src_cpu, arg.dst_task->cpus_ptr)) in migrate_swap()
2401 if (cpumask_test_cpu(dest_cpu, p->cpus_ptr)) in select_fallback_rq()
2408 for_each_cpu(dest_cpu, p->cpus_ptr) { in select_fallback_rq()
2486 cpu = cpumask_any(p->cpus_ptr); in select_task_rq()
5590 if (!cpumask_subset(span, p->cpus_ptr) || in __sched_setscheduler()
6878 if (!cpumask_test_cpu(target_cpu, p->cpus_ptr)) in migrate_task_to()
Ddeadline.c606 cpu = cpumask_any_and(cpu_active_mask, p->cpus_ptr); in dl_task_offline_migration()
1928 cpumask_test_cpu(cpu, p->cpus_ptr)) in pick_dl_task()
2106 !cpumask_test_cpu(later_rq->cpu, task->cpus_ptr))) { in find_lock_later_rq()
Drt.c1699 cpumask_test_cpu(cpu, p->cpus_ptr)) in pick_rt_task()
1844 if (!cpumask_test_cpu(cpu, task->cpus_ptr)) in find_cas_cpu()
2045 !cpumask_test_cpu(lowest_rq->cpu, task->cpus_ptr))) { in find_lock_lowest_rq()
/kernel/linux/linux-5.10/samples/trace_events/
Dtrace-events-sample.c37 current->cpus_ptr); in simple_thread_func()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dmips-mt-fpaff.c180 cpumask_or(&allowed, &p->thread.user_cpus_allowed, p->cpus_ptr); in mipsmt_sys_sched_getaffinity()
/kernel/linux/linux-5.10/init/
Dinit_task.c85 .cpus_ptr = &init_task.cpus_mask,
/kernel/linux/linux-5.10/fs/proc/
Darray.c387 cpumask_pr_args(task->cpus_ptr)); in task_cpus_allowed()
389 cpumask_pr_args(task->cpus_ptr)); in task_cpus_allowed()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_hwlat.c296 if (!cpumask_equal(current_mask, current->cpus_ptr)) in move_to_next_cpu()
/kernel/linux/linux-5.10/kernel/sched/rtg/
Drtg.c715 cpumask_and(&search_cpus, p->cpus_ptr, cpu_online_mask); in find_rtg_cpu()
1164 tsk->prio, task_cpu(tsk), cpumask_pr_args(tsk->cpus_ptr)); in print_rtg_task()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/
Dpseudo_lock.c1508 if (!cpumask_subset(current->cpus_ptr, &plr->d->cpu_mask)) { in pseudo_lock_dev_mmap()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dsched.c131 cpumask_copy(&ctx->cpus_allowed, current->cpus_ptr); in __spu_update_sched_info()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Daffinity.c1044 *proc_mask = current->cpus_ptr; in hfi1_get_proc_affinity()
/kernel/linux/linux-5.10/kernel/
Dfork.c926 if (orig->cpus_ptr == &orig->cpus_mask) in dup_task_struct()
927 tsk->cpus_ptr = &tsk->cpus_mask; in dup_task_struct()
/kernel/linux/linux-5.10/include/linux/
Dsched.h866 const cpumask_t *cpus_ptr; member
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch562 - set_cpus_allowed_ptr(task, current->cpus_ptr);
1410 + cpumask_test_cpu(this_cpu, p->cpus_ptr)) {
/kernel/linux/linux-5.10/kernel/cgroup/
Dcpuset.c2925 set_cpus_allowed_ptr(task, current->cpus_ptr); in cpuset_fork()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_file_ops.c1626 const unsigned int cpu = cpumask_first(current->cpus_ptr); in qib_assign_ctxt()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch50278 + cpumask_copy(&task_cpumask, current->cpus_ptr);
50381 + cpumask_copy(&task_cpumask, current->cpus_ptr);
50420 + cpumask_copy(&task_cpumask, current->cpus_ptr);