Home
last modified time | relevance | path

Searched refs:raw_smp_processor_id (Results 1 – 25 of 211) sorted by relevance

123456789

/linux/kernel/locking/
A Dspinlock_debug.c61 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/kernel/trace/
A Dsynth_event_gen_test.c117 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/arch/mips/include/asm/
A Dsmp.h28 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
A Dcpu-info.h121 #define raw_current_cpu_data cpu_data[raw_smp_processor_id()]
128 #define cpu_name_string() __cpu_name[raw_smp_processor_id()]
/linux/arch/mips/mm/
A Dfault.c52 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/kernel/bpf/
A Dpercpu_freelist.c61 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/arch/x86/kernel/
A Dkgdb.c197 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/kernel/
A Dpanic.c139 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/drivers/net/ethernet/sfc/
A Defx_common.h79 channel->channel, raw_smp_processor_id()); in efx_schedule_channel()
86 channel->event_test_cpu = raw_smp_processor_id(); in efx_schedule_channel_irq()
A Def100_netdev.c85 raw_smp_processor_id()); in ef100_net_stop()
111 raw_smp_processor_id()); in ef100_net_open()
/linux/arch/powerpc/platforms/powernv/
A Didle.c228 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/include/linux/
A Dsmp.h191 #define raw_smp_processor_id() 0 macro
257 #define __smp_processor_id(x) raw_smp_processor_id(x)
/linux/drivers/crypto/cavium/zip/
A Dzip_device.c90 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/arch/powerpc/include/asm/
A Dsmp.h84 #define raw_smp_processor_id() (local_paca->paca_index) macro
90 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
A Dtrace.h83 TP_CONDITION(cpu_online(raw_smp_processor_id())),
104 TP_CONDITION(cpu_online(raw_smp_processor_id())),
/linux/arch/sh/kernel/cpu/
A Dinit.c322 if (raw_smp_processor_id() == 0) { in cpu_init()
350 if (raw_smp_processor_id() == 0) { in cpu_init()
/linux/kernel/debug/
A Ddebug_core.c234 kgdb_nmicallback(raw_smp_processor_id(), get_irq_regs()); in kgdb_call_nmi_hook()
244 int this_cpu = raw_smp_processor_id(); in kgdb_roundup_cpus()
469 if (cpu == raw_smp_processor_id() || !IS_ENABLED(CONFIG_SMP)) { in kdb_dump_stack_on_cpu()
530 if (atomic_read(&kgdb_active) != raw_smp_processor_id()) in kgdb_reenter_check()
842 ks->cpu = raw_smp_processor_id(); in kgdb_handle_exception()
/linux/arch/sparc/kernel/
A Dcpumap.h13 return raw_smp_processor_id(); in map_to_cpu()
/linux/arch/openrisc/include/asm/
A Dsmp.h15 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux/arch/csky/include/asm/
A Dsmp.h22 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux/arch/hexagon/include/asm/
A Dsmp.h13 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux/arch/sh/lib/
A Ddelay.c40 "r" (cpu_data[raw_smp_processor_id()].loops_per_jiffy * (HZ/4)) in __const_udelay()
/linux/arch/parisc/include/asm/
A Dsmp.h35 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux/arch/xtensa/include/asm/
A Dsmp.h14 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/linux/drivers/net/ethernet/sfc/falcon/
A Defx.h237 channel->channel, raw_smp_processor_id()); in ef4_schedule_channel()
244 channel->event_test_cpu = raw_smp_processor_id(); in ef4_schedule_channel_irq()

Completed in 36 milliseconds

123456789