Home
last modified time | relevance | path

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

12

/linux-6.1.9/mm/
Dusercopy.c62 if ((void *)current_stack_pointer < obj + len) in check_stack_object()
65 if (obj < (void *)current_stack_pointer) in check_stack_object()
241 ptr - (void *)current_stack_pointer : in __check_object_size()
242 (void *)current_stack_pointer - ptr, in __check_object_size()
/linux-6.1.9/arch/x86/kernel/
Dirq_32.c71 return (void *)(current_stack_pointer & ~(THREAD_SIZE - 1)); in current_stack()
95 *prev_esp = current_stack_pointer; in execute_on_irq_stack()
148 *prev_esp = current_stack_pointer; in do_softirq_own_stack()
/linux-6.1.9/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.h21 (regs)->ARM_sp = current_stack_pointer; \
Dptrace.h163 ((current_stack_pointer | (THREAD_SIZE - 1)) - 7) - 1; \
/linux-6.1.9/kernel/
Dstackleak.c100 erase_high = current_stack_pointer; in __stackleak_erase()
152 unsigned long sp = current_stack_pointer; in stackleak_track_stack()
/linux-6.1.9/arch/riscv/kernel/
Dstacktrace.c31 sp = current_stack_pointer; in walk_stackframe()
79 sp = current_stack_pointer; in walk_stackframe()
/linux-6.1.9/arch/arm64/include/asm/
Dstack_pointer.h8 register unsigned long current_stack_pointer asm ("sp");
/linux-6.1.9/arch/loongarch/include/asm/
Dentry-common.h10 return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1)); in on_thread_stack()
Dthread_info.h54 register unsigned long current_stack_pointer __asm__("$sp");
/linux-6.1.9/arch/riscv/include/asm/
Dcurrent.h36 register unsigned long current_stack_pointer __asm__("sp");
/linux-6.1.9/arch/m68k/include/asm/
Dcurrent.h29 register unsigned long current_stack_pointer __asm__("sp");
/linux-6.1.9/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()
Ddumpstack.c148 sp = (unsigned long *)current_stack_pointer; in show_stack()
/linux-6.1.9/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.1.9/arch/x86/include/asm/
Dasm.h208 register unsigned long current_stack_pointer asm(_ASM_SP);
209 #define ASM_CALL_CONSTRAINT "+r" (current_stack_pointer)
/linux-6.1.9/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.1.9/arch/arm/kernel/
Dreturn_address.c42 frame.sp = current_stack_pointer; in return_address()
/linux-6.1.9/arch/s390/include/asm/
Dentry-common.h65 return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1)); in on_thread_stack()
/linux-6.1.9/drivers/misc/lkdtm/
Dstackleak.c33 const unsigned long current_sp = current_stack_pointer; in check_stackleak_irqoff()
/linux-6.1.9/arch/powerpc/kernel/
Dirq.c282 cursp = (void *)(current_stack_pointer & ~(THREAD_SIZE - 1)); in __do_IRQ()
288 __do_irq(regs, current_stack_pointer); in __do_IRQ()
/linux-6.1.9/arch/sh/include/asm/
Dthread_info.h63 register unsigned long current_stack_pointer asm("r15") __used;
/linux-6.1.9/arch/mips/include/asm/
Dthread_info.h73 register unsigned long current_stack_pointer __asm__("sp");

12