Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dhugetlb_cgroup.c383 if (hugetlb_cgroup_disabled() || !resv || !resv->reservation_counter || in hugetlb_cgroup_uncharge_counter()
387 page_counter_uncharge(resv->reservation_counter, in hugetlb_cgroup_uncharge_counter()
400 if (rg->reservation_counter && resv->pages_per_hpage && nr_pages > 0 && in hugetlb_cgroup_uncharge_file_region()
401 !resv->reservation_counter) { in hugetlb_cgroup_uncharge_file_region()
402 page_counter_uncharge(rg->reservation_counter, in hugetlb_cgroup_uncharge_file_region()
Dhugetlb.c270 nrg->reservation_counter = rg->reservation_counter; in copy_hugetlb_cgroup_uncharge_info()
285 nrg->reservation_counter = in record_hugetlb_cgroup_uncharge_info()
306 nrg->reservation_counter = NULL; in record_hugetlb_cgroup_uncharge_info()
325 rg->reservation_counter == org->reservation_counter && in has_same_uncharge_info()
882 resv_map->reservation_counter = NULL; in resv_map_set_hugetlb_cgroup_uncharge_info()
886 resv_map->reservation_counter = in resv_map_set_hugetlb_cgroup_uncharge_info()
/kernel/linux/linux-5.10/include/linux/
Dhugetlb.h56 struct page_counter *reservation_counter; member
91 struct page_counter *reservation_counter; member