Lines Matching refs:pid2
200 pid_t pid2;210 pid2 = fork();211 if (pid2 < 0)214 if (pid2 == 0)217 if (pid2 == PID_RECYCLE) {218 snprintf(buf, sizeof(buf), "/proc/%d", pid2);219 ksft_print_msg("pid to recycle is %d\n", pid2);223 if (wait_for_pid(pid2))226 if (pid2 >= PID_RECYCLE)234 if (pid2 != PID_RECYCLE) {