Searched refs:hstates (Results 1 - 3 of 3) sorted by relevance

/linux-master/include/linux/
H A Dhugetlb.h122 for ((h) = hstates; (h) < &hstates[hugetlb_max_hstate]; (h)++)
769 extern struct hstate hstates[HUGE_MAX_HSTATE];
772 #define default_hstate (hstates[default_hstate_idx])
883 return hstates[index].order + PAGE_SHIFT;
888 return h - hstates;
/linux-master/mm/
H A Dhugetlb_cgroup.c113 pages_per_huge_page(&hstates[idx]));
556 pages_per_huge_page(&hstates[idx]));
603 nr_pages = round_down(nr_pages, pages_per_huge_page(&hstates[idx]));
709 struct hstate *h = &hstates[idx];
780 struct hstate *h = &hstates[idx];
H A Dhugetlb.c54 struct hstate hstates[HUGE_MAX_HSTATE]; variable in typeref:struct:hstate
3429 * It is possible to have multiple huge page sizes (hstates)
4073 return &hstates[i];
4450 return &hstates[i];
4673 h = &hstates[hugetlb_max_hstate++];
4781 * But we need to allocate gigantic hstates here early to still

Completed in 135 milliseconds