Lines Matching refs:task_struct
19 static __always_inline void *task_stack_page(const struct task_struct *task) in task_stack_page()
26 static __always_inline unsigned long *end_of_stack(const struct task_struct *task) in end_of_stack()
39 static inline void setup_thread_stack(struct task_struct *p, struct task_struct *org) in setup_thread_stack()
54 static inline unsigned long *end_of_stack(struct task_struct *p) in end_of_stack()
66 static inline void *try_get_task_stack(struct task_struct *tsk) in try_get_task_stack()
72 extern void put_task_stack(struct task_struct *tsk);
74 static inline void *try_get_task_stack(struct task_struct *tsk) in try_get_task_stack()
79 static inline void put_task_stack(struct task_struct *tsk) {} in put_task_stack()
82 void exit_task_stack_account(struct task_struct *tsk);
97 static inline unsigned long stack_not_used(struct task_struct *p) in stack_not_used()
116 extern void set_task_stack_end_magic(struct task_struct *tsk);