Home
last modified time | relevance | path

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

123

/Linux-v4.19/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-v4.19/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-v4.19/drivers/misc/lkdtm/
Dbugs.c234 const unsigned char *stack = task_stack_page(current); in lkdtm_STACK_GUARD_PAGE_LEADING()
248 const unsigned char *stack = task_stack_page(current); in lkdtm_STACK_GUARD_PAGE_TRAILING()
/Linux-v4.19/arch/sh/kernel/
Dtraps.c38 task_pid_nr(current), task_stack_page(current) + 1); in die()
42 (unsigned long)task_stack_page(current)); in die()
/Linux-v4.19/arch/m68k/kernel/
Dprocess.c130 frame = (struct fork_frame *) (task_stack_page(p) + THREAD_SIZE) - 1; in copy_thread()
255 stack_page = (unsigned long)task_stack_page(p); in get_wchan()
/Linux-v4.19/arch/alpha/include/asm/
Dptrace.h15 ((struct pt_regs *) (task_stack_page(task) + 2*PAGE_SIZE) - 1)
/Linux-v4.19/arch/hexagon/kernel/
Dstacktrace.c44 low = (unsigned long)task_stack_page(current); in save_stack_trace()
/Linux-v4.19/arch/s390/kernel/
Dprocess.c184 if (!p || p == current || p->state == TASK_RUNNING || !task_stack_page(p)) in get_wchan()
186 low = task_stack_page(p); in get_wchan()
Ddumpstack.c88 (unsigned long)task_stack_page(task), in dump_trace()
89 (unsigned long)task_stack_page(task) + THREAD_SIZE); in dump_trace()
/Linux-v4.19/arch/um/kernel/skas/
Dprocess.c45 return start_idle_thread(task_stack_page(&init_task), in start_uml()
/Linux-v4.19/arch/h8300/include/asm/
Dptrace.h32 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
/Linux-v4.19/arch/hexagon/include/asm/
Dprocessor.h74 ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE) - 1)
/Linux-v4.19/arch/mips/kernel/
Dperf_event.c55 (unsigned long)task_stack_page(current); in perf_callchain_kernel()
/Linux-v4.19/arch/xtensa/include/asm/
Dptrace.h85 (task_stack_page(tsk) + KERNEL_STACK_SIZE - (XCHAL_NUM_AREGS-16)*4) - 1)
/Linux-v4.19/arch/nios2/include/asm/
Dprocessor.h81 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
/Linux-v4.19/arch/riscv/include/asm/
Dprocessor.h56 ((struct pt_regs *)(task_stack_page(tsk) + THREAD_SIZE \
/Linux-v4.19/arch/riscv/kernel/
Dsmpboot.c82 __cpu_up_stack_pointer[cpu] = task_stack_page(tidle) + THREAD_SIZE; in __cpu_up()
/Linux-v4.19/arch/unicore32/include/asm/
Dprocessor.h76 ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1)
/Linux-v4.19/arch/sparc/kernel/
Dprocess_32.c164 task_base = (unsigned long) task_stack_page(tsk); in show_stack()
229 (task_stack_page(current) + (THREAD_SIZE - TRACEREG_SZ));
327 new_stack = task_stack_page(p) + THREAD_SIZE;
/Linux-v4.19/arch/x86/kernel/
Dirq_64.c40 u64 curbase = (u64)task_stack_page(current); in stack_overflow_check()
Ddumpstack.c35 unsigned long *begin = task_stack_page(task); in in_task_stack()
36 unsigned long *end = task_stack_page(task) + THREAD_SIZE; in in_task_stack()
/Linux-v4.19/arch/c6x/include/asm/
Dprocessor.h78 ((struct pt_regs *)(THREAD_START_SP + task_stack_page(task)) - 1)
/Linux-v4.19/arch/arc/include/asm/
Dprocessor.h61 ((struct pt_regs *)(THREAD_SIZE + (void *)task_stack_page(p)) - 1)
/Linux-v4.19/arch/nds32/include/asm/
Dprocessor.h90 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \
/Linux-v4.19/arch/microblaze/include/asm/
Dprocessor.h27 (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1)

123