Home | History | Annotate | Download | only in get_mempolicy

Lines Matching refs:tc

194 static int do_test(struct test_case *tc);
221 static int do_test(struct test_case *tc)
235 switch (tc->ttype) {
239 if (tc->from_node == NONE)
240 TEST(ltp_syscall(__NR_set_mempolicy, tc->policy,
243 TEST(ltp_syscall(__NR_set_mempolicy, tc->policy,
257 if (tc->from_node == NONE)
258 TEST(ltp_syscall(__NR_mbind, p, len, tc->policy,
261 TEST(ltp_syscall(__NR_mbind, p, len, tc->policy,
268 if (tc->ttype == INVALID_POINTER)
275 if (tc->ttype == INVALID_FLAGS)
287 if (tc->policy == MPOL_DEFAULT)
289 cmp_ok = (tc->policy == policy && (tc->from_node == NONE ||
293 result = (err != tc->err) || !cmp_ok;
294 PRINT_RESULT_CMP(0, tc->ret, tc->err, ret, err, cmp_ok);