Searched refs:pid_list (Results 1 – 5 of 5) sorted by relevance
55 static pid_t *pid_list; variable68 while (pid_list[i] > 0) { in cleanup()69 kill(pid_list[i], SIGKILL); in cleanup()73 free(pid_list); in cleanup()158 if ((pid_list = malloc(max_pids * sizeof(pid_t))) == NULL) in main()160 memset(pid_list, 0, max_pids * sizeof(pid_t)); in main()181 free(pid_list); in main()198 pid_list[i] = pid; in main()212 pid_list[i] = pid; in main()231 pid_list[i] = pid; in main()[all …]
40 struct pid_list { struct41 struct pid_list *next, *prev; argument47 struct pid_list *new = xzalloc(sizeof(struct pid_list)); in push_pids_in_list() argument270 struct pid_list *temp; in bootchartd_main()
159 pid_list = self._client_run_output('ps --ppid %s -o pid= -o comm=' %161 for line in pid_list:
352 pid_list = []356 pid_list.append(pid)361 return pid_list
2160 def nuke_pids(pid_list, signal_queue=None): argument2178 sig_count[sig_names.get(sig, 'unknown_signal')] = len(pid_list)2179 for pid in pid_list:2189 pid_list = [pid for pid in pid_list if pid_is_alive(pid)]2190 if not pid_list:2194 for pid in pid_list: