Lines Matching refs:task_struct
45 extern long arch_ptrace(struct task_struct *child, long request,
47 extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len);
48 extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len);
49 extern void ptrace_disable(struct task_struct *);
50 extern int ptrace_request(struct task_struct *child, long request,
53 extern void __ptrace_link(struct task_struct *child,
54 struct task_struct *new_parent);
55 extern void __ptrace_unlink(struct task_struct *child);
56 extern void exit_ptrace(struct task_struct *tracer, struct list_head *dead);
83 extern bool ptrace_may_access(struct task_struct *task, unsigned int mode);
85 static inline int ptrace_reparented(struct task_struct *child) in ptrace_reparented()
90 static inline void ptrace_unlink(struct task_struct *child) in ptrace_unlink()
96 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr,
98 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr,
112 static inline struct task_struct *ptrace_parent(struct task_struct *task) in ptrace_parent()
128 static inline bool ptrace_event_enabled(struct task_struct *task, int event) in ptrace_event_enabled()
196 static inline void ptrace_init_task(struct task_struct *child, bool ptrace) in ptrace_init_task()
223 static inline void ptrace_release_task(struct task_struct *task) in ptrace_release_task()
283 static inline void user_enable_single_step(struct task_struct *task) in user_enable_single_step()
297 static inline void user_disable_single_step(struct task_struct *task) in user_disable_single_step()
301 extern void user_enable_single_step(struct task_struct *);
302 extern void user_disable_single_step(struct task_struct *);
326 static inline void user_enable_block_step(struct task_struct *task) in user_enable_block_step()
331 extern void user_enable_block_step(struct task_struct *);
335 extern void user_single_step_siginfo(struct task_struct *tsk,
338 static inline void user_single_step_siginfo(struct task_struct *tsk, in user_single_step_siginfo()
405 extern int task_current_syscall(struct task_struct *target, long *callno,