Home
last modified time | relevance | path

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

/Linux-v6.1/mm/
Dhugetlb_cgroup.c430 (end - start) * resv->pages_per_hpage); in hugetlb_cgroup_uncharge_counter()
442 if (rg->reservation_counter && resv->pages_per_hpage && in hugetlb_cgroup_uncharge_file_region()
445 nr_pages * resv->pages_per_hpage); in hugetlb_cgroup_uncharge_file_region()
Dhugetlb.c311 if (!resv->pages_per_hpage) in record_hugetlb_cgroup_uncharge_info()
312 resv->pages_per_hpage = pages_per_huge_page(h); in record_hugetlb_cgroup_uncharge_info()
316 VM_BUG_ON(resv->pages_per_hpage != pages_per_huge_page(h)); in record_hugetlb_cgroup_uncharge_info()
898 resv_map->pages_per_hpage = 0; in resv_map_set_hugetlb_cgroup_uncharge_info()
903 resv_map->pages_per_hpage = pages_per_huge_page(h); in resv_map_set_hugetlb_cgroup_uncharge_info()
/Linux-v6.1/include/linux/
Dhugetlb.h79 unsigned long pages_per_hpage; member