Home
last modified time | relevance | path

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

/mm/
Dmemory.c4639 unsigned long addr_hint, unsigned int pages_per_huge_page, in process_huge_page() argument
4645 ~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1); in process_huge_page()
4650 if (2 * n <= pages_per_huge_page) { in process_huge_page()
4655 for (i = pages_per_huge_page - 1; i >= 2 * n; i--) { in process_huge_page()
4661 base = pages_per_huge_page - 2 * (pages_per_huge_page - n); in process_huge_page()
4662 l = pages_per_huge_page - n; in process_huge_page()
4686 unsigned int pages_per_huge_page) in clear_gigantic_page() argument
4692 for (i = 0; i < pages_per_huge_page; in clear_gigantic_page()
4707 unsigned long addr_hint, unsigned int pages_per_huge_page) in clear_huge_page() argument
4710 ~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1); in clear_huge_page()
[all …]
Dhugetlb.c1209 for (i = 0; i < pages_per_huge_page(h); in update_and_free_page()
1326 pages_per_huge_page(h), page); in __free_huge_page()
2205 ret = hugetlb_cgroup_charge_cgroup(idx, pages_per_huge_page(h), &h_cg); in alloc_huge_page()
2229 hugetlb_cgroup_commit_charge(idx, pages_per_huge_page(h), h_cg, page); in alloc_huge_page()
2253 hugetlb_cgroup_uncharge_cgroup(idx, pages_per_huge_page(h), h_cg); in alloc_huge_page()
3294 nr_total_pages += h->nr_huge_pages * pages_per_huge_page(h); in hugetlb_total_pages()
3567 hugetlb_count_add(pages_per_huge_page(h), dst); in copy_hugetlb_page_range()
3666 hugetlb_count_sub(pages_per_huge_page(h), mm); in __unmap_hugepage_range()
3887 pages_per_huge_page(h)); in hugetlb_cow()
4073 clear_huge_page(page, address, pages_per_huge_page(h)); in hugetlb_no_page()
[all …]
Duserfaultfd.c306 pages_per_huge_page(h), true); in __mcopy_atomic_hugetlb()
Dmigrate.c578 nr_pages = pages_per_huge_page(h); in copy_huge_page()