Lines Matching refs:task1
98 static int kcmp_epoll_target(struct task_struct *task1, in kcmp_epoll_target() argument
109 filp = get_file_raw_ptr(task1, idx1); in kcmp_epoll_target()
126 static int kcmp_epoll_target(struct task_struct *task1, in kcmp_epoll_target() argument
138 struct task_struct *task1, *task2; in SYSCALL_DEFINE5() local
146 task1 = find_task_by_vpid(pid1); in SYSCALL_DEFINE5()
148 if (!task1 || !task2) in SYSCALL_DEFINE5()
151 get_task_struct(task1); in SYSCALL_DEFINE5()
159 ret = kcmp_lock(&task1->signal->exec_update_lock, in SYSCALL_DEFINE5()
163 if (!ptrace_may_access(task1, PTRACE_MODE_READ_REALCREDS) || in SYSCALL_DEFINE5()
173 filp1 = get_file_raw_ptr(task1, idx1); 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()
199 ret = kcmp_ptr(task1->sysvsem.undo_list, in SYSCALL_DEFINE5()
207 ret = kcmp_epoll_target(task1, task2, idx1, (void *)idx2); in SYSCALL_DEFINE5()
215 kcmp_unlock(&task1->signal->exec_update_lock, in SYSCALL_DEFINE5()
218 put_task_struct(task1); in SYSCALL_DEFINE5()