Lines Matching refs:pagemap_ioctl

43 static long pagemap_ioctl(void *start, int len, void *vec, int vec_len, int flag,  in pagemap_ioctl()  function
153 if (pagemap_ioctl(lpBaseAddress, dwRegionSize, NULL, 0, in wp_addr_range()
213 written = pagemap_ioctl(mem, mem_size, vec, 1, PM_SCAN_WP_MATCHING | PM_SCAN_CHECK_WPASYNC, in userfaultfd_tests()
263 ksft_test_result(pagemap_ioctl(mem, 0, vec, vec_size, 0, in sanity_tests_sd()
267 ksft_test_result(pagemap_ioctl(mem, mem_size, NULL, vec_size, 0, in sanity_tests_sd()
271 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, 0, 0, in sanity_tests_sd()
275 ksft_test_result(pagemap_ioctl(mem, mem_size, 0, 0, 0, in sanity_tests_sd()
279 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, -1, in sanity_tests_sd()
283 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
288 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, 0, in sanity_tests_sd()
292 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, 0, in sanity_tests_sd()
296 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, 0, in sanity_tests_sd()
300 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
305 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
312 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
321 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, 0, 0, PAGE_IS_WRITTEN, 0, in sanity_tests_sd()
330 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
336 ret2 = pagemap_ioctl(mem, mem_size, vec, 2, 0, 0, PAGE_IS_WRITTEN, 0, 0, in sanity_tests_sd()
341 ret3 = pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
356 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
362 ret2 = pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
377 ret = pagemap_ioctl(mem + page_size, 2 * page_size, vec, 1, in sanity_tests_sd()
383 ret2 = pagemap_ioctl(mem, mem_size, vec2, vec_size, 0, 0, in sanity_tests_sd()
416 ret = pagemap_ioctl(m[1], mem_size, vec, 1, 0, 0, PAGE_IS_WRITTEN, 0, 0, in sanity_tests_sd()
447 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
456 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
464 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
472 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests_sd()
698 written = pagemap_ioctl(mem, mem_size, vec, 1, PM_SCAN_WP_MATCHING | PM_SCAN_CHECK_WPASYNC, in base_tests()
708 written = pagemap_ioctl(mem, mem_size, vec, 1, 0, 0, PAGE_IS_WRITTEN, 0, 0, in base_tests()
717 written = pagemap_ioctl(mem, mem_size, vec, 1, PM_SCAN_WP_MATCHING | PM_SCAN_CHECK_WPASYNC, in base_tests()
724 written = pagemap_ioctl(mem, mem_size, vec, 1, PM_SCAN_WP_MATCHING | PM_SCAN_CHECK_WPASYNC, in base_tests()
732 written = pagemap_ioctl(mem, mem_size, vec, 1, 0, 0, in base_tests()
741 written = pagemap_ioctl(mem, mem_size, vec, 1, PM_SCAN_WP_MATCHING | PM_SCAN_CHECK_WPASYNC, in base_tests()
748 written = pagemap_ioctl(mem, mem_size, vec, vec_size, 0, 0, PAGE_IS_WRITTEN, in base_tests()
757 written = pagemap_ioctl(mem, mem_size, vec, 1, PM_SCAN_WP_MATCHING | PM_SCAN_CHECK_WPASYNC, in base_tests()
765 written = pagemap_ioctl(&mem[vec_size/2 * page_size], 2 * page_size, vec, 1, 0, in base_tests()
817 ret = pagemap_ioctl(map, map_size, vec, vec_size, in hpage_unit_tests()
827 ret = pagemap_ioctl(map, map_size, vec, vec_size, 0, 0, in hpage_unit_tests()
836 ret = pagemap_ioctl(map, map_size, vec, vec_size, in hpage_unit_tests()
854 ret = pagemap_ioctl(map, map_size, vec, vec_size, 0, 0, in hpage_unit_tests()
881 ret = pagemap_ioctl(map, map_size, vec, vec_size, 0, 0, in hpage_unit_tests()
903 ret = pagemap_ioctl(map, map_size, vec, vec_size, in hpage_unit_tests()
909 ret = pagemap_ioctl(map, map_size, vec, vec_size, 0, 0, in hpage_unit_tests()
933 ret = pagemap_ioctl(map + map_size/2, map_size/2, vec, vec_size, in hpage_unit_tests()
939 ret = pagemap_ioctl(map, map_size, vec, vec_size, 0, 0, in hpage_unit_tests()
961 ret = pagemap_ioctl(map, map_size, vec, 1, in hpage_unit_tests()
971 ret2 = pagemap_ioctl(map, map_size, vec, vec_size, 0, 0, in hpage_unit_tests()
999 written = pagemap_ioctl(start, len, vec, vec_size, 0, 0, in unmapped_region_tests()
1024 if (pagemap_ioctl(map, page_size, &vec, 1, 0, 0, in test_simple()
1034 if (pagemap_ioctl(map, page_size, &vec, 1, 0, 0, in test_simple()
1068 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests()
1072 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, 0, 0, in sanity_tests()
1075 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, 0, 0, in sanity_tests()
1078 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, 0, 0, in sanity_tests()
1081 ksft_test_result(pagemap_ioctl(mem, mem_size, vec, vec_size, 0, 0, in sanity_tests()
1097 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, 0, 0, in sanity_tests()
1105 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, 0, 0, in sanity_tests()
1113 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, 0, 0, in sanity_tests()
1122 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, 0, 0, in sanity_tests()
1127 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, 0, 0, in sanity_tests()
1143 ret = pagemap_ioctl(mem, mem_size, vec, vec_size, in sanity_tests()
1168 ret = pagemap_ioctl(fmem, sbuf.st_size, vec, vec_size, 0, 0, in sanity_tests()
1203 ret = pagemap_ioctl(fmem, buf_size, vec, vec_size, 0, 0, in sanity_tests()
1242 ret = pagemap_ioctl(mem, 2 * page_size, &vec, 1, 0, 0, PAGE_IS_WRITTEN, in mprotect_tests()
1252 ksft_test_result(pagemap_ioctl(mem, 2 * page_size, &vec, 1, 0, 0, in mprotect_tests()
1277 ret = pagemap_ioctl(mem, 2 * page_size, &vec, 1, 0, 0, PAGE_IS_WRITTEN, in mprotect_tests()
1290 ret = pagemap_ioctl(mem, 2 * page_size, &vec, 1, 0, 0, PAGE_IS_WRITTEN, in mprotect_tests()