Home
last modified time | relevance | path

Searched refs:task_stack_page (Results 1 – 25 of 62) sorted by relevance

123

/linux-6.6.21/include/linux/sched/
Dtask_stack.h19 static __always_inline void *task_stack_page(const struct task_struct *task) in task_stack_page() function
37 #define task_stack_page(task) ((void *)(task)->stack) macro
69 task_stack_page(tsk) : NULL; in try_get_task_stack()
76 return task_stack_page(tsk); in try_get_task_stack()
89 void *stack = task_stack_page(current); in object_is_on_stack()
/linux-6.6.21/arch/s390/include/asm/
Dkprobes.h47 (((unsigned long)task_stack_page(current)) + THREAD_SIZE - (ADDR))) \
49 : (((unsigned long)task_stack_page(current)) + THREAD_SIZE - (ADDR)))
/linux-6.6.21/arch/sh/kernel/
Dtraps.c38 task_pid_nr(current), task_stack_page(current) + 1); in die()
42 THREAD_SIZE + (unsigned long)task_stack_page(current)); in die()
/linux-6.6.21/arch/alpha/include/asm/
Dptrace.h15 ((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1)
/linux-6.6.21/arch/m68k/kernel/
Dprocess.c151 frame = (struct fork_frame *) (task_stack_page(p) + THREAD_SIZE) - 1; in copy_thread()
273 stack_page = (unsigned long)task_stack_page(p); in __get_wchan()
/linux-6.6.21/arch/hexagon/kernel/
Dstacktrace.c29 low = (unsigned long)task_stack_page(current); in save_stack_trace()
/linux-6.6.21/arch/riscv/kernel/
Dcpu_ops_spinwait.c38 task_stack_page(tidle) + THREAD_SIZE); in cpu_update_secondary_bootdata()
Dcpu_ops_sbi.c75 bdata->stack_ptr = task_stack_page(tidle) + THREAD_SIZE; in sbi_cpu_start()
/linux-6.6.21/arch/hexagon/include/asm/
Dprocessor.h58 ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE) - 1)
/linux-6.6.21/arch/um/kernel/skas/
Dprocess.c45 return start_idle_thread(task_stack_page(&init_task), in start_uml()
/linux-6.6.21/arch/nios2/include/asm/
Dprocessor.h67 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
/linux-6.6.21/arch/mips/kernel/
Dperf_event.c52 (unsigned long)task_stack_page(current); in perf_callchain_kernel()
Dstacktrace.c47 (unsigned long)task_stack_page(tsk); in save_context_stack()
/linux-6.6.21/arch/csky/include/asm/
Dprocessor.h81 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
/linux-6.6.21/arch/arc/include/asm/
Dprocessor.h41 ((struct pt_regs *)(THREAD_SIZE + (void *)task_stack_page(p)) - 1)
/linux-6.6.21/arch/xtensa/include/asm/
Dptrace.h86 (task_stack_page(tsk) + KERNEL_STACK_SIZE) - 1)
/linux-6.6.21/arch/microblaze/include/asm/
Dprocessor.h24 (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1)
/linux-6.6.21/drivers/misc/lkdtm/
Dstackleak.c30 const unsigned long task_stack_base = (unsigned long)task_stack_page(current); in check_stackleak_irqoff()
/linux-6.6.21/arch/loongarch/kernel/
Dprocess.c152 childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE; in copy_thread()
256 unsigned long begin = (unsigned long)task_stack_page(task); in in_task_stack()
/linux-6.6.21/arch/um/kernel/
Dprocess.c185 new_thread(task_stack_page(p), &p->thread.switch_buf, handler); in copy_thread()
369 stack_page = (unsigned long) task_stack_page(p); in __get_wchan()
/linux-6.6.21/arch/csky/kernel/
Dperf_callchain.c15 unsigned long low = (unsigned long)task_stack_page(current); in unwind_frame_kernel()
/linux-6.6.21/arch/sh/include/asm/
Dptrace.h127 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
/linux-6.6.21/arch/arm64/include/asm/
Dstacktrace.h44 unsigned long low = (unsigned long)task_stack_page(tsk); in stackinfo_get_task()
/linux-6.6.21/arch/sparc/kernel/
Dprocess_32.c158 task_base = (unsigned long) task_stack_page(tsk); in show_stack()
286 new_stack = task_stack_page(p) + THREAD_SIZE;
/linux-6.6.21/arch/arm/include/asm/
Dprocessor.h87 ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1)

123