Home
last modified time | relevance | path

Searched refs:one_page (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c106 static void verify_rss_anon_split_huge_page_all_zeroes(char *one_page, int nr_hpages, size_t len) in verify_rss_anon_split_huge_page_all_zeroes() argument
111 if (!check_huge_anon(one_page, 4, pmd_pagesize)) { in verify_rss_anon_split_huge_page_all_zeroes()
123 write_debugfs(PID_FMT, getpid(), (uint64_t)one_page, in verify_rss_anon_split_huge_page_all_zeroes()
124 (uint64_t)one_page + len, 0); in verify_rss_anon_split_huge_page_all_zeroes()
127 if (one_page[i] != (char)0) { in verify_rss_anon_split_huge_page_all_zeroes()
132 if (!check_huge_anon(one_page, 0, pmd_pagesize)) { in verify_rss_anon_split_huge_page_all_zeroes()
147 char *one_page; in split_pmd_zero_pages() local
151 one_page = allocate_zero_filled_hugepage(len); in split_pmd_zero_pages()
152 verify_rss_anon_split_huge_page_all_zeroes(one_page, nr_hpages, len); in split_pmd_zero_pages()
154 free(one_page); in split_pmd_zero_pages()
[all …]