Home
last modified time | relevance | path

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

/linux-6.1.9/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.c459 if (!resv->pages_per_hpage) in record_hugetlb_cgroup_uncharge_info()
460 resv->pages_per_hpage = pages_per_huge_page(h); in record_hugetlb_cgroup_uncharge_info()
464 VM_BUG_ON(resv->pages_per_hpage != pages_per_huge_page(h)); in record_hugetlb_cgroup_uncharge_info()
1046 resv_map->pages_per_hpage = 0; in resv_map_set_hugetlb_cgroup_uncharge_info()
1051 resv_map->pages_per_hpage = pages_per_huge_page(h); in resv_map_set_hugetlb_cgroup_uncharge_info()
/linux-6.1.9/include/linux/
Dhugetlb.h79 unsigned long pages_per_hpage; member