Lines Matching refs:task_struct
20 extern int ptrace_access_vm(struct task_struct *tsk, unsigned long addr,
49 extern long arch_ptrace(struct task_struct *child, long request,
51 extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len);
52 extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len);
53 extern void ptrace_disable(struct task_struct *);
54 extern int ptrace_request(struct task_struct *child, long request,
57 extern void __ptrace_link(struct task_struct *child,
58 struct task_struct *new_parent,
60 extern void __ptrace_unlink(struct task_struct *child);
61 extern void exit_ptrace(struct task_struct *tracer, struct list_head *dead);
88 extern bool ptrace_may_access(struct task_struct *task, unsigned int mode);
90 static inline int ptrace_reparented(struct task_struct *child) in ptrace_reparented()
95 static inline void ptrace_unlink(struct task_struct *child) in ptrace_unlink()
101 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr,
103 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr,
117 static inline struct task_struct *ptrace_parent(struct task_struct *task) in ptrace_parent()
133 static inline bool ptrace_event_enabled(struct task_struct *task, int event) in ptrace_event_enabled()
200 static inline void ptrace_init_task(struct task_struct *child, bool ptrace) in ptrace_init_task()
227 static inline void ptrace_release_task(struct task_struct *task) in ptrace_release_task()
287 static inline void user_enable_single_step(struct task_struct *task) in user_enable_single_step()
301 static inline void user_disable_single_step(struct task_struct *task) in user_disable_single_step()
305 extern void user_enable_single_step(struct task_struct *);
306 extern void user_disable_single_step(struct task_struct *);
330 static inline void user_enable_block_step(struct task_struct *task) in user_enable_block_step()
335 extern void user_enable_block_step(struct task_struct *);
400 extern int task_current_syscall(struct task_struct *target, struct syscall_info *info);