Searched refs:this_cpu (Results 1 - 25 of 62) sorted by path

123

/linux-master/arch/arm/kernel/
H A Dsmp_tlb.c166 int this_cpu; local
172 this_cpu = get_cpu();
173 a15_erratum_get_cpumask(this_cpu, mm, &mask);
H A Dmachine_kexec.c105 int cpu, this_cpu = raw_smp_processor_id(); local
112 if (cpu == this_cpu)
/linux-master/arch/sparc/kernel/
H A Dentry.h250 void sun4v_register_mondo_queues(int this_cpu);
H A Dchmc.c593 unsigned long ret, this_cpu; local
597 this_cpu = real_hard_smp_processor_id();
599 if (p->portid == this_cpu) {
H A Dirq_64.c1003 void notrace sun4v_register_mondo_queues(int this_cpu) argument
1005 struct trap_per_cpu *tb = &trap_block[this_cpu];
H A Dnmi.c75 int this_cpu = smp_processor_id(); local
82 panic("Watchdog detected hard LOCKUP on cpu %d", this_cpu);
84 WARN(1, "Watchdog detected hard LOCKUP on cpu %d", this_cpu);
H A Dprocess_64.c192 int this_cpu)
198 rp = &global_cpu_snapshot[this_cpu].reg;
244 int this_cpu, cpu; local
251 this_cpu = raw_smp_processor_id();
255 if (cpumask_test_cpu(this_cpu, mask) && this_cpu != exclude_cpu)
256 __global_reg_self(tp, regs, this_cpu);
272 (cpu == this_cpu ? '*' : ' '), cpu,
309 static void __global_pmu_self(int this_cpu) argument
317 pp = &global_cpu_snapshot[this_cpu]
191 __global_reg_self(struct thread_info *tp, struct pt_regs *regs, int this_cpu) argument
343 int this_cpu, cpu; local
[all...]
H A Dsmp_64.c647 int this_cpu, tot_cpus, prev_sent, i, rem; local
657 this_cpu = smp_processor_id();
764 this_cpu, ecpuerror_id - 1);
767 this_cpu, enocpu_id - 1);
774 this_cpu, tot_cpus, tb->cpu_list_pa, tb->cpu_mondo_block_pa);
780 this_cpu, first_cpu, (tot_retries + retries), tot_cpus);
789 int this_cpu, i, cnt; local
806 this_cpu = smp_processor_id();
807 tb = &trap_block[this_cpu];
820 if (i == this_cpu || !cpu_onlin
945 int this_cpu; local
1511 int this_cpu = smp_processor_id(); local
[all...]
/linux-master/init/
H A Dcalibrate.c279 int this_cpu = smp_processor_id(); local
281 if (per_cpu(cpu_loops_per_jiffy, this_cpu)) {
282 lpj = per_cpu(cpu_loops_per_jiffy, this_cpu);
306 per_cpu(cpu_loops_per_jiffy, this_cpu) = lpj;
/linux-master/arch/alpha/kernel/
H A Dsmp.c512 int this_cpu = smp_processor_id(); local
513 unsigned long *pending_ipis = &ipi_data[this_cpu].bits;
518 this_cpu, *pending_ipis, regs->pc));
545 this_cpu, which);
553 cpu_data[this_cpu].ipi_count++;
641 int cpu, this_cpu = smp_processor_id(); local
643 if (!cpu_online(cpu) || cpu == this_cpu)
688 int cpu, this_cpu = smp_processor_id(); local
690 if (!cpu_online(cpu) || cpu == this_cpu)
742 int cpu, this_cpu local
[all...]
/linux-master/arch/arm/common/
H A DbL_switcher.c149 unsigned int mpidr, this_cpu, that_cpu; local
155 this_cpu = smp_processor_id();
159 BUG_ON(cpu_logical_map(this_cpu) != ob_mpidr);
164 that_cpu = bL_switcher_cpu_pairing[this_cpu];
170 this_cpu, ob_mpidr, ib_mpidr);
172 this_cpu = smp_processor_id();
180 ipi_nr = register_ipi_completion(&inbound_alive, this_cpu);
227 cpu_logical_map(this_cpu) = ib_mpidr;
237 pr_debug("after switch: CPU %d MPIDR %#x\n", this_cpu, mpidr);
/linux-master/arch/arm/include/asm/
H A Dmmu_context.h49 void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm,
52 static inline void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, argument
/linux-master/arch/arm/mm/
H A Dcontext.c51 void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, argument
61 if (cpu == this_cpu)
/linux-master/arch/arm64/kernel/
H A Dsmp.c722 unsigned int this_cpu; local
726 this_cpu = smp_processor_id();
727 store_cpu_topology(this_cpu);
728 numa_store_cpu_info(this_cpu);
729 numa_add_cpu(this_cpu);
871 int this_cpu = raw_smp_processor_id(); local
876 if (cpu == this_cpu)
/linux-master/arch/parisc/kernel/
H A Dsmp.c122 int this_cpu = smp_processor_id(); local
123 struct cpuinfo_parisc *p = &per_cpu(cpu_data, this_cpu);
128 spinlock_t *lock = &per_cpu(ipi_lock, this_cpu);
146 smp_debug(100, KERN_DEBUG "CPU%d IPI_NOP\n", this_cpu);
150 smp_debug(100, KERN_DEBUG "CPU%d IPI_RESCHEDULE\n", this_cpu);
156 smp_debug(100, KERN_DEBUG "CPU%d IPI_CALL_FUNC\n", this_cpu);
162 smp_debug(100, KERN_DEBUG "CPU%d IPI_CPU_START\n", this_cpu);
166 smp_debug(100, KERN_DEBUG "CPU%d IPI_CPU_STOP\n", this_cpu);
171 smp_debug(100, KERN_DEBUG "CPU%d is alive!\n", this_cpu);
175 smp_debug(100, KERN_DEBUG "CPU%d ENTER_KGDB\n", this_cpu);
[all...]
/linux-master/arch/powerpc/include/asm/
H A Ddbell.h146 int this_cpu = get_cpu(); local
149 if (cpumask_test_cpu(cpu, cpu_sibling_mask(this_cpu))) {
/linux-master/arch/powerpc/kernel/
H A Dfadump.c697 int old_cpu, this_cpu; local
711 this_cpu = smp_processor_id();
712 old_cpu = cmpxchg(&crashing_cpu, -1, this_cpu);
/linux-master/arch/s390/kernel/
H A Dmachine_kexec.c82 int this_cpu, cpu; local
86 this_cpu = smp_find_processor_id(stap());
88 if (cpu == this_cpu)
H A Dprocessor.c69 int cpu, this_cpu; local
71 this_cpu = smp_processor_id();
74 cpu = cpumask_next_wrap(this_cpu, cpumask, this_cpu, false);
/linux-master/arch/s390/mm/
H A Dmaccess.c156 int this_cpu, cpu; local
159 this_cpu = get_cpu();
174 } else if (cpu == this_cpu) {
/linux-master/arch/sparc/mm/
H A Dinit_64.c229 static inline void set_dcache_dirty(struct folio *folio, int this_cpu) argument
231 unsigned long mask = this_cpu;
299 int this_cpu = get_cpu(); local
304 if (cpu == this_cpu)
467 int this_cpu; local
479 this_cpu = get_cpu();
487 if (dirty_cpu == this_cpu)
491 set_dcache_dirty(folio, this_cpu);
/linux-master/arch/x86/hyperv/
H A Dhv_apic.c160 int cur_cpu, vcpu, this_cpu = smp_processor_id(); local
175 (exclude_self && weight == 1 && cpumask_test_cpu(this_cpu, mask)))
204 if (exclude_self && cur_cpu == this_cpu)
/linux-master/arch/x86/kernel/apic/
H A Dapic_numachip.c104 unsigned int this_cpu = smp_processor_id(); local
108 if (cpu != this_cpu)
115 unsigned int this_cpu = smp_processor_id(); local
119 if (cpu != this_cpu)
H A Dipi.c214 unsigned int cpu, this_cpu = smp_processor_id(); local
219 if (cpu == this_cpu)
265 unsigned int cpu, this_cpu = smp_processor_id(); local
270 if (cpu == this_cpu)
H A Dx2apic_phys.c57 unsigned long this_cpu; local
65 this_cpu = smp_processor_id();
67 if (apic_dest == APIC_DEST_ALLBUT && this_cpu == query_cpu)

Completed in 409 milliseconds

123