Lines Matching refs:walk_end
66 long return_mask, long *walk_end) in pagemap_ioc() argument
85 if (walk_end) in pagemap_ioc()
86 *walk_end = arg.walk_end; in pagemap_ioc()
242 long walk_end; in sanity_tests_sd() local
504 walk_end = (long)mem; in sanity_tests_sd()
514 ret = pagemap_ioc((void *)walk_end, mem_size-(walk_end - (long)mem), vec, in sanity_tests_sd()
516 0, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
555 0, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
558 ksft_test_result(ret == 0 && walk_end == (long)mem, in sanity_tests_sd()
562 0, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
565 ksft_test_result(ret == 0 && walk_end == (long)mem, in sanity_tests_sd()
569 0, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
572 ksft_test_result(ret == 0 && walk_end == (long)mem, in sanity_tests_sd()
576 0, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
579 ksft_test_result(ret == 1 && walk_end == (long)(mem + mem_size), in sanity_tests_sd()
583 0, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
586 ksft_test_result(ret == 1 && walk_end == (long)(mem + mem_size), in sanity_tests_sd()
590 vec_size, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
593 ksft_test_result(ret == 1 && walk_end == (long)(mem + mem_size), in sanity_tests_sd()
597 vec_size/2, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
600 ksft_test_result(ret == 1 && walk_end == (long)(mem + mem_size/2), in sanity_tests_sd()
604 1, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
607 ksft_test_result(ret == 1 && walk_end == (long)(mem + page_size), in sanity_tests_sd()
611 -1, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
614 ksft_test_result(ret == 1 && walk_end == (long)(mem + mem_size), in sanity_tests_sd()
622 0, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
625 ksft_test_result(ret == vec_size/2 && walk_end == (long)(mem + mem_size), in sanity_tests_sd()
629 0, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
632 ksft_test_result(ret == 1 && walk_end == (long)(mem + page_size * 2), in sanity_tests_sd()
636 vec_size, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
639 ksft_test_result(ret == 1 && walk_end == (long)(mem + page_size * 2), in sanity_tests_sd()
643 vec_size, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
646 ksft_test_result(ret == vec_size/2 && walk_end == (long)(mem + mem_size), in sanity_tests_sd()
650 vec_size, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
653 ksft_test_result(ret == vec_size/2 && walk_end == (long)(mem + mem_size), in sanity_tests_sd()
657 vec_size/2, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
660 ksft_test_result(ret == vec_size/2 && walk_end == (long)(mem + mem_size), in sanity_tests_sd()
664 1, PAGE_IS_WRITTEN, 0, 0, PAGE_IS_WRITTEN, &walk_end); in sanity_tests_sd()
667 ksft_test_result(ret == 1 && walk_end == (long)(mem + page_size * 2), in sanity_tests_sd()