Lines Matching refs:pid_t
20 pid_t
23 int process_count = proc_listpids (PROC_ALL_PIDS, 0, NULL, 0) / sizeof (pid_t); in get_pid_for_process_name()
31 int all_pids_size = sizeof (pid_t) * (process_count + 3); in get_pid_for_process_name()
32 pid_t *all_pids = (pid_t *) malloc (all_pids_size); in get_pid_for_process_name()
35 process_count = proc_listpids (PROC_ALL_PIDS, 0, all_pids, all_pids_size) / sizeof (pid_t); in get_pid_for_process_name()
38 pid_t highest_pid = 0; in get_pid_for_process_name()
77 get_process_name_for_pid (pid_t pid) in get_process_name_for_pid()
98 get_kinfo_proc_for_pid (pid_t pid, const char *process_name) in get_kinfo_proc_for_pid()
255 get_proc_threadinfo (pid_t pid, uint64_t thread_handle, struct proc_threadinfo *pth) in get_proc_threadinfo()
272 pid_t pid = 0; in main()
325 pid = (pid_t) strtol (argv[argc - 1], NULL, 10); in main()