/Linux-v5.15/kernel/locking/ |
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()
|
/Linux-v5.15/arch/mips/include/asm/ |
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
|
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()]
|
/Linux-v5.15/kernel/trace/ |
D | synth_event_gen_test.c | 117 vals[4] = raw_smp_processor_id(); /* cpu */ in test_gen_synth_cmd() 224 vals[4] = raw_smp_processor_id(); /* cpu */ in test_empty_synth_event() 299 vals[5] = raw_smp_processor_id(); /* cpu */ in test_create_synth_event() 352 ret = synth_event_add_next_val(raw_smp_processor_id(), &trace_state); in test_add_next_synth_val() 395 ret = synth_event_add_val("cpu", raw_smp_processor_id(), &trace_state); in test_add_synth_val() 435 (u64)raw_smp_processor_id(), /* cpu */ in test_trace_synth_event()
|
/Linux-v5.15/arch/mips/mm/ |
D | fault.c | 52 printk("Cpu%d[%s:%d:%0*lx:%ld:%0*lx]\n", raw_smp_processor_id(), in __do_page_fault() 128 raw_smp_processor_id(), in __do_page_fault() 139 raw_smp_processor_id(), in __do_page_fault() 239 raw_smp_processor_id(), field, address, field, regs->cp0_epc, in __do_page_fault() 296 pgd = (pgd_t *) pgd_current[raw_smp_processor_id()] + offset; in __do_page_fault()
|
/Linux-v5.15/arch/powerpc/include/asm/ |
D | smp.h | 84 #define raw_smp_processor_id() (local_paca->paca_index) macro 102 #define raw_smp_processor_id() (0) macro 104 #define raw_smp_processor_id() (*(unsigned int *)((void *)current + _TASK_CPU)) macro
|
D | trace.h | 83 TP_CONDITION(cpu_online(raw_smp_processor_id())), 104 TP_CONDITION(cpu_online(raw_smp_processor_id())),
|
/Linux-v5.15/kernel/bpf/ |
D | percpu_freelist.c | 61 orig_cpu = cpu = raw_smp_processor_id(); in ___pcpu_freelist_push_nmi() 130 orig_cpu = cpu = raw_smp_processor_id(); in ___pcpu_freelist_pop() 164 orig_cpu = cpu = raw_smp_processor_id(); in ___pcpu_freelist_pop_nmi()
|
/Linux-v5.15/kernel/ |
D | panic.c | 139 cpu = raw_smp_processor_id(); in nmi_panic() 211 this_cpu = raw_smp_processor_id(); in panic() 581 raw_smp_processor_id(), current->pid, file, line, in __warn() 585 raw_smp_processor_id(), current->pid, caller); in __warn()
|
/Linux-v5.15/arch/x86/kernel/ |
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-v5.15/drivers/net/ethernet/sfc/ |
D | efx_common.h | 79 channel->channel, raw_smp_processor_id()); in efx_schedule_channel() 86 channel->event_test_cpu = raw_smp_processor_id(); in efx_schedule_channel_irq()
|
/Linux-v5.15/include/linux/ |
D | smp.h | 192 #define raw_smp_processor_id() 0 macro 258 #define __smp_processor_id(x) raw_smp_processor_id(x)
|
/Linux-v5.15/drivers/crypto/cavium/zip/ |
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()
|
/Linux-v5.15/arch/sparc/kernel/ |
D | cpumap.h | 13 return raw_smp_processor_id(); in map_to_cpu()
|
/Linux-v5.15/arch/powerpc/platforms/powernv/ |
D | idle.c | 228 int cpu = raw_smp_processor_id(); in atomic_start_thread_idle() 238 int cpu = raw_smp_processor_id(); in atomic_stop_thread_idle() 248 int cpu = raw_smp_processor_id(); in atomic_lock_thread_idle() 258 int cpu = raw_smp_processor_id(); in atomic_unlock_and_stop_thread_idle() 279 int cpu = raw_smp_processor_id(); in atomic_unlock_thread_idle() 315 int cpu = raw_smp_processor_id(); in power7_idle_insn() 609 int cpu = raw_smp_processor_id(); in power9_idle_stop() 895 int cpu = raw_smp_processor_id(); in power10_idle_stop()
|
/Linux-v5.15/arch/openrisc/include/asm/ |
D | smp.h | 15 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/Linux-v5.15/arch/csky/include/asm/ |
D | smp.h | 22 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/Linux-v5.15/arch/hexagon/include/asm/ |
D | smp.h | 13 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/Linux-v5.15/arch/sh/lib/ |
D | delay.c | 40 "r" (cpu_data[raw_smp_processor_id()].loops_per_jiffy * (HZ/4)) in __const_udelay()
|
/Linux-v5.15/arch/sh/kernel/cpu/ |
D | init.c | 322 if (raw_smp_processor_id() == 0) { in cpu_init() 350 if (raw_smp_processor_id() == 0) { in cpu_init()
|
/Linux-v5.15/arch/parisc/include/asm/ |
D | smp.h | 37 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/Linux-v5.15/arch/xtensa/include/asm/ |
D | smp.h | 14 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/Linux-v5.15/include/linux/sched/ |
D | clock.h | 84 return sched_clock_cpu(raw_smp_processor_id()); in local_clock()
|
/Linux-v5.15/arch/alpha/include/asm/ |
D | smp.h | 44 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|
/Linux-v5.15/arch/sparc/include/asm/ |
D | smp_64.h | 48 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
|