Lines Matching refs:task_struct

62 static void exit_mm(struct task_struct *tsk);
64 static void __unhash_process(struct task_struct *p, bool group_dead) in __unhash_process()
83 static void __exit_signal(struct task_struct *tsk) in __exit_signal()
161 struct task_struct *tsk = container_of(rhp, struct task_struct, rcu); in delayed_put_task_struct()
169 void release_task(struct task_struct *p) in release_task()
171 struct task_struct *leader; in release_task()
223 struct task_struct *ignored_task) in will_become_orphaned_pgrp()
225 struct task_struct *p; in will_become_orphaned_pgrp()
254 struct task_struct *p; in has_stopped_jobs()
270 kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent) in kill_orphaned_pgrp()
273 struct task_struct *ignored_task = tsk; in kill_orphaned_pgrp()
301 struct task_struct *c, *g, *p = current; in mm_update_next_owner()
387 static void exit_mm(struct task_struct *tsk) in exit_mm()
442 static struct task_struct *find_alive_thread(struct task_struct *p) in find_alive_thread()
444 struct task_struct *t; in find_alive_thread()
453 static struct task_struct *find_child_reaper(struct task_struct *father) in find_child_reaper()
458 struct task_struct *reaper = pid_ns->child_reaper; in find_child_reaper()
487 static struct task_struct *find_new_reaper(struct task_struct *father, in find_new_reaper()
488 struct task_struct *child_reaper) in find_new_reaper()
490 struct task_struct *thread, *reaper; in find_new_reaper()
522 static void reparent_leader(struct task_struct *father, struct task_struct *p, in reparent_leader()
551 static void forget_original_parent(struct task_struct *father, in forget_original_parent()
554 struct task_struct *p, *t, *reaper; in forget_original_parent()
589 static void exit_notify(struct task_struct *tsk, int group_dead) in exit_notify()
592 struct task_struct *p, *n; in exit_notify()
655 struct task_struct *tsk = current; in do_exit()
908 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
915 static int eligible_pid(struct wait_opts *wo, struct task_struct *p) in eligible_pid()
922 eligible_child(struct wait_opts *wo, bool ptrace, struct task_struct *p) in eligible_child()
948 static int wait_noreap_copyout(struct wait_opts *wo, struct task_struct *p, in wait_noreap_copyout()
982 static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p) in wait_task_zombie()
1131 static int *task_stopped_code(struct task_struct *p, bool ptrace) in task_stopped_code()
1163 int ptrace, struct task_struct *p) in wait_task_stopped()
1247 static int wait_task_continued(struct wait_opts *wo, struct task_struct *p) in wait_task_continued()
1302 struct task_struct *p) in wait_consider_task()
1427 static int do_wait_thread(struct wait_opts *wo, struct task_struct *tsk) in do_wait_thread()
1429 struct task_struct *p; in do_wait_thread()
1441 static int ptrace_do_wait(struct wait_opts *wo, struct task_struct *tsk) in ptrace_do_wait()
1443 struct task_struct *p; in ptrace_do_wait()
1460 struct task_struct *p = key; in child_wait_callback()
1471 void __wake_up_parent(struct task_struct *p, struct task_struct *parent) in __wake_up_parent()
1479 struct task_struct *tsk; in do_wait()