Lines Matching refs:retcode
118 * @retcode: expected return code of child process
125 void oom(int testcase, int lite, int retcode, int allow_sigkill)
155 if (WEXITSTATUS(status) == retcode) {
156 tst_res(TPASS, "victim retcode: (%d) %s",
157 retcode, strerror(retcode));
160 "retcode: %d, expected: %d",
161 WEXITSTATUS(status), retcode);
213 void testoom(int mempolicy, int lite, int retcode, int allow_sigkill)
220 oom(NORMAL, lite, retcode, allow_sigkill);
223 oom(MLOCK, lite, retcode, allow_sigkill);
236 oom(KSM, lite, retcode, allow_sigkill);