Searched refs:hstates (Results 1 – 4 of 4) sorted by relevance
48 for ((h) = hstates; (h) < &hstates[hugetlb_max_hstate]; (h)++)351 extern struct hstate hstates[HUGE_MAX_HSTATE];354 #define default_hstate (hstates[default_hstate_idx])438 return hstates[index].order + PAGE_SHIFT; in hstate_index_to_shift()443 return h - hstates; in hstate_index()
178 if (huge_page_order(&hstates[idx]) < HUGETLB_CGROUP_MIN_ORDER) in hugetlb_cgroup_charge_cgroup()234 if (huge_page_order(&hstates[idx]) < HUGETLB_CGROUP_MIN_ORDER) in hugetlb_cgroup_uncharge_cgroup()340 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_init()
42 struct hstate hstates[HUGE_MAX_HSTATE]; variable2239 return &hstates[i]; in kobj_to_hstate()2520 return &hstates[i]; in kobj_to_node_hstate()2707 h = &hstates[hugetlb_max_hstate++]; in hugetlb_add_hstate()
1224 return h - hstates; in get_hstate_idx()