Lines Matching refs:task2
99 struct task_struct *task2, in kcmp_epoll_target() argument
113 filp_epoll = fget_task(task2, slot.efd); in kcmp_epoll_target()
127 struct task_struct *task2, in kcmp_epoll_target() argument
138 struct task_struct *task1, *task2; in SYSCALL_DEFINE5() local
147 task2 = find_task_by_vpid(pid2); in SYSCALL_DEFINE5()
148 if (!task1 || !task2) in SYSCALL_DEFINE5()
152 get_task_struct(task2); in SYSCALL_DEFINE5()
160 &task2->signal->exec_update_lock); in SYSCALL_DEFINE5()
164 !ptrace_may_access(task2, PTRACE_MODE_READ_REALCREDS)) { in SYSCALL_DEFINE5()
174 filp2 = get_file_raw_ptr(task2, idx2); in SYSCALL_DEFINE5()
183 ret = kcmp_ptr(task1->mm, task2->mm, KCMP_VM); in SYSCALL_DEFINE5()
186 ret = kcmp_ptr(task1->files, task2->files, KCMP_FILES); in SYSCALL_DEFINE5()
189 ret = kcmp_ptr(task1->fs, task2->fs, KCMP_FS); in SYSCALL_DEFINE5()
192 ret = kcmp_ptr(task1->sighand, task2->sighand, KCMP_SIGHAND); in SYSCALL_DEFINE5()
195 ret = kcmp_ptr(task1->io_context, task2->io_context, KCMP_IO); in SYSCALL_DEFINE5()
200 task2->sysvsem.undo_list, in SYSCALL_DEFINE5()
207 ret = kcmp_epoll_target(task1, task2, idx1, (void *)idx2); in SYSCALL_DEFINE5()
216 &task2->signal->exec_update_lock); in SYSCALL_DEFINE5()
219 put_task_struct(task2); in SYSCALL_DEFINE5()