Searched refs:pages_per_huge_page (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | memory.c | 4593 unsigned int pages_per_huge_page) in clear_gigantic_page() argument 4599 for (i = 0; i < pages_per_huge_page; in clear_gigantic_page() 4606 unsigned long addr_hint, unsigned int pages_per_huge_page) in clear_huge_page() argument 4610 ~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1); in clear_huge_page() 4612 if (unlikely(pages_per_huge_page > MAX_ORDER_NR_PAGES)) { in clear_huge_page() 4613 clear_gigantic_page(page, addr, pages_per_huge_page); in clear_huge_page() 4620 if (2 * n <= pages_per_huge_page) { in clear_huge_page() 4625 for (i = pages_per_huge_page - 1; i >= 2 * n; i--) { in clear_huge_page() 4631 base = pages_per_huge_page - 2 * (pages_per_huge_page - n); in clear_huge_page() 4632 l = pages_per_huge_page - n; in clear_huge_page() [all …]
|
D | hugetlb.c | 1200 for (i = 0; i < pages_per_huge_page(h); i++) { in update_and_free_page() 1294 pages_per_huge_page(h), page); in free_huge_page() 2032 ret = hugetlb_cgroup_charge_cgroup(idx, pages_per_huge_page(h), &h_cg); in alloc_huge_page() 2056 hugetlb_cgroup_commit_charge(idx, pages_per_huge_page(h), h_cg, page); in alloc_huge_page() 2080 hugetlb_cgroup_uncharge_cgroup(idx, pages_per_huge_page(h), h_cg); in alloc_huge_page() 3051 nr_total_pages += h->nr_huge_pages * pages_per_huge_page(h); in hugetlb_total_pages() 3303 hugetlb_count_add(pages_per_huge_page(h), dst); in copy_hugetlb_page_range() 3393 hugetlb_count_sub(pages_per_huge_page(h), mm); in __unmap_hugepage_range() 3588 pages_per_huge_page(h)); in hugetlb_cow() 3759 clear_huge_page(page, address, pages_per_huge_page(h)); in hugetlb_no_page() [all …]
|
D | userfaultfd.c | 306 pages_per_huge_page(h), true); in __mcopy_atomic_hugetlb()
|
D | migrate.c | 638 nr_pages = pages_per_huge_page(h); in copy_huge_page()
|