Searched refs:cpu_online_mask (Results 1 – 18 of 18) sorted by relevance
/kernel/ |
D | smp.c | 332 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()
|
D | softlockup.c | 315 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()
|
D | cpu.c | 230 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);
|
D | cpuset.c | 303 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()
|
D | stop_machine.c | 75 if (cpu == cpumask_first(cpu_online_mask)) in stop_cpu()
|
D | rcuclassic.c | 113 to_cpumask(rcp->cpumask), cpu_online_mask) { in force_quiescent_state() 398 cpu_online_mask, nohz_cpu_mask); in rcu_start_batch()
|
D | sched.c | 5699 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 …]
|
D | sched_rt.c | 149 return cpu_online_mask; in sched_rt_period_mask() 217 return cpu_online_mask; in sched_rt_period_mask()
|
D | softirq.c | 737 cpumask_any(cpu_online_mask)); in cpu_callback()
|
D | workqueue.c | 1018 cpumask_copy(cpu_populated_map, cpu_online_mask); in init_workqueues()
|
/kernel/irq/ |
D | migration.c | 41 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()
|
D | proc.c | 67 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()
|
D | manage.c | 122 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/ |
D | clocksource.c | 149 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()
|
D | tick-broadcast.c | 167 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()
|
D | tick-common.c | 284 int cpu = cpumask_first(cpu_online_mask); in tick_handover_do_timer()
|
/kernel/power/ |
D | poweroff.c | 30 schedule_work_on(cpumask_first(cpu_online_mask), &poweroff_work); in handle_poweroff()
|
/kernel/trace/ |
D | trace_functions_graph.c | 82 int log10_all = log10_cpu(cpumask_weight(cpu_online_mask)); in print_graph_cpu()
|