Home
last modified time | relevance | path

Searched refs:pid_list (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/mem/mtest01/
Dmtest01.c44 static pid_t *pid_list; variable
117 pid_list = SAFE_MALLOC(max_pids * sizeof(pid_t)); in setup()
130 if(pid_list) in cleanup()
131 free(pid_list); in cleanup()
190 pid_list[pid_cntr++] = pid; in mem_test()
214 kill(pid_list[i], SIGKILL); in mem_test()
223 TST_PROCESS_STATE_WAIT(pid_list[i], 'T', 0); in mem_test()
224 kill(pid_list[i], SIGCONT); in mem_test()
/third_party/ltp/lib/
Dtst_cgroup.c909 char pid_list[BUFSIZ]; in cgroup_drain() local
917 pid_list, sizeof(pid_list)); in cgroup_drain()
925 for (tok = strtok(pid_list, "\n"); tok; tok = strtok(NULL, "\n")) { in cgroup_drain()