| /arch/parisc/kernel/ |
| A D | smp.c | 122 int this_cpu = smp_processor_id(); in ipi_interrupt() local 123 struct cpuinfo_parisc *p = &per_cpu(cpu_data, this_cpu); in ipi_interrupt() 128 spinlock_t *lock = &per_cpu(ipi_lock, this_cpu); in ipi_interrupt() 146 smp_debug(100, KERN_DEBUG "CPU%d IPI_NOP\n", this_cpu); in ipi_interrupt() 150 smp_debug(100, KERN_DEBUG "CPU%d IPI_RESCHEDULE\n", this_cpu); in ipi_interrupt() 156 smp_debug(100, KERN_DEBUG "CPU%d IPI_CALL_FUNC\n", this_cpu); in ipi_interrupt() 162 smp_debug(100, KERN_DEBUG "CPU%d IPI_CPU_START\n", this_cpu); in ipi_interrupt() 166 smp_debug(100, KERN_DEBUG "CPU%d IPI_CPU_STOP\n", this_cpu); in ipi_interrupt() 171 smp_debug(100, KERN_DEBUG "CPU%d is alive!\n", this_cpu); in ipi_interrupt() 175 smp_debug(100, KERN_DEBUG "CPU%d ENTER_KGDB\n", this_cpu); in ipi_interrupt() [all …]
|
| /arch/sparc/kernel/ |
| A D | process_64.c | 192 int this_cpu) in __global_reg_self() argument 198 rp = &global_cpu_snapshot[this_cpu].reg; in __global_reg_self() 244 int this_cpu, cpu; in arch_trigger_cpumask_backtrace() local 251 this_cpu = raw_smp_processor_id(); in arch_trigger_cpumask_backtrace() 255 if (cpumask_test_cpu(this_cpu, mask) && this_cpu != exclude_cpu) in arch_trigger_cpumask_backtrace() 256 __global_reg_self(tp, regs, this_cpu); in arch_trigger_cpumask_backtrace() 309 static void __global_pmu_self(int this_cpu) in __global_pmu_self() argument 317 pp = &global_cpu_snapshot[this_cpu].pmu; in __global_pmu_self() 343 int this_cpu, cpu; in pmu_snapshot_all_cpus() local 349 this_cpu = raw_smp_processor_id(); in pmu_snapshot_all_cpus() [all …]
|
| A D | smp_64.c | 655 this_cpu = smp_processor_id(); in hypervisor_xcall_deliver() 762 this_cpu, ecpuerror_id - 1); in hypervisor_xcall_deliver() 765 this_cpu, enocpu_id - 1); in hypervisor_xcall_deliver() 787 int this_cpu, i, cnt; in xcall_deliver() local 804 this_cpu = smp_processor_id(); in xcall_deliver() 805 tb = &trap_block[this_cpu]; in xcall_deliver() 943 int this_cpu; in smp_flush_dcache_folio_impl() local 952 this_cpu = get_cpu(); in smp_flush_dcache_folio_impl() 954 if (cpu == this_cpu) { in smp_flush_dcache_folio_impl() 1495 int this_cpu = smp_processor_id(); in smp_send_stop() local [all …]
|
| A D | nmi.c | 75 int this_cpu = smp_processor_id(); in die_nmi() local 82 panic("Watchdog detected hard LOCKUP on cpu %d", this_cpu); in die_nmi() 84 WARN(1, "Watchdog detected hard LOCKUP on cpu %d", this_cpu); in die_nmi()
|
| /arch/x86/kernel/ |
| A D | smp.c | 151 unsigned int old_cpu, this_cpu; in native_stop_other_cpus() local 159 this_cpu = smp_processor_id(); in native_stop_other_cpus() 160 if (!atomic_try_cmpxchg(&stopping_cpu, &old_cpu, this_cpu)) in native_stop_other_cpus() 191 cpumask_clear_cpu(this_cpu, &cpus_stop_mask); in native_stop_other_cpus()
|
| /arch/alpha/kernel/ |
| A D | smp.c | 513 int this_cpu = smp_processor_id(); in handle_ipi() local 514 unsigned long *pending_ipis = &ipi_data[this_cpu].bits; in handle_ipi() 519 this_cpu, *pending_ipis, regs->pc)); in handle_ipi() 546 this_cpu, which); in handle_ipi() 554 cpu_data[this_cpu].ipi_count++; in handle_ipi() 642 int cpu, this_cpu = smp_processor_id(); in flush_tlb_mm() local 644 if (!cpu_online(cpu) || cpu == this_cpu) in flush_tlb_mm() 689 int cpu, this_cpu = smp_processor_id(); in flush_tlb_page() local 691 if (!cpu_online(cpu) || cpu == this_cpu) in flush_tlb_page() 743 int cpu, this_cpu = smp_processor_id(); in flush_icache_user_page() local [all …]
|
| /arch/arm/common/ |
| A D | bL_switcher.c | 149 unsigned int mpidr, this_cpu, that_cpu; in bL_switch_to() local 155 this_cpu = smp_processor_id(); in bL_switch_to() 159 BUG_ON(cpu_logical_map(this_cpu) != ob_mpidr); in bL_switch_to() 164 that_cpu = bL_switcher_cpu_pairing[this_cpu]; in bL_switch_to() 170 this_cpu, ob_mpidr, ib_mpidr); in bL_switch_to() 172 this_cpu = smp_processor_id(); in bL_switch_to() 180 ipi_nr = register_ipi_completion(&inbound_alive, this_cpu); in bL_switch_to() 227 cpu_logical_map(this_cpu) = ib_mpidr; in bL_switch_to() 237 pr_debug("after switch: CPU %d MPIDR %#x\n", this_cpu, mpidr); in bL_switch_to()
|
| /arch/x86/kernel/apic/ |
| A D | ipi.c | 215 unsigned int cpu, this_cpu = smp_processor_id(); in default_send_IPI_mask_allbutself_phys() local 220 if (cpu == this_cpu) in default_send_IPI_mask_allbutself_phys() 266 unsigned int cpu, this_cpu = smp_processor_id(); in default_send_IPI_mask_allbutself_logical() local 271 if (cpu == this_cpu) in default_send_IPI_mask_allbutself_logical()
|
| A D | apic_numachip.c | 105 unsigned int this_cpu = smp_processor_id(); in numachip_send_IPI_mask_allbutself() local 109 if (cpu != this_cpu) in numachip_send_IPI_mask_allbutself() 116 unsigned int this_cpu = smp_processor_id(); in numachip_send_IPI_allbutself() local 120 if (cpu != this_cpu) in numachip_send_IPI_allbutself()
|
| A D | x2apic_phys.c | 57 unsigned long this_cpu; in __x2apic_send_IPI_mask() local 65 this_cpu = smp_processor_id(); in __x2apic_send_IPI_mask() 67 if (apic_dest == APIC_DEST_ALLBUT && this_cpu == query_cpu) in __x2apic_send_IPI_mask()
|
| /arch/s390/kernel/ |
| A D | machine_kexec.c | 84 int this_cpu, cpu; in __machine_kdump() local 88 this_cpu = smp_find_processor_id(stap()); in __machine_kdump() 90 if (cpu == this_cpu) in __machine_kdump()
|
| A D | processor.c | 72 int cpu, this_cpu; in stop_machine_yield() local 74 this_cpu = smp_processor_id(); in stop_machine_yield() 77 cpu = cpumask_next_wrap(this_cpu, cpumask); in stop_machine_yield()
|
| /arch/arm/kernel/ |
| A D | smp_tlb.c | 166 int this_cpu; in broadcast_tlb_mm_a15_erratum() local 172 this_cpu = get_cpu(); in broadcast_tlb_mm_a15_erratum() 173 a15_erratum_get_cpumask(this_cpu, mm, &mask); in broadcast_tlb_mm_a15_erratum()
|
| A D | machine_kexec.c | 105 int cpu, this_cpu = raw_smp_processor_id(); in crash_smp_send_stop() local 112 if (cpu == this_cpu) in crash_smp_send_stop()
|
| /arch/s390/mm/ |
| A D | maccess.c | 157 int this_cpu, cpu; in xlate_dev_mem_ptr() local 160 this_cpu = get_cpu(); in xlate_dev_mem_ptr() 175 } else if (cpu == this_cpu) { in xlate_dev_mem_ptr()
|
| /arch/powerpc/include/asm/ |
| A D | dbell.h | 146 int this_cpu = get_cpu(); in doorbell_try_core_ipi() local 149 if (cpumask_test_cpu(cpu, cpu_sibling_mask(this_cpu))) { in doorbell_try_core_ipi()
|
| /arch/arm/include/asm/ |
| A D | mmu_context.h | 49 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, in a15_erratum_get_cpumask() argument
|
| /arch/x86/hyperv/ |
| A D | hv_apic.c | 165 int cur_cpu, vcpu, this_cpu = smp_processor_id(); in __send_ipi_mask() local 180 (exclude_self && weight == 1 && cpumask_test_cpu(this_cpu, mask))) in __send_ipi_mask() 209 if (exclude_self && cur_cpu == this_cpu) in __send_ipi_mask()
|
| /arch/arm64/kernel/ |
| A D | smp.c | 777 unsigned int this_cpu; in smp_prepare_cpus() local 781 this_cpu = smp_processor_id(); in smp_prepare_cpus() 782 store_cpu_topology(this_cpu); in smp_prepare_cpus() 783 numa_store_cpu_info(this_cpu); in smp_prepare_cpus() 784 numa_add_cpu(this_cpu); in smp_prepare_cpus() 942 int this_cpu = raw_smp_processor_id(); in kgdb_roundup_cpus() local 947 if (cpu == this_cpu) in kgdb_roundup_cpus()
|
| /arch/x86/kernel/cpu/ |
| A D | common.c | 693 if (!this_cpu) in table_lookup_model() 861 if (this_cpu->c_detect_tlb) in cpu_detect_tlb() 862 this_cpu->c_detect_tlb(c); in cpu_detect_tlb() 884 this_cpu = cpu_devs[i]; in get_cpu_vendor() 894 this_cpu = &default_cpu; in get_cpu_vendor() 1749 if (this_cpu->c_bsp_init) in early_identify_cpu() 1750 this_cpu->c_bsp_init(c); in early_identify_cpu() 1959 if (this_cpu->c_identify) in identify_cpu() 1960 this_cpu->c_identify(c); in identify_cpu() 1981 if (this_cpu->c_init) in identify_cpu() [all …]
|
| A D | mshyperv.c | 331 unsigned int old_cpu, this_cpu; in hv_nmi_unknown() local 337 this_cpu = raw_smp_processor_id(); in hv_nmi_unknown() 338 if (!atomic_try_cmpxchg(&nmi_cpu, &old_cpu, this_cpu)) in hv_nmi_unknown()
|
| /arch/x86/lib/ |
| A D | msr-smp.c | 102 int this_cpu; in __rwmsr_on_cpus() local 109 this_cpu = get_cpu(); in __rwmsr_on_cpus() 111 if (cpumask_test_cpu(this_cpu, mask)) in __rwmsr_on_cpus()
|
| /arch/arm/mm/ |
| A D | context.c | 51 void a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, in a15_erratum_get_cpumask() argument 61 if (cpu == this_cpu) in a15_erratum_get_cpumask()
|
| /arch/riscv/kernel/ |
| A D | smp.c | 356 int this_cpu = raw_smp_processor_id(); in kgdb_roundup_cpus() local 361 if (cpu == this_cpu) in kgdb_roundup_cpus()
|
| /arch/x86/xen/ |
| A D | smp.c | 235 unsigned int this_cpu = smp_processor_id(); in xen_send_IPI_mask_allbutself() local 242 if (this_cpu == cpu) in xen_send_IPI_mask_allbutself()
|