Searched refs:thpsize (Results 1 – 2 of 2) sorted by relevance
29 static size_t thpsize; variable64 const size_t mmap_size = 2 * thpsize; in mmap_thp_range()73 mem = (char *)(((uintptr_t)mmap_mem + thpsize) & ~(thpsize - 1)); in mmap_thp_range()206 if (mprotect(mem, thpsize, PROT_READ)) { in test_page_migration_thp()245 if (mprotect(mem, thpsize, PROT_READ)) { in test_pte_mapped_thp()332 thpsize = read_pmd_pagesize(); in main()333 if (thpsize) { in main()335 thpsize / 1024); in main()357 if (thpsize) in main()364 if (thpsize) in main()[all …]
35 static size_t thpsize; variable753 mem = (char *)(((uintptr_t)mmap_mem + thpsize) & ~(thpsize - 1)); in do_run_with_thp()772 size = thpsize; in do_run_with_thp()1094 if (thpsize) { in run_anon_test_case()1123 if (thpsize) in tests_per_anon_test_case()1332 if (!thpsize) in run_anon_thp_test_cases()1437 mem = (char *)(((uintptr_t)mmap_mem + thpsize) & ~(thpsize - 1)); in run_with_huge_zeropage()1438 smem = (char *)(((uintptr_t)mmap_smem + thpsize) & ~(thpsize - 1)); in run_with_huge_zeropage()1653 if (thpsize) in run_non_anon_test_case()1674 if (thpsize) in tests_per_non_anon_test_case()[all …]