/linux-6.6.21/kernel/time/ ! |
D | tick-common.c | 109 int cpu = smp_processor_id(); in tick_handle_periodic() 187 WARN_ON(tick_do_timer_cpu != smp_processor_id()); in giveup_do_timer() 194 int cpu = smp_processor_id(); in tick_take_do_timer_from_boot() 279 int cpu = smp_processor_id(); in tick_install_replacement() 330 if (!tick_check_percpu(curdev, newdev, smp_processor_id())) in tick_check_replacement() 346 cpu = smp_processor_id(); in tick_check_new_device() 409 if (tick_do_timer_cpu == smp_processor_id()) in tick_handover_do_timer() 530 smp_processor_id(), true); in tick_freeze() 559 smp_processor_id(), false); in tick_unfreeze()
|
/linux-6.6.21/arch/riscv/kernel/ ! |
D | smp.c | 66 set_cpu_online(smp_processor_id(), false); in ipi_stop() 110 send_ipi_single(smp_processor_id(), IPI_IRQ_WORK); in arch_irq_work_raise() 129 ipi_cpu_crash_stop(smp_processor_id(), get_irq_regs()); in handle_IPI() 140 pr_warn("CPU%d: unhandled IPI%d\n", smp_processor_id(), ipi); in handle_IPI() 255 cpumask_clear_cpu(smp_processor_id(), &mask); in smp_send_stop() 279 unsigned int this_cpu_online = cpu_online(smp_processor_id()); in num_other_online_cpus() 307 cpumask_clear_cpu(smp_processor_id(), &mask); in crash_smp_send_stop()
|
/linux-6.6.21/arch/arm64/kernel/ ! |
D | smp.c | 200 unsigned int cpu = smp_processor_id(); in secondary_start_kernel() 294 unsigned int cpu = smp_processor_id(); in __cpu_disable() 361 unsigned int cpu = smp_processor_id(); in cpu_die() 398 int cpu = smp_processor_id(); in cpu_die_early() 447 set_my_cpu_offset(per_cpu_offset(smp_processor_id())); in smp_prepare_boot_cpu() 723 this_cpu = smp_processor_id(); in smp_prepare_cpus() 744 if (cpu == smp_processor_id()) in smp_prepare_cpus() 810 smp_cross_call(cpumask_of(smp_processor_id()), IPI_IRQ_WORK); in arch_irq_work_raise() 816 set_cpu_online(smp_processor_id(), false); in local_cpu_stop() 862 unsigned int cpu = smp_processor_id(); in do_handle_IPI() [all …]
|
/linux-6.6.21/arch/ia64/kernel/ ! |
D | smp.c | 78 set_cpu_online(smp_processor_id(), false); in stop_this_cpu() 159 if (i != smp_processor_id()) in send_IPI_allbutself() 196 send_IPI_single(smp_processor_id(), op); in send_IPI_self() 210 self_cpu = smp_processor_id(); in kdump_smp_send_init() 248 ia64_fetchadd(1, &local_tlb_flush_counts[smp_processor_id()].count, acq); in smp_local_flush_tlb() 262 mycpu = smp_processor_id(); in smp_flush_tlb_cpumask()
|
/linux-6.6.21/arch/mips/kernel/ ! |
D | cevt-bcm1480.c | 33 unsigned int cpu = smp_processor_id(); in sibyte_set_periodic() 47 unsigned int cpu = smp_processor_id(); in sibyte_shutdown() 59 unsigned int cpu = smp_processor_id(); in sibyte_next_event() 74 unsigned int cpu = smp_processor_id(); in sibyte_counter_handler() 98 unsigned int cpu = smp_processor_id(); in sb1480_clockevent_init()
|
D | cevt-sb1250.c | 33 cfg = IOADDR(A_SCD_TIMER_REGISTER(smp_processor_id(), R_SCD_TIMER_CFG)); in sibyte_shutdown() 43 unsigned int cpu = smp_processor_id(); in sibyte_set_periodic() 58 unsigned int cpu = smp_processor_id(); in sibyte_next_event() 73 unsigned int cpu = smp_processor_id(); in sibyte_counter_handler() 97 unsigned int cpu = smp_processor_id(); in sb1250_clockevent_init()
|
/linux-6.6.21/drivers/irqchip/ ! |
D | irq-bcm2836.c | 47 smp_processor_id()); in bcm2836_arm_irqchip_mask_timer_irq() 54 smp_processor_id()); in bcm2836_arm_irqchip_unmask_timer_irq() 65 writel(1 << smp_processor_id(), intc.base + LOCAL_PM_ROUTING_CLR); in bcm2836_arm_irqchip_mask_pmu_irq() 70 writel(1 << smp_processor_id(), intc.base + LOCAL_PM_ROUTING_SET); in bcm2836_arm_irqchip_unmask_pmu_irq() 139 int cpu = smp_processor_id(); in bcm2836_arm_irqchip_handle_irq() 156 int cpu = smp_processor_id(); in bcm2836_arm_irqchip_handle_ipi() 172 int cpu = smp_processor_id(); in bcm2836_arm_irqchip_ipi_ack()
|
/linux-6.6.21/arch/arm/kernel/ ! |
D | smp.c | 254 unsigned int cpu = smp_processor_id(); in __cpu_disable() 320 unsigned int cpu = smp_processor_id(); in arch_cpu_idle_dead() 432 cpu = smp_processor_id(); in secondary_start_kernel() 500 set_my_cpu_offset(per_cpu_offset(smp_processor_id())); in smp_prepare_boot_cpu() 509 smp_store_cpu_info(smp_processor_id()); in smp_prepare_cpus() 582 smp_cross_call(cpumask_of(smp_processor_id()), IPI_IRQ_WORK); in arch_irq_work_raise() 635 unsigned int cpu = smp_processor_id(); in do_handle_IPI() 744 ipi_setup(smp_processor_id()); in set_smp_ipi_range() 758 cpumask_clear_cpu(smp_processor_id(), &mask); in smp_send_stop() 780 smp_processor_id()); in panic_smp_self_stop() [all …]
|
D | machine_kexec.c | 84 smp_processor_id()); in machine_crash_nonpanic_core() 85 crash_save_cpu(®s, smp_processor_id()); in machine_crash_nonpanic_core() 88 set_cpu_online(smp_processor_id(), false); in machine_crash_nonpanic_core() 158 crash_save_cpu(regs, smp_processor_id()); in machine_crash_shutdown()
|
/linux-6.6.21/arch/sh/kernel/ ! |
D | smp.c | 58 unsigned int cpu = smp_processor_id(); in smp_prepare_cpus() 71 unsigned int cpu = smp_processor_id(); in smp_prepare_boot_cpu() 124 unsigned int cpu = smp_processor_id(); in __cpu_disable() 175 unsigned int cpu = smp_processor_id(); in start_secondary() 318 smp_processor_id(), __func__, msg); in smp_message_recv() 367 if (smp_processor_id() != i) in flush_tlb_mm() 404 if (smp_processor_id() != i) in flush_tlb_range() 447 if (smp_processor_id() != i) in flush_tlb_page()
|
/linux-6.6.21/arch/parisc/lib/ ! |
D | delay.c | 36 cpu = smp_processor_id(); in __cr16_delay() 58 if (unlikely(cpu != smp_processor_id())) { in __cr16_delay() 60 cpu = smp_processor_id(); in __cr16_delay()
|
/linux-6.6.21/arch/powerpc/sysdev/xics/ ! |
D | icp-native.c | 50 int cpu = smp_processor_id(); in icp_native_get_xirr() 63 int cpu = smp_processor_id(); in icp_native_set_xirr() 70 int cpu = smp_processor_id(); in icp_native_set_cppr() 97 int cpu = smp_processor_id(); in icp_native_teardown_cpu() 182 int cpu = smp_processor_id(); in icp_native_flush_interrupt() 202 int cpu = smp_processor_id(); in icp_native_ipi_action()
|
/linux-6.6.21/arch/loongarch/kernel/ ! |
D | machine_kexec.c | 114 set_cpu_online(smp_processor_id(), true); in kexec_reboot() 127 if (smp_processor_id() > 0) { in kexec_reboot() 143 int cpu = smp_processor_id(); in kexec_shutdown_secondary() 160 int cpu = smp_processor_id(); in crash_shutdown_secondary() 246 crashing_cpu = smp_processor_id(); in machine_crash_shutdown() 285 set_cpu_online(smp_processor_id(), false); in machine_kexec()
|
D | smp.c | 232 unsigned int cpu = smp_processor_id(); in loongson_ipi_interrupt() 305 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE; in loongson_prepare_cpus() 331 unsigned int cpu = smp_processor_id(); in loongson_init_secondary() 353 pr_info("CPU#%d finished\n", smp_processor_id()); in loongson_smp_finish() 361 unsigned int cpu = smp_processor_id(); in loongson_cpu_disable() 565 set_cpu_online(smp_processor_id(), false); in stop_this_cpu() 611 if (cpu != smp_processor_id() && cpu_context(cpu, mm)) in flush_tlb_mm() 650 if (cpu != smp_processor_id() && cpu_context(cpu, mm)) in flush_tlb_range() 696 if (cpu != smp_processor_id() && cpu_context(cpu, vma->vm_mm)) in flush_tlb_page()
|
/linux-6.6.21/arch/x86/kernel/ ! |
D | tsc_sync.c | 77 smp_processor_id(), adj->adjusted, curval); in tsc_verify_tsc_adjust() 171 tsc_sanitize_first_cpu(cur, bootval, smp_processor_id(), bootcpu); in tsc_store_and_check_tsc_adjust() 183 unsigned int refcpu, cpu = smp_processor_id(); in tsc_store_and_check_tsc_adjust() 213 tsc_sanitize_first_cpu(cur, bootval, smp_processor_id(), in tsc_store_and_check_tsc_adjust() 394 smp_processor_id(), cpu); in check_tsc_sync_source() 401 smp_processor_id(), cpu); in check_tsc_sync_source() 436 unsigned int cpu = smp_processor_id(); in check_tsc_sync_target()
|
/linux-6.6.21/arch/x86/kernel/cpu/mce/ ! |
D | p5.c | 33 smp_processor_id(), loaddr, lotype); in pentium_machine_check() 37 smp_processor_id()); in pentium_machine_check() 65 smp_processor_id()); in intel_p5_mcheck_init()
|
/linux-6.6.21/arch/arm/mm/ ! |
D | proc-v7-bugs.c | 69 int cpu = smp_processor_id(); in spectre_v2_install_workaround() 104 smp_processor_id(), spectre_v2_method); in spectre_v2_install_workaround() 202 smp_processor_id()); in spectre_bhb_install_workaround() 213 smp_processor_id(), spectre_bhb_method_name(method)); in spectre_bhb_install_workaround() 264 pr_err("CPU%u: %s", smp_processor_id(), msg); in cpu_v7_check_auxcr_set()
|
/linux-6.6.21/arch/powerpc/include/asm/ ! |
D | tlb.h | 54 topology_sibling_cpumask(smp_processor_id())); in mm_is_core_local() 62 return cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm)); in mm_is_thread_local() 68 cpumask_of(smp_processor_id())); in mm_is_thread_local()
|
/linux-6.6.21/arch/powerpc/kexec/ ! |
D | crash.c | 70 if (crash_shutdown_cpu == smp_processor_id()) in handle_fault() 82 int cpu = smp_processor_id(); in crash_ipi_callback() 170 crash_shutdown_cpu = smp_processor_id(); in crash_kexec_prepare_cpus() 288 crashing_cpu = smp_processor_id(); in crash_kexec_prepare() 375 crash_shutdown_cpu = smp_processor_id(); in default_machine_crash_shutdown()
|
/linux-6.6.21/arch/sh/mm/ ! |
D | tlbflush_32.c | 17 unsigned int cpu = smp_processor_id(); in local_flush_tlb_page() 43 unsigned int cpu = smp_processor_id(); in local_flush_tlb_range() 80 unsigned int cpu = smp_processor_id(); in local_flush_tlb_kernel_range() 108 unsigned int cpu = smp_processor_id(); in local_flush_tlb_mm()
|
/linux-6.6.21/kernel/ ! |
D | watchdog_perf.c | 104 watchdog_hardlockup_check(smp_processor_id(), regs); in watchdog_overflow_callback() 141 WARN_ON_ONCE(cpu != smp_processor_id()); in watchdog_hardlockup_enable() 162 WARN_ON_ONCE(cpu != smp_processor_id()); in watchdog_hardlockup_disable() 168 cpumask_set_cpu(smp_processor_id(), &dead_events_mask); in watchdog_hardlockup_disable()
|
/linux-6.6.21/kernel/sched/ ! |
D | isolation.c | 45 cpu = sched_numa_find_closest(housekeeping.cpumasks[type], smp_processor_id()); in housekeeping_any_cpu() 52 return smp_processor_id(); in housekeeping_any_cpu() 133 __cpumask_set_cpu(smp_processor_id(), housekeeping_staging); in housekeeping_setup() 134 __cpumask_clear_cpu(smp_processor_id(), non_housekeeping_mask); in housekeeping_setup() 137 "using boot CPU:%d\n", smp_processor_id()); in housekeeping_setup()
|
/linux-6.6.21/arch/mips/include/asm/ ! |
D | mmu_context.h | 49 write_c0_xcontext((unsigned long) smp_processor_id() << \ 68 write_c0_context((unsigned long) smp_processor_id() << \ 158 unsigned int cpu = smp_processor_id(); in switch_mm() 196 cpu = smp_processor_id(); in drop_mmu_context()
|
/linux-6.6.21/arch/arc/include/asm/ ! |
D | mmu_context.h | 61 const unsigned int cpu = smp_processor_id(); in get_new_mmu_context() 125 asid_mm(mm, smp_processor_id()) = MM_CTXT_NO_ASID; in destroy_context() 135 const int cpu = smp_processor_id(); in switch_mm()
|
/linux-6.6.21/arch/powerpc/platforms/cell/ ! |
D | ras.c | 54 int cpu = smp_processor_id(); in DEFINE_INTERRUPT_HANDLER() 63 int cpu = smp_processor_id(); in DEFINE_INTERRUPT_HANDLER() 75 int cpu = smp_processor_id(); in DEFINE_INTERRUPT_HANDLER() 87 int cpu = smp_processor_id(); in cbe_machine_check_handler() 284 if (sysreset_hack && (smp_processor_id() == 0)) { in cbe_sysreset_hack()
|