Home
last modified time | relevance | path

Searched refs:cpu_callin_map (Results 1 – 16 of 16) sorted by relevance

/arch/m32r/kernel/
Dsmpboot.c78 static cpumask_t cpu_callin_map; variable
140 cpumask_set_cpu(0, &cpu_callin_map); in smp_prepare_boot_cpu()
326 if (cpumask_test_cpu(cpu_id, &cpu_callin_map)) in do_boot_cpu()
331 if (cpumask_test_cpu(cpu_id, &cpu_callin_map)) { in do_boot_cpu()
344 cpumask_clear_cpu(cpu_id, &cpu_callin_map); in do_boot_cpu()
376 if (cpumask_equal(&cpu_callin_map, cpu_online_mask)) in smp_cpus_done()
380 if (!cpumask_equal(&cpu_callin_map, cpu_online_mask)) in smp_cpus_done()
466 if (cpumask_test_cpu(cpu_id, &cpu_callin_map)) { in smp_callin()
489 cpumask_set_cpu(cpu_id, &cpu_callin_map); in smp_callin()
/arch/um/kernel/
Dsmp.c57 static cpumask_t cpu_callin_map = CPU_MASK_NONE; variable
70 if (cpu_test_and_set(cpu, cpu_callin_map)) { in idle_proc()
114 cpu_set(me, cpu_callin_map); in smp_prepare_cpus()
130 while (waittime-- && !cpu_isset(cpu, cpu_callin_map)) in smp_prepare_cpus()
/arch/mips/kernel/
Dsmp.c49 volatile cpumask_t cpu_callin_map; /* Bitmask of started secondaries */ variable
128 cpu_set(cpu, cpu_callin_map); in start_secondary()
186 cpu_set(0, cpu_callin_map); in smp_prepare_boot_cpu()
248 while (!cpu_isset(cpu, cpu_callin_map)) in __cpu_up()
Dsmp-bmips.c321 cpu_clear(cpu, cpu_callin_map); in bmips_cpu_disable()
Dprocess.c75 if (!cpu_online(cpu) && !cpu_isset(cpu, cpu_callin_map)) in cpu_idle()
/arch/ia64/kernel/
Dsmpboot.c143 static volatile cpumask_t cpu_callin_map; variable
453 cpu_set(cpuid, cpu_callin_map); in smp_callin()
541 if (cpu_isset(cpu, cpu_callin_map)) in do_boot_cpu()
547 if (!cpu_isset(cpu, cpu_callin_map)) { in do_boot_cpu()
607 cpu_set(0, cpu_callin_map); in smp_prepare_cpus()
631 cpu_set(smp_processor_id(), cpu_callin_map); in smp_prepare_boot_cpu()
739 cpu_clear(cpu, cpu_callin_map); in __cpu_disable()
809 if (cpu_isset(cpu, cpu_callin_map)) in __cpu_up()
/arch/powerpc/kernel/
Dsmp.c95 volatile unsigned int cpu_callin_map[NR_CPUS]; variable
354 cpu_callin_map[boot_cpuid] = 1; in smp_prepare_cpus()
510 cpu_callin_map[cpu] = 0; in __cpu_up()
532 for (c = 50000; c && !cpu_callin_map[cpu]; c--) in __cpu_up()
540 for (c = 5000; c && !cpu_callin_map[cpu]; c--) in __cpu_up()
544 if (!cpu_callin_map[cpu]) { in __cpu_up()
632 cpu_callin_map[cpu] = 1; in start_secondary()
/arch/sparc/kernel/
Dsun4m_smp.c61 swap_ulong(&cpu_callin_map[cpuid], 1); in smp4m_callin()
125 if (cpu_callin_map[i]) in smp4m_boot_one_cpu()
130 if (!(cpu_callin_map[i])) { in smp4m_boot_one_cpu()
Dleon_smp.c55 extern volatile unsigned long cpu_callin_map[NR_CPUS];
100 do_swap(&cpu_callin_map[cpuid], 1); in leon_callin()
240 if (cpu_callin_map[i]) in leon_boot_one_cpu()
246 if (!(cpu_callin_map[i])) { in leon_boot_one_cpu()
Dsun4d_smp.c81 sun4d_swap((unsigned long *)&cpu_callin_map[cpuid], 1); in smp4d_callin()
161 if (cpu_callin_map[i]) in smp4d_boot_one_cpu()
166 if (!(cpu_callin_map[i])) { in smp4d_boot_one_cpu()
Dsmp_32.c39 volatile unsigned long cpu_callin_map[NR_CPUS] __cpuinitdata = {0,}; variable
/arch/mips/include/asm/
Dsmp.h44 extern volatile cpumask_t cpu_callin_map;
/arch/mn10300/kernel/
Dsmp.c83 static cpumask_t cpu_callin_map; /* Bitmask of callin CPUs */ variable
790 &cpu_callin_map); in do_boot_cpu()
801 cpumask_clear_cpu(cpu_id, &cpu_callin_map); in do_boot_cpu()
837 if (cpumask_test_cpu(cpu, &cpu_callin_map)) { in smp_callin()
865 cpumask_set_cpu(cpu, &cpu_callin_map); in smp_callin()
905 cpumask_set_cpu(0, &cpu_callin_map); in smp_prepare_boot_cpu()
1115 cpumask_set_cpu(cpu, &cpu_callin_map); in restart_wakeup_cpu()
/arch/sparc/include/asm/
Dsmp_32.h32 extern volatile unsigned long cpu_callin_map[NR_CPUS];
/arch/powerpc/platforms/powermac/
Dsmp.c349 extern volatile unsigned int cpu_callin_map[NR_CPUS]; in smp_psurge_kick_cpu()
378 for (i = 0; i < 100000 && !cpu_callin_map[nr]; ++i) { in smp_psurge_kick_cpu()
383 if (!cpu_callin_map[nr]) in smp_psurge_kick_cpu()
/arch/mips/cavium-octeon/
Dsmp.c272 cpu_clear(cpu, cpu_callin_map); in octeon_cpu_disable()