Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/memfd/
Dfuse_test.c242 unsigned long hpage_size = default_huge_page_size(); in main() local
244 if (!hpage_size) { in main()
250 mfd_def_size = hpage_size * 2; in main()
Dmemfd_test.c1037 unsigned long hpage_size = default_huge_page_size(); in main() local
1039 if (!hpage_size) { in main()
1046 mfd_def_size = hpage_size * 2; in main()
/Linux-v5.10/fs/hugetlbfs/
Dinode.c591 loff_t hpage_size = huge_page_size(h); in hugetlbfs_punch_hole() local
598 hole_start = round_up(offset, hpage_size); in hugetlbfs_punch_hole()
599 hole_end = round_down(offset + len, hpage_size); in hugetlbfs_punch_hole()
635 loff_t hpage_size = huge_page_size(h); in hugetlbfs_fallocate() local
653 end = (offset + len + hpage_size - 1) >> hpage_shift; in hugetlbfs_fallocate()
700 addr = index * hpage_size; in hugetlbfs_fallocate()
1007 unsigned long hpage_size = huge_page_size(sbinfo->hstate); in hugetlbfs_show_options() local
1022 hpage_size /= 1024; in hugetlbfs_show_options()
1024 if (hpage_size >= 1024) { in hugetlbfs_show_options()
1025 hpage_size /= 1024; in hugetlbfs_show_options()
[all …]