Home
last modified time | relevance | path

Searched refs:current_sp (Results 1 – 5 of 5) sorted by relevance

/arch/riscv/kernel/
Dstacktrace.c32 const register unsigned long current_sp __asm__ ("sp"); in walk_stackframe()
34 sp = current_sp; in walk_stackframe()
76 const register unsigned long current_sp __asm__ ("sp"); in walk_stackframe()
77 sp = current_sp; in walk_stackframe()
/arch/unicore32/kernel/
Dstacktrace.c110 register unsigned long current_sp asm("sp"); in save_stack_trace_tsk()
114 frame.sp = current_sp; in save_stack_trace_tsk()
/arch/x86/um/asm/
Dprocessor_64.h34 #define current_sp() ({ void *sp; __asm__("movq %%rsp, %0" : "=r" (sp) : ); sp; }) macro
Dprocessor_32.h50 #define current_sp() ({ void *sp; __asm__("movl %%esp, %0" : "=r" (sp) : ); sp; }) macro
/arch/um/include/asm/
Dstacktrace.h37 return segv_regs ? (unsigned long *)PT_REGS_SP(segv_regs) : current_sp(); in get_stack_pointer()