/openbmc/linux/kernel/locking/ |
H A D | spinlock_debug.c | 61 msg, raw_smp_processor_id(), in spin_dump() 87 SPIN_BUG_ON(READ_ONCE(lock->owner_cpu) == raw_smp_processor_id(), in debug_spin_lock_before() 93 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_spin_lock_after() 102 SPIN_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_spin_unlock() 151 msg, raw_smp_processor_id(), current->comm, in rwlock_bug() 187 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_write_lock_before() 193 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_write_lock_after() 201 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_write_unlock()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | smp.h | 39 static inline int raw_smp_processor_id(void) in raw_smp_processor_id() function 49 #define raw_smp_processor_id raw_smp_processor_id macro
|
H A D | cpu-info.h | 69 #define raw_current_cpu_data cpu_data[raw_smp_processor_id()] 75 #define cpu_family_string() __cpu_family[raw_smp_processor_id()] 76 #define cpu_full_name_string() __cpu_full_name[raw_smp_processor_id()]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | smp.h | 28 static inline int raw_smp_processor_id(void) in raw_smp_processor_id() function 38 #define raw_smp_processor_id raw_smp_processor_id macro
|
H A D | cpu-info.h | 121 #define raw_current_cpu_data cpu_data[raw_smp_processor_id()] 128 #define cpu_name_string() __cpu_name[raw_smp_processor_id()]
|
/openbmc/linux/kernel/trace/ |
H A D | synth_event_gen_test.c | 117 vals[4] = raw_smp_processor_id(); /* cpu */ in test_gen_synth_cmd() 222 vals[4] = raw_smp_processor_id(); /* cpu */ in test_empty_synth_event() 295 vals[5] = raw_smp_processor_id(); /* cpu */ in test_create_synth_event() 348 ret = synth_event_add_next_val(raw_smp_processor_id(), &trace_state); in test_add_next_synth_val() 391 ret = synth_event_add_val("cpu", raw_smp_processor_id(), &trace_state); in test_add_synth_val() 431 (u64)raw_smp_processor_id(), /* cpu */ in test_trace_synth_event()
|
/openbmc/linux/arch/mips/mm/ |
H A D | fault.c | 52 printk("Cpu%d[%s:%d:%0*lx:%ld:%0*lx]\n", raw_smp_processor_id(), in __do_page_fault() 120 raw_smp_processor_id(), in __do_page_fault() 131 raw_smp_processor_id(), in __do_page_fault() 234 raw_smp_processor_id(), field, address, field, regs->cp0_epc, in __do_page_fault() 291 pgd = (pgd_t *) pgd_current[raw_smp_processor_id()] + offset; in __do_page_fault()
|
/openbmc/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()
|
/openbmc/linux/kernel/bpf/ |
H A D | percpu_freelist.c | 61 orig_cpu = raw_smp_processor_id(); in ___pcpu_freelist_push_nmi() 127 for_each_cpu_wrap(cpu, cpu_possible_mask, raw_smp_processor_id()) { in ___pcpu_freelist_pop() 159 for_each_cpu_wrap(cpu, cpu_possible_mask, raw_smp_processor_id()) { in ___pcpu_freelist_pop_nmi()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | efx_common.h | 77 channel->channel, raw_smp_processor_id()); in efx_schedule_channel() 84 channel->event_test_cpu = raw_smp_processor_id(); in efx_schedule_channel_irq()
|
/openbmc/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()
|
/openbmc/linux/kernel/ |
H A D | panic.c | 197 cpu = raw_smp_processor_id(); in nmi_panic() 319 this_cpu = raw_smp_processor_id(); in panic() 667 raw_smp_processor_id(), current->pid, file, line, in __warn() 671 raw_smp_processor_id(), current->pid, caller); in __warn()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | cpumap.h | 13 return raw_smp_processor_id(); in map_to_cpu()
|
/openbmc/linux/arch/openrisc/include/asm/ |
H A D | smp.h | 15 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/openbmc/linux/drivers/crypto/cavium/zip/ |
H A D | zip_device.c | 90 if (raw_smp_processor_id() % 2 == 0) in zip_load_instr() 95 zip_dbg("CPU Core: %d Queue number:%d", raw_smp_processor_id(), queue); in zip_load_instr()
|
/openbmc/linux/include/linux/ |
H A D | smp.h | 198 #define raw_smp_processor_id() 0 macro 266 #define __smp_processor_id(x) raw_smp_processor_id(x)
|
/openbmc/linux/arch/hexagon/include/asm/ |
H A D | smp.h | 13 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | smp.h | 22 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/openbmc/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()
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | smp.h | 35 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | smp.h | 88 #define raw_smp_processor_id() (local_paca->paca_index) macro 94 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | smp.h | 14 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/openbmc/linux/io_uring/ |
H A D | sqpoll.c | 218 sqd->sq_cpu = raw_smp_processor_id(); in io_sqd_handle_event() 241 sqd->sq_cpu = raw_smp_processor_id(); in io_sq_thread() 279 sqd->sq_cpu = raw_smp_processor_id(); in io_sq_thread() 313 sqd->sq_cpu = raw_smp_processor_id(); in io_sq_thread()
|
/openbmc/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()
|