Home
last modified time | relevance | path

Searched refs:pidarray (Results 1 – 8 of 8) sorted by relevance

/third_party/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress09.c119 pid_t *pidarray = NULL; in main() local
201 || (pidarray = malloc(nprocs * sizeof(pid_t))) == NULL) { in main()
207 *(pidarray + i) = 0; in main()
242 pidarray[procno] = pid; in main()
300 if (pid == pidarray[i]) in main()
311 pidarray[i] = 0; in main()
317 pidarray[i] = pid; in main()
349 (void)kill(pidarray[i], SIGKILL); /* failure? oh well. */ in main()
Dmmapstress01.c143 pid_t *pidarray = NULL; local
292 || (pidarray = malloc(nprocs * sizeof(pid_t))) == NULL) {
298 *(pidarray + i) = 0;
345 pidarray[procno] = pid;
376 if (pid == pidarray[i])
386 pidarray[i] = 0;
392 pidarray[i] = pid;
424 (void)kill(pidarray[i], SIGKILL);
Dmmapstress10.c170 pid_t *pidarray = NULL; local
335 || (pidarray = malloc(nprocs * sizeof(pid_t))) == NULL) {
341 *(pidarray + i) = 0;
395 pidarray[procno] = pid;
438 if (pid == pidarray[i])
455 pidarray[i] = 0;
461 pidarray[i] = pid;
489 (void)kill(pidarray[i], SIGUSR1);
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/
Dmsgstress04.c57 static int pidarray[MAXNPROCS]; variable
198 memset(pidarray, 0, sizeof(pidarray)); in dotest_iteration()
212 pidarray[i] = pid; in dotest_iteration()
361 if (pidarray[i] > 0) { in term()
362 if (kill(pidarray[i], SIGTERM) < 0) { in term()
Dmsgstress02.c54 static int pidarray[MAXNPROCS]; variable
177 pidarray[i] = pid; in main()
335 if (pidarray[i] > 0) { in term()
336 if (kill(pidarray[i], SIGTERM) < 0) { in term()
Dmsgstress01.c55 static int pidarray[MAXNPROCS]; variable
167 pidarray[i] = pid; in main()
Dmsgstress03.c52 static int pidarray[MAXNPROCS]; variable
172 pidarray[i] = pid; in main()
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl06.c79 static int pidarray[NPROCS]; variable
125 pidarray[i] = pid; in main()
300 if (kill(pidarray[i], SIGTERM) != 0) { in term()
302 pidarray[1]); in term()