Lines Matching refs:task_struct
44 extern long arch_ptrace(struct task_struct *child, long request,
46 extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len);
47 extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len);
48 extern void ptrace_disable(struct task_struct *);
49 extern int ptrace_request(struct task_struct *child, long request,
52 extern void __ptrace_link(struct task_struct *child,
53 struct task_struct *new_parent);
54 extern void __ptrace_unlink(struct task_struct *child);
55 extern void exit_ptrace(struct task_struct *tracer);
82 extern bool ptrace_may_access(struct task_struct *task, unsigned int mode);
84 static inline int ptrace_reparented(struct task_struct *child) in ptrace_reparented()
89 static inline void ptrace_unlink(struct task_struct *child) in ptrace_unlink()
95 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr,
97 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr,
111 static inline struct task_struct *ptrace_parent(struct task_struct *task) in ptrace_parent()
127 static inline bool ptrace_event_enabled(struct task_struct *task, int event) in ptrace_event_enabled()
195 static inline void ptrace_init_task(struct task_struct *child, bool ptrace) in ptrace_init_task()
222 static inline void ptrace_release_task(struct task_struct *task) in ptrace_release_task()
282 static inline void user_enable_single_step(struct task_struct *task) in user_enable_single_step()
296 static inline void user_disable_single_step(struct task_struct *task) in user_disable_single_step()
300 extern void user_enable_single_step(struct task_struct *);
301 extern void user_disable_single_step(struct task_struct *);
325 static inline void user_enable_block_step(struct task_struct *task) in user_enable_block_step()
330 extern void user_enable_block_step(struct task_struct *);
334 extern void user_single_step_siginfo(struct task_struct *tsk,
337 static inline void user_single_step_siginfo(struct task_struct *tsk, in user_single_step_siginfo()
404 extern int task_current_syscall(struct task_struct *target, long *callno,