Lines Matching refs:test_cases
339 struct test test_cases[MAX_TEST]; in main() local
355 test_cases[0] = MAKE_TEST(page_size, page_size, page_size, in main()
359 test_cases[1] = MAKE_TEST(page_size, page_size/4, page_size, in main()
362 test_cases[2] = MAKE_TEST(page_size/4, page_size, page_size, in main()
367 test_cases[3] = MAKE_TEST(PTE, PTE, PTE * 2, in main()
372 test_cases[4] = MAKE_TEST(_1MB, PTE, _2MB, NON_OVERLAPPING, EXPECT_SUCCESS, in main()
374 test_cases[5] = MAKE_TEST(_1MB, _1MB, _2MB, NON_OVERLAPPING, EXPECT_SUCCESS, in main()
378 test_cases[6] = MAKE_TEST(PMD, PTE, _4MB, NON_OVERLAPPING, EXPECT_SUCCESS, in main()
380 test_cases[7] = MAKE_TEST(PMD, _1MB, _4MB, NON_OVERLAPPING, EXPECT_SUCCESS, in main()
382 test_cases[8] = MAKE_TEST(PMD, PMD, _4MB, NON_OVERLAPPING, EXPECT_SUCCESS, in main()
386 test_cases[9] = MAKE_TEST(PUD, PTE, _2GB, NON_OVERLAPPING, EXPECT_SUCCESS, in main()
388 test_cases[10] = MAKE_TEST(PUD, _1MB, _2GB, NON_OVERLAPPING, EXPECT_SUCCESS, in main()
390 test_cases[11] = MAKE_TEST(PUD, PMD, _2GB, NON_OVERLAPPING, EXPECT_SUCCESS, in main()
392 test_cases[12] = MAKE_TEST(PUD, PUD, _2GB, NON_OVERLAPPING, EXPECT_SUCCESS, in main()
409 ksft_set_plan(ARRAY_SIZE(test_cases) + (run_perf_tests ? in main()
412 for (i = 0; i < ARRAY_SIZE(test_cases); i++) in main()
413 run_mremap_test_case(test_cases[i], &failures, threshold_mb, in main()