Searched refs:cpu_active_mask (Results 1 – 13 of 13) sorted by relevance
/linux/include/linux/ |
H A D | cpumask.h | 125 #define cpu_active_mask ((const struct cpumask *)&__cpu_active_mask) macro 1112 #define num_active_cpus() cpumask_weight(cpu_active_mask) 1136 return cpumask_test_cpu(cpu, cpu_active_mask); in cpu_active()
|
/linux/arch/mips/kernel/ |
H A D | mips-mt-fpaff.c | 182 cpumask_and(&mask, &allowed, cpu_active_mask); in mipsmt_sys_sched_getaffinity()
|
/linux/kernel/sched/ |
H A D | cpupri.c | 104 cpumask_and(lowest_mask, lowest_mask, cpu_active_mask); in __cpupri_find()
|
H A D | deadline.c | 130 if (cpumask_subset(rd->span, cpu_active_mask)) in dl_bw_cpus() 135 for_each_cpu_and(i, rd->span, cpu_active_mask) in dl_bw_cpus() 146 for_each_cpu_and(i, mask, cpu_active_mask) in __dl_bw_capacity() 188 for_each_cpu_and(i, rd->span, cpu_active_mask) { in __dl_update() 699 cpu = cpumask_any_and(cpu_active_mask, p->cpus_ptr); in dl_task_offline_migration() 712 cpu = cpumask_any(cpu_active_mask); in dl_task_offline_migration()
|
H A D | syscalls.c | 1310 cpumask_and(mask, &p->cpus_mask, cpu_active_mask); in sched_getaffinity()
|
H A D | core.c | 3071 const struct cpumask *cpu_valid_mask = cpu_active_mask; in __set_cpus_allowed_ptr_locked() 8428 sched_init_domains(cpu_active_mask); in sched_init_smp()
|
H A D | fair.c | 6644 if (cpumask_test_cpu(cpu_of(rq), cpu_active_mask)) in unthrottle_offline_cfs_rqs() 11739 cpumask_and(cpus, sched_domain_span(sd), cpu_active_mask); in sched_balance_rq()
|
/linux/kernel/cgroup/ |
H A D | cpuset.c | 1036 !cpumask_equal(top_cpuset.effective_cpus, cpu_active_mask)) in rebuild_sched_domains_locked() 1052 cpu_active_mask)) { in rebuild_sched_domains_locked() 1214 (!cpumask_intersects(xcpus, cpu_active_mask) && in tasks_nocpu_error() 1311 cpumask_and(xcpus, xcpus, cpu_active_mask); in partition_xcpus_del() 1740 !cpumask_intersects(tmp->addmask, cpu_active_mask))) { in update_parent_effective_cpumask() 1922 cpumask_and(new_ecpus, new_ecpus, cpu_active_mask); in compute_partition_effective_cpumask() 2962 int cpu = cpumask_any_and(cpu_active_mask, cs->effective_cpus); in cpuset_can_attach() 3827 cpumask_copy(&new_cpus, cpu_active_mask); in cpuset_handle_hotplug() 3939 cpumask_copy(top_cpuset.effective_cpus, cpu_active_mask); in cpuset_init_smp()
|
/linux/kernel/ |
H A D | stop_machine.c | 696 queue_stop_cpus_work(cpu_active_mask, multi_cpu_stop, &msdata, in stop_machine_from_inactive_cpu()
|
H A D | workqueue.c | 2706 if (cpumask_intersects(wq_unbound_cpumask, cpu_active_mask)) in unbind_worker()
|
/linux/arch/powerpc/perf/ |
H A D | hv-gpci.c | 862 target = cpumask_last(cpu_active_mask); in ppc_hv_gpci_cpu_offline()
|
/linux/kernel/time/ |
H A D | hrtimer.c | 2321 int i, ncpu = cpumask_any_and(cpu_active_mask, housekeeping_cpumask(HK_TYPE_TIMER)); in hrtimers_cpu_dying()
|
/linux/arch/arm64/kernel/ |
H A D | cpufeature.c | 3809 cpu_active_mask); in enable_mismatched_32bit_el0()
|