Lines Matching refs:pid2
252 pid_t pid2;262 pid2 = fork();263 if (pid2 < 0)266 if (pid2 == 0)269 if (pid2 == PID_RECYCLE) {270 snprintf(buf, sizeof(buf), "/proc/%d", pid2);271 ksft_print_msg("pid to recycle is %d\n", pid2);275 if (wait_for_pid(pid2))278 if (pid2 >= PID_RECYCLE)286 if (pid2 != PID_RECYCLE) {