Lines Matching refs:pid1
23 static long sys_kcmp(int pid1, int pid2, int type, unsigned long fd1, unsigned long fd2) in sys_kcmp() argument
25 return syscall(__NR_kcmp, pid1, pid2, type, fd1, fd2); in sys_kcmp()
35 int pid1, pid2; in main() local
43 pid1 = getpid(); in main()
101 pid1, pid2, in main()
102 sys_kcmp(pid1, pid2, KCMP_FILE, fd1, fd2), in main()
103 sys_kcmp(pid1, pid2, KCMP_FILES, 0, 0), in main()
104 sys_kcmp(pid1, pid2, KCMP_VM, 0, 0), in main()
105 sys_kcmp(pid1, pid2, KCMP_FS, 0, 0), in main()
106 sys_kcmp(pid1, pid2, KCMP_SIGHAND, 0, 0), in main()
107 sys_kcmp(pid1, pid2, KCMP_IO, 0, 0), in main()
108 sys_kcmp(pid1, pid2, KCMP_SYSVSEM, 0, 0), in main()
111 sys_kcmp(pid1, pid2, KCMP_TYPES + 1, 0, 0)); in main()
114 ret = sys_kcmp(pid1, pid2, KCMP_FILE, fd1, fd1); in main()
126 ret = sys_kcmp(pid1, pid1, KCMP_VM, 0, 0); in main()
143 ret = sys_kcmp(pid1, pid1, KCMP_EPOLL_TFD, pipefd[1], in main()