Searched refs:pages_per_huge_page (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/mm/ |
D | memory.c | 4591 unsigned long addr_hint, unsigned int pages_per_huge_page, in process_huge_page() argument 4597 ~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1); in process_huge_page() 4602 if (2 * n <= pages_per_huge_page) { in process_huge_page() 4607 for (i = pages_per_huge_page - 1; i >= 2 * n; i--) { in process_huge_page() 4613 base = pages_per_huge_page - 2 * (pages_per_huge_page - n); in process_huge_page() 4614 l = pages_per_huge_page - n; in process_huge_page() 4638 unsigned int pages_per_huge_page) in clear_gigantic_page() argument 4644 for (i = 0; i < pages_per_huge_page; in clear_gigantic_page() 4659 unsigned long addr_hint, unsigned int pages_per_huge_page) in clear_huge_page() argument 4662 ~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1); in clear_huge_page() [all …]
|
D | hugetlb.c | 1164 for (i = 0; i < pages_per_huge_page(h); i++) { in update_and_free_page() 1269 pages_per_huge_page(h), page); in free_huge_page() 2037 ret = hugetlb_cgroup_charge_cgroup(idx, pages_per_huge_page(h), &h_cg); in alloc_huge_page() 2061 hugetlb_cgroup_commit_charge(idx, pages_per_huge_page(h), h_cg, page); in alloc_huge_page() 2085 hugetlb_cgroup_uncharge_cgroup(idx, pages_per_huge_page(h), h_cg); in alloc_huge_page() 3048 nr_total_pages += h->nr_huge_pages * pages_per_huge_page(h); in hugetlb_total_pages() 3305 hugetlb_count_add(pages_per_huge_page(h), dst); in copy_hugetlb_page_range() 3404 hugetlb_count_sub(pages_per_huge_page(h), mm); in __unmap_hugepage_range() 3610 pages_per_huge_page(h)); in hugetlb_cow() 3771 clear_huge_page(page, address, pages_per_huge_page(h)); in hugetlb_no_page() [all …]
|
D | userfaultfd.c | 283 pages_per_huge_page(h), true); in __mcopy_atomic_hugetlb()
|
D | migrate.c | 652 nr_pages = pages_per_huge_page(h); in copy_huge_page()
|
/Linux-v4.19/include/linux/ |
D | hugetlb.h | 446 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page() function 569 static inline unsigned int pages_per_huge_page(struct hstate *h) in pages_per_huge_page() function
|
D | mm.h | 2747 unsigned int pages_per_huge_page); 2751 unsigned int pages_per_huge_page); 2754 unsigned int pages_per_huge_page,
|
/Linux-v4.19/fs/hugetlbfs/ |
D | inode.c | 448 index * pages_per_huge_page(h), in remove_inode_hugepages() 449 (index + 1) * pages_per_huge_page(h)); in remove_inode_hugepages() 649 clear_huge_page(page, addr, pages_per_huge_page(h)); in hugetlbfs_fallocate()
|
/Linux-v4.19/ipc/ |
D | shm.c | 842 *rss_add += pages_per_huge_page(h) * mapping->nrpages; in shm_add_rss_swap()
|