Searched refs:kpageflags_fd (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/tools/testing/selftests/mm/ |
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()
|
/Linux-v6.6/tools/mm/ |
D | page-types.c | 185 static int kpageflags_fd; variable 279 return do_u64_read(kpageflags_fd, opt_kpageflags, buf, index, pages); in kpageflags_read() 792 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_addr_ranges() 806 close(kpageflags_fd); in walk_addr_ranges() 1082 kpageflags_fd = checked_open(opt_kpageflags, O_RDONLY); in walk_page_cache() 1098 close(kpageflags_fd); in walk_page_cache()
|