Home
last modified time | relevance | path

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

123

/Linux-v5.15/include/linux/sched/
Dtask_stack.h19 static inline void *task_stack_page(const struct task_struct *task) in task_stack_page() function
33 #define task_stack_page(task) ((void *)(task)->stack) macro
65 task_stack_page(tsk) : NULL; in try_get_task_stack()
72 return task_stack_page(tsk); in try_get_task_stack()
83 void *stack = task_stack_page(current); in object_is_on_stack()
/Linux-v5.15/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-v5.15/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-v5.15/arch/alpha/include/asm/
Dptrace.h15 ((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1)
/Linux-v5.15/arch/m68k/kernel/
Dprocess.c149 frame = (struct fork_frame *) (task_stack_page(p) + THREAD_SIZE) - 1; in copy_thread()
274 stack_page = (unsigned long)task_stack_page(p); in get_wchan()
/Linux-v5.15/arch/riscv/kernel/
Dcpu_ops.c32 task_stack_page(tidle) + THREAD_SIZE); in cpu_update_secondary_bootdata()
/Linux-v5.15/arch/hexagon/kernel/
Dstacktrace.c29 low = (unsigned long)task_stack_page(current); in save_stack_trace()
/Linux-v5.15/arch/um/kernel/skas/
Dprocess.c45 return start_idle_thread(task_stack_page(&init_task), in start_uml()
/Linux-v5.15/arch/h8300/include/asm/
Dptrace.h32 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
/Linux-v5.15/arch/hexagon/include/asm/
Dprocessor.h58 ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE) - 1)
/Linux-v5.15/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-v5.15/arch/nios2/include/asm/
Dprocessor.h75 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
/Linux-v5.15/arch/xtensa/include/asm/
Dptrace.h87 (task_stack_page(tsk) + KERNEL_STACK_SIZE - (XCHAL_NUM_AREGS-16)*4) - 1)
/Linux-v5.15/arch/riscv/include/asm/
Dprocessor.h53 ((struct pt_regs *)(task_stack_page(tsk) + THREAD_SIZE \
/Linux-v5.15/arch/csky/include/asm/
Dprocessor.h90 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
/Linux-v5.15/arch/microblaze/include/asm/
Dprocessor.h24 (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1)
/Linux-v5.15/arch/arc/include/asm/
Dprocessor.h44 ((struct pt_regs *)(THREAD_SIZE + (void *)task_stack_page(p)) - 1)
/Linux-v5.15/drivers/misc/lkdtm/
Dbugs.c343 const unsigned char *stack = task_stack_page(current); in lkdtm_STACK_GUARD_PAGE_LEADING()
357 const unsigned char *stack = task_stack_page(current); in lkdtm_STACK_GUARD_PAGE_TRAILING()
/Linux-v5.15/arch/nds32/include/asm/
Dprocessor.h91 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \
/Linux-v5.15/kernel/
Dstackleak.c121 sp >= (unsigned long)task_stack_page(current) + in stackleak_track_stack()
/Linux-v5.15/arch/um/kernel/
Dprocess.c182 new_thread(task_stack_page(p), &p->thread.switch_buf, handler); in copy_thread()
375 stack_page = (unsigned long) task_stack_page(p); in get_wchan()
/Linux-v5.15/arch/sh/include/asm/
Dptrace.h127 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
/Linux-v5.15/arch/csky/kernel/
Dperf_callchain.c15 unsigned long low = (unsigned long)task_stack_page(current); in unwind_frame_kernel()
/Linux-v5.15/arch/arm/include/asm/
Dprocessor.h90 ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1)

123