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.c46 static pid_t *pid_list; variable
119 pid_list = SAFE_MALLOC(max_pids * sizeof(pid_t)); in setup()
132 if(pid_list) in cleanup()
133 free(pid_list); in cleanup()
188 pid_list[pid_cntr++] = pid; in mem_test()
213 kill(pid_list[i], SIGKILL); in mem_test()
222 TST_PROCESS_STATE_WAIT(pid_list[i], 'T', 0); in mem_test()
223 kill(pid_list[i], SIGCONT); in mem_test()
/third_party/ltp/lib/
Dtst_cgroup.c681 char pid_list[BUFSIZ]; in cgroup_drain() local
689 pid_list, sizeof(pid_list)); in cgroup_drain()
697 for (tok = strtok(pid_list, "\n"); tok; tok = strtok(NULL, "\n")) { in cgroup_drain()