Home
last modified time | relevance | path

Searched refs:current_stack_pointer (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.14.4/mm/
Dusercopy.c63 if ((void *)current_stack_pointer < obj + len) in check_stack_object()
66 if (obj < (void *)current_stack_pointer) in check_stack_object()
242 ptr - (void *)current_stack_pointer : in __check_object_size()
243 (void *)current_stack_pointer - ptr, in __check_object_size()
/linux-6.14.4/arch/x86/kernel/
Dirq_32.c68 return (void *)(current_stack_pointer & ~(THREAD_SIZE - 1)); in current_stack()
92 *prev_esp = current_stack_pointer; in execute_on_irq_stack()
145 *prev_esp = current_stack_pointer; in do_softirq_own_stack()
/linux-6.14.4/arch/arm/include/asm/
Dpercpu.h10 register unsigned long current_stack_pointer asm ("sp");
58 : "Q" (*(const unsigned long *)current_stack_pointer)); in __my_cpu_offset()
Dperf_event.h14 (regs)->ARM_sp = current_stack_pointer; \
Dstacktrace.h31 unsigned long delta = current_stack_pointer ^ (unsigned long)current->stack; in on_thread_stack()
/linux-6.14.4/kernel/
Dstackleak.c112 erase_high = current_stack_pointer; in __stackleak_erase()
161 unsigned long sp = current_stack_pointer; in stackleak_track_stack()
/linux-6.14.4/arch/powerpc/include/asm/
Dthread_info.h210 params = *(const void * const *)current_stack_pointer + STACK_FRAME_PARAMS; in arch_within_stack_frames()
211 frame = **(const void * const * const *)current_stack_pointer; in arch_within_stack_frames()
/linux-6.14.4/arch/csky/kernel/
Dstacktrace.c28 sp = current_stack_pointer; in walk_stackframe()
70 sp = current_stack_pointer; in walk_stackframe()
/linux-6.14.4/arch/arm64/include/asm/
Dstack_pointer.h8 register unsigned long current_stack_pointer asm ("sp");
Dperf_event.h19 (regs)->sp = current_stack_pointer; \
/linux-6.14.4/arch/loongarch/include/asm/
Dentry-common.h10 return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1)); in on_thread_stack()
/linux-6.14.4/arch/sh/kernel/
Dirq.c90 irqctx->tinfo.previous_sp = current_stack_pointer; in handle_one_irq()
162 irqctx->tinfo.previous_sp = current_stack_pointer; in do_softirq_own_stack()
Dstacktrace.c43 unsigned long *sp = (unsigned long *)current_stack_pointer; in save_stack_trace()
/linux-6.14.4/arch/riscv/include/asm/
Dcurrent.h36 register unsigned long current_stack_pointer __asm__("sp");
Dperf_event.h18 (regs)->sp = current_stack_pointer; \
Dstacktrace.h21 return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1)); in on_thread_stack()
/linux-6.14.4/arch/m68k/include/asm/
Dcurrent.h29 register unsigned long current_stack_pointer __asm__("sp");
/linux-6.14.4/arch/riscv/kernel/
Dstacktrace.c45 sp = current_stack_pointer; in walk_stackframe()
100 sp = current_stack_pointer; in walk_stackframe()
/linux-6.14.4/arch/xtensa/include/asm/
Dcurrent.h29 register unsigned long current_stack_pointer __asm__("a1");
Dstacktrace.h25 sp = current_stack_pointer; in stack_pointer()
/linux-6.14.4/arch/x86/include/asm/
Dasm.h222 register unsigned long current_stack_pointer asm(_ASM_SP);
223 #define ASM_CALL_CONSTRAINT "+r" (current_stack_pointer)
/linux-6.14.4/tools/arch/x86/include/asm/
Dasm.h187 register unsigned long current_stack_pointer asm(_ASM_SP);
188 #define ASM_CALL_CONSTRAINT "+r" (current_stack_pointer)
/linux-6.14.4/arch/arm/kernel/
Dreturn_address.c42 frame.sp = current_stack_pointer; in return_address()
/linux-6.14.4/arch/csky/include/asm/
Dprocessor.h85 register unsigned long current_stack_pointer __asm__("sp");
/linux-6.14.4/arch/s390/include/asm/
Dprocessor.h271 #define current_stack_pointer (__current_stack_pointer()) macro
285 return !((ksp ^ current_stack_pointer) & ~(THREAD_SIZE - 1)); in on_thread_stack()

12