Searched refs:kpageflags_fd (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/testing/selftests/mm/ |
D | split_huge_page_test.c | 201 int kpageflags_fd; in split_pte_mapped_thp() local 210 kpageflags_fd = open(kpageflags_proc, O_RDONLY); in split_pte_mapped_thp() 211 if (kpageflags_fd == -1) in split_pte_mapped_thp() 244 is_backed_by_thp(&pte_mapped[i], pagemap_fd, kpageflags_fd)) in split_pte_mapped_thp() 261 is_backed_by_thp(&pte_mapped[i], pagemap_fd, kpageflags_fd)) in split_pte_mapped_thp() 271 close(kpageflags_fd); in split_pte_mapped_thp()
|
/linux-6.12.1/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()
|