HomeSort by relevance Sort by last modified time
    Searched refs:pidarray (Results 1 - 8 of 8) sorted by null

  /external/ltp/testcases/kernel/mem/mmapstress/
mmapstress09.c 119 pid_t *pidarray = NULL; local
201 || (pidarray = malloc(nprocs * sizeof(pid_t))) == NULL) {
207 *(pidarray + i) = 0;
242 pidarray[procno] = pid;
300 if (pid == pidarray[i])
311 pidarray[i] = 0;
317 pidarray[i] = pid;
349 (void)kill(pidarray[i], SIGKILL); /* failure? oh well. */
mmapstress01.c 143 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);
mmapstress10.c 170 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);
  /external/ltp/testcases/kernel/syscalls/ipc/msgstress/
msgstress04.c 57 static int pidarray[MAXNPROCS]; variable
198 memset(pidarray, 0, sizeof(pidarray));
212 pidarray[i] = pid;
361 if (pidarray[i] > 0) {
362 if (kill(pidarray[i], SIGTERM) < 0) {
msgstress02.c 54 static int pidarray[MAXNPROCS]; variable
177 pidarray[i] = pid;
335 if (pidarray[i] > 0) {
336 if (kill(pidarray[i], SIGTERM) < 0) {
msgstress01.c 55 static int pidarray[MAXNPROCS]; variable
167 pidarray[i] = pid;
msgstress03.c 52 static int pidarray[MAXNPROCS]; variable
164 pidarray[i] = pid;
  /external/ltp/testcases/kernel/syscalls/ipc/semctl/
semctl06.c 79 static int pidarray[NPROCS]; variable
125 pidarray[i] = pid;
300 if (kill(pidarray[i], SIGTERM) != 0) {
302 pidarray[1]);

Completed in 362 milliseconds