/arch/parisc/kernel/ |
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/ |
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() 272 (cpu == this_cpu ? '*' : ' '), 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 [all …]
|
D | smp_64.c | 647 int this_cpu, tot_cpus, prev_sent, i, rem; in hypervisor_xcall_deliver() local 657 this_cpu = smp_processor_id(); in hypervisor_xcall_deliver() 764 this_cpu, ecpuerror_id - 1); in hypervisor_xcall_deliver() 767 this_cpu, enocpu_id - 1); in hypervisor_xcall_deliver() 774 this_cpu, tot_cpus, tb->cpu_list_pa, tb->cpu_mondo_block_pa); in hypervisor_xcall_deliver() 780 this_cpu, first_cpu, (tot_retries + retries), tot_cpus); in hypervisor_xcall_deliver() 789 int this_cpu, i, cnt; in xcall_deliver() local 806 this_cpu = smp_processor_id(); in xcall_deliver() 807 tb = &trap_block[this_cpu]; in xcall_deliver() 820 if (i == this_cpu || !cpu_online(i)) in xcall_deliver() [all …]
|
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()
|
D | chmc.c | 593 unsigned long ret, this_cpu; in chmc_read_mcreg() local 597 this_cpu = real_hard_smp_processor_id(); in chmc_read_mcreg() 599 if (p->portid == this_cpu) { in chmc_read_mcreg()
|
/arch/alpha/kernel/ |
D | smp.c | 517 int this_cpu = smp_processor_id(); in handle_ipi() local 518 unsigned long *pending_ipis = &ipi_data[this_cpu].bits; in handle_ipi() 523 this_cpu, *pending_ipis, regs->pc)); in handle_ipi() 550 this_cpu, which); in handle_ipi() 558 cpu_data[this_cpu].ipi_count++; in handle_ipi() 646 int cpu, this_cpu = smp_processor_id(); in flush_tlb_mm() local 648 if (!cpu_online(cpu) || cpu == this_cpu) in flush_tlb_mm() 693 int cpu, this_cpu = smp_processor_id(); in flush_tlb_page() local 695 if (!cpu_online(cpu) || cpu == this_cpu) in flush_tlb_page() 747 int cpu, this_cpu = smp_processor_id(); in flush_icache_user_page() local [all …]
|
/arch/x86/lib/ |
D | msr-smp.c | 12 int this_cpu = raw_smp_processor_id(); in __rdmsr_on_cpu() local 15 reg = per_cpu_ptr(rv->msrs, this_cpu); in __rdmsr_on_cpu() 26 int this_cpu = raw_smp_processor_id(); in __wrmsr_on_cpu() local 29 reg = per_cpu_ptr(rv->msrs, this_cpu); in __wrmsr_on_cpu() 104 int this_cpu; in __rwmsr_on_cpus() local 111 this_cpu = get_cpu(); in __rwmsr_on_cpus() 113 if (cpumask_test_cpu(this_cpu, mask)) in __rwmsr_on_cpus()
|
/arch/x86/kernel/apic/ |
D | ipi.c | 206 unsigned int cpu, this_cpu = smp_processor_id(); in default_send_IPI_mask_allbutself_phys() local 211 if (cpu == this_cpu) in default_send_IPI_mask_allbutself_phys() 257 unsigned int cpu, this_cpu = smp_processor_id(); in default_send_IPI_mask_allbutself_logical() local 262 if (cpu == this_cpu) in default_send_IPI_mask_allbutself_logical()
|
D | apic_numachip.c | 119 unsigned int this_cpu = smp_processor_id(); in numachip_send_IPI_mask_allbutself() local 123 if (cpu != this_cpu) in numachip_send_IPI_mask_allbutself() 130 unsigned int this_cpu = smp_processor_id(); in numachip_send_IPI_allbutself() local 134 if (cpu != this_cpu) in numachip_send_IPI_allbutself()
|
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/arm/common/ |
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/arm/kernel/ |
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()
|
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/ |
D | maccess.c | 156 int this_cpu, cpu; in xlate_dev_mem_ptr() local 159 this_cpu = get_cpu(); in xlate_dev_mem_ptr() 174 } else if (cpu == this_cpu) { in xlate_dev_mem_ptr()
|
/arch/powerpc/include/asm/ |
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/s390/kernel/ |
D | machine_kexec.c | 81 int this_cpu, cpu; in __machine_kdump() local 85 this_cpu = smp_find_processor_id(stap()); in __machine_kdump() 87 if (cpu == this_cpu) in __machine_kdump()
|
D | processor.c | 69 int cpu, this_cpu; in stop_machine_yield() local 71 this_cpu = smp_processor_id(); in stop_machine_yield() 74 cpu = cpumask_next_wrap(this_cpu, cpumask, this_cpu, false); in stop_machine_yield()
|
/arch/arm/include/asm/ |
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/kernel/cpu/ |
D | common.c | 190 static const struct cpu_dev *this_cpu = &default_cpu; variable 692 if (!this_cpu) in table_lookup_model() 695 info = this_cpu->legacy_models; in table_lookup_model() 849 if (this_cpu->legacy_cache_size) in cpu_detect_cache_sizes() 850 l2size = this_cpu->legacy_cache_size(c, l2size); in cpu_detect_cache_sizes() 873 if (this_cpu->c_detect_tlb) in cpu_detect_tlb() 874 this_cpu->c_detect_tlb(c); in cpu_detect_tlb() 943 this_cpu = cpu_devs[i]; in get_cpu_vendor() 944 c->x86_vendor = this_cpu->c_x86_vendor; in get_cpu_vendor() 953 this_cpu = &default_cpu; in get_cpu_vendor() [all …]
|
/arch/x86/hyperv/ |
D | hv_apic.c | 160 int cur_cpu, vcpu, this_cpu = smp_processor_id(); in __send_ipi_mask() local 175 (exclude_self && weight == 1 && cpumask_test_cpu(this_cpu, mask))) in __send_ipi_mask() 204 if (exclude_self && cur_cpu == this_cpu) in __send_ipi_mask()
|
/arch/ia64/kernel/ |
D | smp.c | 98 int this_cpu = get_cpu(); in handle_IPI() local 128 this_cpu, which); in handle_IPI()
|
/arch/arm64/kernel/ |
D | smp.c | 726 unsigned int this_cpu; in smp_prepare_cpus() local 730 this_cpu = smp_processor_id(); in smp_prepare_cpus() 731 store_cpu_topology(this_cpu); in smp_prepare_cpus() 732 numa_store_cpu_info(this_cpu); in smp_prepare_cpus() 733 numa_add_cpu(this_cpu); in smp_prepare_cpus()
|
/arch/arm/mm/ |
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/x86/xen/ |
D | smp.c | 238 unsigned int this_cpu = smp_processor_id(); in xen_send_IPI_mask_allbutself() local 245 if (this_cpu == cpu) in xen_send_IPI_mask_allbutself()
|
/arch/x86/kernel/ |
D | process.c | 506 unsigned int this_cpu = smp_processor_id(); in speculative_store_bypass_ht_init() local 524 for_each_cpu(cpu, topology_sibling_cpumask(this_cpu)) { in speculative_store_bypass_ht_init() 525 if (cpu == this_cpu) in speculative_store_bypass_ht_init()
|