Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/kernel/locking/
Dspinlock_debug.c59 msg, raw_smp_processor_id(), in spin_dump()
85 SPIN_BUG_ON(READ_ONCE(lock->owner_cpu) == raw_smp_processor_id(), in debug_spin_lock_before()
91 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_spin_lock_after()
100 SPIN_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_spin_unlock()
148 msg, raw_smp_processor_id(), current->comm, in rwlock_bug()
184 RWLOCK_BUG_ON(lock->owner_cpu == raw_smp_processor_id(), in debug_write_lock_before()
190 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_write_lock_after()
198 RWLOCK_BUG_ON(lock->owner_cpu != raw_smp_processor_id(), in debug_write_unlock()
/kernel/linux/linux-5.10/arch/mips/include/asm/
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
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()]
/kernel/linux/linux-5.10/kernel/trace/
Dsynth_event_gen_test.c117 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()
/kernel/linux/linux-5.10/arch/mips/mm/
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()
236 raw_smp_processor_id(), field, address, field, regs->cp0_epc, in __do_page_fault()
293 pgd = (pgd_t *) pgd_current[raw_smp_processor_id()] + offset; in __do_page_fault()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dsmp.h79 #define raw_smp_processor_id() (local_paca->paca_index) macro
97 #define raw_smp_processor_id() (0) macro
99 #define raw_smp_processor_id() (*(unsigned int *)((void *)current + _TASK_CPU)) macro
Dtrace.h83 TP_CONDITION(cpu_online(raw_smp_processor_id())),
104 TP_CONDITION(cpu_online(raw_smp_processor_id())),
/kernel/linux/linux-5.10/kernel/bpf/
Dpercpu_freelist.c61 orig_cpu = cpu = raw_smp_processor_id(); in ___pcpu_freelist_push_nmi()
129 orig_cpu = cpu = raw_smp_processor_id(); in ___pcpu_freelist_pop()
163 orig_cpu = cpu = raw_smp_processor_id(); in ___pcpu_freelist_pop_nmi()
/kernel/linux/linux-5.10/arch/x86/kernel/
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()
/kernel/linux/linux-5.10/include/linux/
Dstop_machine.h89 if (cpumask_test_cpu(raw_smp_processor_id(), cpumask)) in stop_cpus()
90 return stop_one_cpu(raw_smp_processor_id(), fn, arg); in stop_cpus()
Dsmp.h163 #define raw_smp_processor_id() 0 macro
229 #define __smp_processor_id(x) raw_smp_processor_id(x)
/kernel/linux/linux-5.10/kernel/
Dpanic.c192 cpu = raw_smp_processor_id(); in nmi_panic()
287 this_cpu = raw_smp_processor_id(); in panic()
660 raw_smp_processor_id(), current->pid, file, line, in __warn()
664 raw_smp_processor_id(), current->pid, caller); in __warn()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Defx_common.h77 channel->channel, raw_smp_processor_id()); in efx_schedule_channel()
84 channel->event_test_cpu = raw_smp_processor_id(); in efx_schedule_channel_irq()
/kernel/linux/linux-5.10/drivers/crypto/cavium/zip/
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()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dcpumap.h13 return raw_smp_processor_id(); in map_to_cpu()
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Dsmp.h15 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dsmp.h13 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dsmp.h22 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Didle.c227 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()
278 int cpu = raw_smp_processor_id(); in atomic_unlock_thread_idle()
314 int cpu = raw_smp_processor_id(); in power7_idle_insn()
607 int cpu = raw_smp_processor_id(); in power9_idle_stop()
896 int cpu = raw_smp_processor_id(); in power10_idle_stop()
/kernel/linux/linux-5.10/arch/sh/lib/
Ddelay.c40 "r" (cpu_data[raw_smp_processor_id()].loops_per_jiffy * (HZ/4)) in __const_udelay()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dsmp.h37 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dsmp.h14 #define raw_smp_processor_id() (current_thread_info()->cpu) macro
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/
Dinit.c322 if (raw_smp_processor_id() == 0) { in cpu_init()
350 if (raw_smp_processor_id() == 0) { in cpu_init()
/kernel/linux/linux-5.10/include/linux/sched/
Dclock.h84 return sched_clock_cpu(raw_smp_processor_id()); in local_clock()
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dsmp.h44 #define raw_smp_processor_id() (current_thread_info()->cpu) macro

123456789