Lines Matching refs:task_struct
37 void __ptrace_link(struct task_struct *child, struct task_struct *new_parent) in __ptrace_link()
72 void __ptrace_unlink(struct task_struct *child) in __ptrace_unlink()
122 static bool ptrace_freeze_traced(struct task_struct *task) in ptrace_freeze_traced()
140 static void ptrace_unfreeze_traced(struct task_struct *task) in ptrace_unfreeze_traced()
172 static int ptrace_check_attach(struct task_struct *child, bool ignore_state) in ptrace_check_attach()
219 static int __ptrace_may_access(struct task_struct *task, unsigned int mode) in __ptrace_may_access()
287 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access()
296 static int ptrace_attach(struct task_struct *task, long request, in ptrace_attach()
455 static bool __ptrace_detach(struct task_struct *tracer, struct task_struct *p) in __ptrace_detach()
480 static int ptrace_detach(struct task_struct *child, unsigned int data) in ptrace_detach()
512 void exit_ptrace(struct task_struct *tracer, struct list_head *dead) in exit_ptrace()
514 struct task_struct *p, *n; in exit_ptrace()
525 int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len) in ptrace_readdata()
550 int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len) in ptrace_writedata()
575 static int ptrace_setoptions(struct task_struct *child, unsigned long data) in ptrace_setoptions()
604 static int ptrace_getsiginfo(struct task_struct *child, siginfo_t *info) in ptrace_getsiginfo()
620 static int ptrace_setsiginfo(struct task_struct *child, const siginfo_t *info) in ptrace_setsiginfo()
636 static int ptrace_peek_siginfo(struct task_struct *child, in ptrace_peek_siginfo()
732 static int ptrace_resume(struct task_struct *child, long request, in ptrace_resume()
805 static int ptrace_regset(struct task_struct *task, int req, unsigned int type, in ptrace_regset()
835 int ptrace_request(struct task_struct *child, long request, in ptrace_request()
1054 static struct task_struct *ptrace_get_task_struct(pid_t pid) in ptrace_get_task_struct()
1056 struct task_struct *child; in ptrace_get_task_struct()
1076 struct task_struct *child; in SYSCALL_DEFINE4()
1118 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_peekdata()
1130 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_pokedata()
1141 int compat_ptrace_request(struct task_struct *child, compat_long_t request, in compat_ptrace_request()
1222 struct task_struct *child; in COMPAT_SYSCALL_DEFINE4()