Searched refs:kpageflags_fd (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | split_huge_page_test.c | 144 int kpageflags_fd; in split_pte_mapped_thp() local 157 kpageflags_fd = open(kpageflags_proc, O_RDONLY); in split_pte_mapped_thp() 159 if (kpageflags_fd == -1) { in split_pte_mapped_thp() 196 is_backed_by_thp(&pte_mapped[i], pagemap_fd, kpageflags_fd)) in split_pte_mapped_thp() 216 is_backed_by_thp(&pte_mapped[i], pagemap_fd, kpageflags_fd)) in split_pte_mapped_thp() 228 close(kpageflags_fd); in split_pte_mapped_thp()
|
/openbmc/linux/tools/mm/ |
H A D | page-types.c | 186 static int kpageflags_fd; variable 280 return do_u64_read(kpageflags_fd, opt_kpageflags, buf, index, pages); in kpageflags_read() 793 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_addr_ranges() 807 close(kpageflags_fd); in walk_addr_ranges() 1083 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_page_cache() 1099 close(kpageflags_fd); in walk_page_cache()
|