Home
last modified time | relevance | path

Searched refs:cpu_online_mask (Results 1 – 18 of 18) sorted by relevance

/kernel/
Dsmp.c332 cpu = cpumask_first_and(mask, cpu_online_mask); in smp_call_function_many()
334 cpu = cpumask_next_and(cpu, mask, cpu_online_mask); in smp_call_function_many()
340 next_cpu = cpumask_next_and(cpu, mask, cpu_online_mask); in smp_call_function_many()
342 next_cpu = cpumask_next_and(next_cpu, mask, cpu_online_mask); in smp_call_function_many()
368 cpumask_and(to_cpumask(data->cpumask_bits), mask, cpu_online_mask); in smp_call_function_many()
408 smp_call_function_many(cpu_online_mask, func, info, wait); in smp_call_function()
Dsoftlockup.c315 check_cpu = cpumask_any(cpu_online_mask); in cpu_callback()
323 check_cpu = cpumask_any_but(cpu_online_mask, hotcpu); in cpu_callback()
333 cpumask_any(cpu_online_mask)); in cpu_callback()
Dcpu.c230 cpumask_of(cpumask_any_but(cpu_online_mask, cpu))); in _cpu_down()
388 first_cpu = cpumask_first(cpu_online_mask); in disable_nonboot_cpus()
511 const struct cpumask *const cpu_online_mask = to_cpumask(cpu_online_bits); variable
512 EXPORT_SYMBOL(cpu_online_mask);
Dcpuset.c303 while (cs && !cpumask_intersects(cs->cpus_allowed, cpu_online_mask)) in guarantee_online_cpus()
306 cpumask_and(pmask, cs->cpus_allowed, cpu_online_mask); in guarantee_online_cpus()
308 cpumask_copy(pmask, cpu_online_mask); in guarantee_online_cpus()
309 BUG_ON(!cpumask_intersects(pmask, cpu_online_mask)); in guarantee_online_cpus()
946 if (!cpumask_subset(trialcs->cpus_allowed, cpu_online_mask)) in update_cpumask()
2023 if (cpumask_subset(cp->cpus_allowed, cpu_online_mask) && in scan_for_empty_cpusets()
2032 cpu_online_mask); in scan_for_empty_cpusets()
2079 cpumask_copy(top_cpuset.cpus_allowed, cpu_online_mask); in cpuset_track_online_cpus()
2124 cpumask_copy(top_cpuset.cpus_allowed, cpu_online_mask); in cpuset_init_smp()
Dstop_machine.c75 if (cpu == cpumask_first(cpu_online_mask)) in stop_cpu()
Drcuclassic.c113 to_cpumask(rcp->cpumask), cpu_online_mask) { in force_quiescent_state()
398 cpu_online_mask, nohz_cpu_mask); in rcu_start_batch()
Dsched.c5699 cpumask_and(mask, &p->cpus_allowed, cpu_online_mask); in sched_getaffinity()
6169 if (!cpumask_intersects(new_mask, cpu_online_mask)) { in set_cpus_allowed_ptr()
6191 if (migrate_task(p, cpumask_any_and(cpu_online_mask, new_mask), &req)) { in set_cpus_allowed_ptr()
6335 for_each_cpu_and(dest_cpu, nodemask, cpu_online_mask) in move_task_off_dead_cpu()
6340 dest_cpu = cpumask_any_and(&p->cpus_allowed, cpu_online_mask); in move_task_off_dead_cpu()
6347 dest_cpu = cpumask_any_and(cpu_online_mask, &p->cpus_allowed); in move_task_off_dead_cpu()
6376 struct rq *rq_dest = cpu_rq(cpumask_any(cpu_online_mask)); in migrate_nr_uninterruptible()
6741 cpumask_any(cpu_online_mask)); in migration_call()
7031 if (cpumask_test_cpu(rq->cpu, cpu_online_mask)) in rq_attach_root()
8037 cpumask_andnot(&doms_new[0], cpu_online_mask, cpu_isolated_map); in partition_sched_domains()
[all …]
Dsched_rt.c149 return cpu_online_mask; in sched_rt_period_mask()
217 return cpu_online_mask; in sched_rt_period_mask()
Dsoftirq.c737 cpumask_any(cpu_online_mask)); in cpu_callback()
Dworkqueue.c1018 cpumask_copy(cpu_populated_map, cpu_online_mask); in init_workqueues()
/kernel/irq/
Dmigration.c41 if (likely(cpumask_any_and(&desc->pending_mask, cpu_online_mask) in move_masked_irq()
44 &desc->pending_mask, cpu_online_mask); in move_masked_irq()
Dproc.c67 if (!cpumask_intersects(new_value, cpu_online_mask)) { in irq_affinity_proc_write()
124 if (!cpumask_intersects(new_value, cpu_online_mask)) { in default_affinity_write()
Dmanage.c122 if (cpumask_any_and(&desc->affinity, cpu_online_mask) in do_irq_select_affinity()
129 cpumask_and(&desc->affinity, cpu_online_mask, irq_default_affinity); in do_irq_select_affinity()
/kernel/time/
Dclocksource.c149 cpu_online_mask); in clocksource_watchdog()
152 next_cpu = cpumask_first(cpu_online_mask); in clocksource_watchdog()
177 cpumask_first(cpu_online_mask)); in clocksource_check_watchdog()
199 cpumask_first(cpu_online_mask)); in clocksource_check_watchdog()
Dtick-broadcast.c167 cpu_online_mask, tick_get_broadcast_mask()); in tick_do_periodic_broadcast()
275 if (!cpumask_test_cpu(*oncpu, cpu_online_mask)) in tick_broadcast_on_off()
Dtick-common.c284 int cpu = cpumask_first(cpu_online_mask); in tick_handover_do_timer()
/kernel/power/
Dpoweroff.c30 schedule_work_on(cpumask_first(cpu_online_mask), &poweroff_work); in handle_poweroff()
/kernel/trace/
Dtrace_functions_graph.c82 int log10_all = log10_cpu(cpumask_weight(cpu_online_mask)); in print_graph_cpu()