Home
last modified time | relevance | path

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

/linux-5.19.10/mm/
Dhugetlb_cgroup.c433 (end - start) * resv->pages_per_hpage); in hugetlb_cgroup_uncharge_counter()
445 if (rg->reservation_counter && resv->pages_per_hpage && nr_pages > 0 && in hugetlb_cgroup_uncharge_file_region()
448 nr_pages * resv->pages_per_hpage); in hugetlb_cgroup_uncharge_file_region()
Dhugetlb.c313 if (!resv->pages_per_hpage) in record_hugetlb_cgroup_uncharge_info()
314 resv->pages_per_hpage = pages_per_huge_page(h); in record_hugetlb_cgroup_uncharge_info()
318 VM_BUG_ON(resv->pages_per_hpage != pages_per_huge_page(h)); in record_hugetlb_cgroup_uncharge_info()
902 resv_map->pages_per_hpage = 0; in resv_map_set_hugetlb_cgroup_uncharge_info()
907 resv_map->pages_per_hpage = pages_per_huge_page(h); in resv_map_set_hugetlb_cgroup_uncharge_info()
/linux-5.19.10/include/linux/
Dhugetlb.h75 unsigned long pages_per_hpage; member