Lines Matching refs:hstate_index
440 &h_cg->rsvd_hugepage[hstate_index(h)]; in record_hugetlb_cgroup_uncharge_info()
1044 &h_cg->rsvd_hugepage[hstate_index(h)]; in resv_map_set_hugetlb_cgroup_uncharge_info()
1895 hugetlb_cgroup_uncharge_folio(hstate_index(h), in free_huge_page()
1897 hugetlb_cgroup_uncharge_folio_rsvd(hstate_index(h), in free_huge_page()
3031 idx = hstate_index(h); in alloc_hugetlb_folio()
3132 hugetlb_cgroup_uncharge_folio_rsvd(hstate_index(h), in alloc_hugetlb_folio()
4004 int hi = hstate_index(h); in hugetlb_sysfs_add_hstate()
4098 int idx = hstate_index(h); in hugetlb_unregister_node()
4232 default_hstate_idx = hstate_index(size_to_hstate(HPAGE_SIZE)); in hugetlb_init()
4494 default_hstate_idx = hstate_index(size_to_hstate(size)); in default_hugepagesz_setup()
5871 VM_FAULT_SET_HINDEX(hstate_index(h)); in hugetlb_no_page()
6053 VM_FAULT_SET_HINDEX(hstate_index(h)); in hugetlb_fault()
6828 if (hugetlb_cgroup_charge_cgroup_rsvd(hstate_index(h), in hugetlb_reserve_pages()
6887 hstate_index(h), in hugetlb_reserve_pages()
6909 hugetlb_cgroup_uncharge_cgroup_rsvd(hstate_index(h), in hugetlb_reserve_pages()