Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dhugetlb_cgroup.c388 (end - start) * resv->pages_per_hpage); in hugetlb_cgroup_uncharge_counter()
400 if (rg->reservation_counter && resv->pages_per_hpage && nr_pages > 0 && in hugetlb_cgroup_uncharge_file_region()
403 nr_pages * resv->pages_per_hpage); in hugetlb_cgroup_uncharge_file_region()
Dhugetlb.c299 if (!resv->pages_per_hpage) in record_hugetlb_cgroup_uncharge_info()
300 resv->pages_per_hpage = pages_per_huge_page(h); in record_hugetlb_cgroup_uncharge_info()
304 VM_BUG_ON(resv->pages_per_hpage != pages_per_huge_page(h)); in record_hugetlb_cgroup_uncharge_info()
883 resv_map->pages_per_hpage = 0; in resv_map_set_hugetlb_cgroup_uncharge_info()
888 resv_map->pages_per_hpage = pages_per_huge_page(h); in resv_map_set_hugetlb_cgroup_uncharge_info()
/kernel/linux/linux-5.10/include/linux/
Dhugetlb.h57 unsigned long pages_per_hpage; member