/linux/kernel/locking/ |
H A D | spinlock_debug.c | 62 msg, raw_smp_processor_id(), in spin_dump() 88 SPIN_BUG_ON(READ_ONCE(lock->owner_cpu) == raw_smp_processor_id(), in debug_spin_lock_before() 94 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_spin_lock_after() 103 SPIN_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_spin_unlock() 152 msg, raw_smp_processor_id(), current->comm, in rwlock_bug() 188 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_write_lock_before() 194 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_write_lock_after() 202 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_write_unlock()
|
/linux/arch/loongarch/include/asm/ |
H A D | cpu-info.h | 70 #define raw_current_cpu_data cpu_data[raw_smp_processor_id()] 76 #define cpu_family_string() __cpu_family[raw_smp_processor_id()] 77 #define cpu_full_name_string() __cpu_full_name[raw_smp_processor_id()]
|
/linux/arch/mips/mm/ |
H A D | fault.c | 53 printk("Cpu%d[%s:%d:%0*lx:%ld:%0*lx]\n", raw_smp_processor_id(), in __do_page_fault() 121 raw_smp_processor_id(), in __do_page_fault() 132 raw_smp_processor_id(), in __do_page_fault() 235 raw_smp_processor_id(), field, address, field, regs->cp0_epc, in __do_page_fault() 292 pgd = (pgd_t *) pgd_current[raw_smp_processor_id()] + offset; in __do_page_fault()
|
/linux/arch/parisc/kernel/ |
H A D | toc.c | 70 BUG_ON(regs != (struct pt_regs *)&per_cpu(toc_stack, raw_smp_processor_id())); in toc_intr() 86 kgdb_nmicallback(raw_smp_processor_id(), regs); in toc_intr() 96 if (raw_smp_processor_id() != 0) in toc_intr()
|
/linux/kernel/bpf/ |
H A D | percpu_freelist.c | 55 for_each_cpu_wrap(cpu, cpu_possible_mask, raw_smp_processor_id()) { in __pcpu_freelist_push() 56 if (cpu == raw_smp_processor_id()) in __pcpu_freelist_push() 106 for_each_cpu_wrap(cpu, cpu_possible_mask, raw_smp_processor_id()) { in ___pcpu_freelist_pop()
|
/linux/arch/x86/kernel/ |
H A D | kgdb.c | 197 int cpu = raw_smp_processor_id(); in kgdb_correct_hw_break() 298 int cpu = raw_smp_processor_id(); in kgdb_remove_all_hw_break() 384 int cpu = raw_smp_processor_id(); in kgdb_disable_hw_debug() 464 raw_smp_processor_id()); in kgdb_arch_handle_exception() 504 cpu = raw_smp_processor_id(); in kgdb_nmi_handler() 514 cpu = raw_smp_processor_id(); in kgdb_nmi_handler()
|
/linux/include/linux/ |
H A D | objpool.h | 178 start = raw_smp_processor_id(); in objpool_pop() 228 rc = __objpool_try_add_slot(obj, pool, raw_smp_processor_id()); in objpool_push()
|
H A D | smp.h | 198 #define raw_smp_processor_id() 0 macro 265 #define __smp_processor_id() raw_smp_processor_id()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | efx_common.h | 76 channel->channel, raw_smp_processor_id()); in efx_schedule_channel() 83 channel->event_test_cpu = raw_smp_processor_id(); in efx_schedule_channel_irq()
|
/linux/arch/mips/include/asm/ |
H A D | cpu-info.h | 121 #define raw_current_cpu_data cpu_data[raw_smp_processor_id()] 129 #define cpu_name_string() __cpu_name[raw_smp_processor_id()]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | efx_common.h | 80 channel->channel, raw_smp_processor_id()); in efx_schedule_channel() 87 channel->event_test_cpu = raw_smp_processor_id(); in efx_schedule_channel_irq()
|
/linux/rust/helpers/ |
H A D | cpu.c | 7 return raw_smp_processor_id(); in rust_helper_raw_smp_processor_id()
|
/linux/arch/sparc/kernel/ |
H A D | cpumap.h | 13 return raw_smp_processor_id(); in map_to_cpu()
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | idle.c | 227 int cpu = raw_smp_processor_id(); in atomic_start_thread_idle() 237 int cpu = raw_smp_processor_id(); in atomic_stop_thread_idle() 247 int cpu = raw_smp_processor_id(); in atomic_lock_thread_idle() 257 int cpu = raw_smp_processor_id(); in atomic_unlock_and_stop_thread_idle() 280 int cpu = raw_smp_processor_id(); in atomic_unlock_thread_idle() 316 int cpu = raw_smp_processor_id(); in power7_idle_insn() 610 int cpu = raw_smp_processor_id(); in power9_idle_stop() 895 int cpu = raw_smp_processor_id(); in power10_idle_stop()
|
/linux/arch/openrisc/include/asm/ |
H A D | smp.h | 15 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/linux/arch/powerpc/include/asm/ |
H A D | smp.h | 89 #define raw_smp_processor_id() (local_paca->paca_index) macro 95 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/linux/arch/csky/include/asm/ |
H A D | smp.h | 22 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/linux/arch/hexagon/include/asm/ |
H A D | smp.h | 13 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/linux/arch/sh/lib/ |
H A D | delay.c | 40 "r" (cpu_data[raw_smp_processor_id()].loops_per_jiffy * (HZ/4)) in __const_udelay()
|
/linux/arch/sh/kernel/cpu/ |
H A D | init.c | 322 if (raw_smp_processor_id() == 0) { in cpu_init() 350 if (raw_smp_processor_id() == 0) { in cpu_init()
|
/linux/arch/parisc/include/asm/ |
H A D | smp.h | 35 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/linux/arch/s390/include/asm/ |
H A D | kmsan.h | 27 addr += (void *)lowcore_ptr[raw_smp_processor_id()] - in arch_kmsan_get_meta_or_null()
|
/linux/arch/alpha/include/asm/ |
H A D | smp.h | 44 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/linux/arch/sparc/include/asm/ |
H A D | smp_64.h | 48 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/linux/kernel/ |
H A D | panic.c | 308 this_cpu = raw_smp_processor_id(); in nmi_panic() 409 this_cpu = raw_smp_processor_id(); in vpanic() 818 raw_smp_processor_id(), current->pid, file, line, in __warn() 822 raw_smp_processor_id(), current->pid, caller); in __warn()
|