Symbol: current_stack_pointer
arch/alpha/include/asm/thread_info.h
45
register unsigned long *current_stack_pointer __asm__ ("$30");
arch/alpha/lib/stacktrace.c
95
unsigned char *sp = (unsigned char *)current_stack_pointer;
arch/arm/include/asm/percpu.h
10
register unsigned long current_stack_pointer asm ("sp");
arch/arm/include/asm/percpu.h
58
: "Q" (*(const unsigned long *)current_stack_pointer));
arch/arm/include/asm/perf_event.h
14
(regs)->ARM_sp = current_stack_pointer; \
arch/arm/include/asm/ptrace.h
165
((current_stack_pointer | (THREAD_SIZE - 1)) - 7) - 1; \
arch/arm/include/asm/stacktrace.h
32
unsigned long delta = current_stack_pointer ^ (unsigned long)current->stack;
arch/arm/kernel/return_address.c
42
frame.sp = current_stack_pointer;
arch/arm/kernel/stacktrace.c
187
current_stack_pointer,
arch/arm/kernel/unwind.c
541
frame.sp = current_stack_pointer;
arch/arm64/include/asm/percpu.h
44
"Q" (*(const unsigned long *)current_stack_pointer));
arch/arm64/include/asm/perf_event.h
19
(regs)->sp = current_stack_pointer; \
arch/arm64/include/asm/stack_pointer.h
8
register unsigned long current_stack_pointer asm ("sp");
arch/arm64/include/asm/stacktrace.h
60
#define on_thread_stack() (on_task_stack(current, current_stack_pointer, 1))
arch/csky/include/asm/processor.h
85
register unsigned long current_stack_pointer __asm__("sp");
arch/csky/kernel/stacktrace.c
28
sp = current_stack_pointer;
arch/csky/kernel/stacktrace.c
70
sp = current_stack_pointer;
arch/loongarch/include/asm/stacktrace.h
36
return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1));
arch/loongarch/include/asm/thread_info.h
44
register unsigned long current_stack_pointer __asm__("$sp");
arch/m68k/include/asm/current.h
29
register unsigned long current_stack_pointer __asm__("sp");
arch/mips/include/asm/thread_info.h
73
register unsigned long current_stack_pointer __asm__("sp");
arch/powerpc/include/asm/hw_irq.h
308
: "r" (current_stack_pointer)); \
arch/powerpc/include/asm/reg.h
1446
register unsigned long current_stack_pointer asm("r1");
arch/powerpc/include/asm/stacktrace.h
15
return !(((unsigned long)(current->stack) ^ current_stack_pointer)
arch/powerpc/include/asm/thread_info.h
210
params = *(const void * const *)current_stack_pointer + STACK_FRAME_PARAMS;
arch/powerpc/include/asm/thread_info.h
211
frame = **(const void * const * const *)current_stack_pointer;
arch/powerpc/kernel/irq.c
290
cursp = (void *)(current_stack_pointer & ~(THREAD_SIZE - 1));
arch/powerpc/kernel/irq.c
295
__do_irq(regs, current_stack_pointer);
arch/riscv/include/asm/current.h
36
register unsigned long current_stack_pointer __asm__("sp");
arch/riscv/include/asm/perf_event.h
18
(regs)->sp = current_stack_pointer; \
arch/riscv/include/asm/stacktrace.h
21
return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1));
arch/riscv/kernel/stacktrace.c
117
sp = current_stack_pointer;
arch/riscv/kernel/stacktrace.c
61
sp = current_stack_pointer;
arch/s390/include/asm/processor.h
275
return !((ksp ^ current_stack_pointer) & ~(THREAD_SIZE - 1));
arch/s390/lib/test_unwind.c
150
regs.gprs[15] = current_stack_pointer;
arch/sh/include/asm/thread_info.h
63
register unsigned long current_stack_pointer asm("r15") __used;
arch/sh/kernel/dumpstack.c
148
sp = (unsigned long *)current_stack_pointer;
arch/sh/kernel/irq.c
162
irqctx->tinfo.previous_sp = current_stack_pointer;
arch/sh/kernel/irq.c
90
irqctx->tinfo.previous_sp = current_stack_pointer;
arch/sh/kernel/stacktrace.c
43
unsigned long *sp = (unsigned long *)current_stack_pointer;
arch/x86/boot/main.c
123
stack_end = (char *) (current_stack_pointer - STACK_SIZE);
arch/x86/hyperv/hv_crash.c
202
ctxt->rsp = current_stack_pointer;
arch/x86/include/asm/asm.h
224
register unsigned long current_stack_pointer asm(_ASM_SP);
arch/x86/include/asm/asm.h
225
#define ASM_CALL_CONSTRAINT "+r" (current_stack_pointer)
arch/x86/include/asm/processor.h
568
current_stack_pointer) < THREAD_SIZE;
arch/x86/kernel/irq_32.c
142
*prev_esp = current_stack_pointer;
arch/x86/kernel/irq_32.c
34
unsigned long sp = current_stack_pointer & (THREAD_SIZE - 1);
arch/x86/kernel/irq_32.c
66
return (void *)(current_stack_pointer & ~(THREAD_SIZE - 1));
arch/x86/kernel/irq_32.c
90
*prev_esp = current_stack_pointer;
arch/xtensa/include/asm/current.h
29
register unsigned long current_stack_pointer __asm__("a1");
arch/xtensa/include/asm/stacktrace.h
25
sp = current_stack_pointer;
arch/xtensa/kernel/irq.c
40
unsigned long sp = current_stack_pointer;
drivers/misc/lkdtm/kstack_erase.c
33
const unsigned long current_sp = current_stack_pointer;
drivers/misc/lkdtm/usercopy.c
76
pr_info("stack : %px\n", (void *)current_stack_pointer);
kernel/kstack_erase.c
112
erase_high = current_stack_pointer;
kernel/kstack_erase.c
161
unsigned long sp = current_stack_pointer;
mm/usercopy.c
249
ptr - (void *)current_stack_pointer :
mm/usercopy.c
250
(void *)current_stack_pointer - ptr,
mm/usercopy.c
63
if ((void *)current_stack_pointer < obj + len)
mm/usercopy.c
66
if (obj < (void *)current_stack_pointer)
tools/arch/x86/include/asm/asm.h
175
register unsigned long current_stack_pointer asm(_ASM_SP);
tools/arch/x86/include/asm/asm.h
176
#define ASM_CALL_CONSTRAINT "+r" (current_stack_pointer)