Searched refs:hstates (Results 1 – 4 of 4) sorted by relevance
45 for ((h) = hstates; (h) < &hstates[hugetlb_max_hstate]; (h)++)337 extern struct hstate hstates[HUGE_MAX_HSTATE];340 #define default_hstate (hstates[default_hstate_idx])424 return hstates[index].order + PAGE_SHIFT; in hstate_index_to_shift()429 return h - hstates; in hstate_index()
178 if (huge_page_order(&hstates[idx]) < HUGETLB_CGROUP_MIN_ORDER) in hugetlb_cgroup_charge_cgroup()233 if (huge_page_order(&hstates[idx]) < HUGETLB_CGROUP_MIN_ORDER) in hugetlb_cgroup_uncharge_cgroup()339 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_init()
42 struct hstate hstates[HUGE_MAX_HSTATE]; variable1825 return &hstates[i]; in kobj_to_hstate()2106 return &hstates[i]; in kobj_to_node_hstate()2293 h = &hstates[hugetlb_max_hstate++]; in hugetlb_add_hstate()
957 return h - hstates; in get_hstate_idx()