Lines Matching refs:task_struct
132 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
139 static inline struct task_struct *alloc_task_struct_node(int node) in alloc_task_struct_node()
144 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct()
161 static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, in alloc_thread_info_node()
177 static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, in alloc_thread_info_node()
222 void free_task(struct task_struct *tsk) in free_task()
248 void __put_task_struct(struct task_struct *tsk) in __put_task_struct()
298 kmem_cache_create("task_struct", sizeof(struct task_struct), in fork_init()
313 int __weak arch_dup_task_struct(struct task_struct *dst, in arch_dup_task_struct()
314 struct task_struct *src) in arch_dup_task_struct()
320 void set_task_stack_end_magic(struct task_struct *tsk) in set_task_stack_end_magic()
328 static struct task_struct *dup_task_struct(struct task_struct *orig) in dup_task_struct()
330 struct task_struct *tsk; in dup_task_struct()
572 static void mm_init_owner(struct mm_struct *mm, struct task_struct *p) in mm_init_owner()
579 static struct mm_struct *mm_init(struct mm_struct *mm, struct task_struct *p) in mm_init()
766 struct mm_struct *get_task_mm(struct task_struct *task) in get_task_mm()
783 struct mm_struct *mm_access(struct task_struct *task, unsigned int mode) in mm_access()
803 static void complete_vfork_done(struct task_struct *tsk) in complete_vfork_done()
816 static int wait_for_vfork_done(struct task_struct *child, in wait_for_vfork_done()
848 void mm_release(struct task_struct *tsk, struct mm_struct *mm) in mm_release()
904 static struct mm_struct *dup_mm(struct task_struct *tsk) in dup_mm()
939 static int copy_mm(unsigned long clone_flags, struct task_struct *tsk) in copy_mm()
985 static int copy_fs(unsigned long clone_flags, struct task_struct *tsk) in copy_fs()
1005 static int copy_files(unsigned long clone_flags, struct task_struct *tsk) in copy_files()
1032 static int copy_io(unsigned long clone_flags, struct task_struct *tsk) in copy_io()
1058 static int copy_sighand(unsigned long clone_flags, struct task_struct *tsk) in copy_sighand()
1109 static int copy_signal(unsigned long clone_flags, struct task_struct *tsk) in copy_signal()
1162 static void copy_seccomp(struct task_struct *p) in copy_seccomp()
1202 static void rt_mutex_init_task(struct task_struct *p) in rt_mutex_init_task()
1215 static void posix_cpu_timers_init(struct task_struct *tsk) in posix_cpu_timers_init()
1226 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
1239 static struct task_struct *copy_process(unsigned long clone_flags, in copy_process()
1247 struct task_struct *p; in copy_process()
1659 struct task_struct *fork_idle(int cpu) in fork_idle()
1661 struct task_struct *task; in fork_idle()
1683 struct task_struct *p; in do_fork()
2046 struct task_struct *task = current; in unshare_files()