Lines Matching refs:expected
107 static bool test_clone3(uint64_t flags, size_t size, int expected,
116 ksft_print_msg("[%d] clone3() with flags says: %d expected %d\n",
117 getpid(), ret, expected);
118 if (ret != expected) {
120 "[%d] Result (%d) is different than expected (%d)\n",
121 getpid(), ret, expected);
163 int expected;
173 .expected = 0,
180 .expected = 0,
188 .expected = 0,
195 .expected = -EINVAL,
202 .expected = 0,
209 .expected = -EINVAL,
216 .expected = -EINVAL,
223 .expected = -EINVAL,
230 .expected = -EINVAL,
237 .expected = 0,
244 .expected = -E2BIG,
251 .expected = -E2BIG,
258 .expected = -E2BIG,
265 .expected = 0,
273 .expected = -EINVAL,
280 .expected = 0,
288 .expected = -E2BIG,
295 .expected = 0,
303 .expected = -EINVAL,
331 tests[i].expected,