Lines Matching refs:retcode
116 * @retcode: expected return code of child process
123 void oom(int testcase, int lite, int retcode, int allow_sigkill)
130 if (errno == retcode) {
157 if (WEXITSTATUS(status) == retcode) {
158 tst_resm(TPASS, "victim retcode: (%d) %s",
159 retcode, strerror(retcode));
162 "retcode: %d, expected: %d",
163 WEXITSTATUS(status), retcode);
215 void testoom(int mempolicy, int lite, int retcode, int allow_sigkill)
222 oom(NORMAL, lite, retcode, allow_sigkill);
225 oom(MLOCK, lite, retcode, allow_sigkill);
238 oom(KSM, lite, retcode, allow_sigkill);