Home
last modified time | relevance | path

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

/linux/mm/
H A Dhugetlb_vmemmap.h30 return pages_per_huge_page(h) * sizeof(struct page); in hugetlb_vmemmap_size()
H A Dhugetlb.c489 resv->pages_per_hpage = pages_per_huge_page(h); in record_hugetlb_cgroup_uncharge_info()
1925 pages_per_huge_page(h), folio); in free_huge_folio()
1927 pages_per_huge_page(h), folio); in free_huge_folio()
3027 idx, pages_per_huge_page(h), &h_cg); in alloc_hugetlb_folio()
3089 pages_per_huge_page(h), folio); in alloc_hugetlb_folio()
3222 pages_per_huge_page(h)); in prep_and_add_bootmem_folios()
3800 for (i = 0; i < pages_per_huge_page(src); i += pages_per_huge_page(dst)) { in demote_free_hugetlb_folios()
5216 unsigned long npages = pages_per_huge_page(h); in copy_hugetlb_page_range()
6229 hugetlb_count_add(pages_per_huge_page(h), mm); in hugetlb_no_page()
6959 chg * pages_per_huge_page(h), &h_cg) < 0) in hugetlb_reserve_pages()
[all …]
H A Dhugetlb_cgroup.c123 pages_per_huge_page(&hstates[idx])); in hugetlb_cgroup_init()
566 pages_per_huge_page(&hstates[idx])); in hugetlb_cgroup_read_u64_max()
613 nr_pages = round_down(nr_pages, pages_per_huge_page(&hstates[idx])); in hugetlb_cgroup_write()
/linux/include/linux/
H A Dhugetlb.h782 static inline unsigned int pages_per_huge_page(const struct hstate *h) in pages_per_huge_page() function
1145 static inline unsigned int pages_per_huge_page(struct hstate *h)
/linux/fs/hugetlbfs/
H A Dinode.c481 start = index * pages_per_huge_page(h); in hugetlb_unmap_file_folio()
482 end = (index + 1) * pages_per_huge_page(h); in hugetlb_unmap_file_folio()
/linux/ipc/
H A Dshm.c939 *rss_add += pages_per_huge_page(h) * mapping->nrpages; in shm_add_rss_swap()