Lines Matching refs:pid
72 static pid_t pid = -1; variable
75 if (pid > 0) { in ate()
76 kill(pid, SIGTERM); in ate()
239 pid_t pid; in vsyscall() local
242 pid = fork(); in vsyscall()
243 if (pid < 0) { in vsyscall()
247 if (pid == 0) { in vsyscall()
274 waitpid(pid, &wstatus, 0); in vsyscall()
322 pid = fork(); in main()
323 if (pid == -1) { in main()
326 if (pid == 0) { in main()
360 snprintf(buf, sizeof(buf), "/proc/%u/maps", pid); in main()
379 snprintf(buf, sizeof(buf), "/proc/%u/smaps", pid); in main()
435 snprintf(buf, sizeof(buf), "/proc/%u/smaps_rollup", pid); in main()
471 snprintf(buf, sizeof(buf), "/proc/%u/statm", pid); in main()