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)++)
738 extern struct hstate hstates[HUGE_MAX_HSTATE];
741 #define default_hstate (hstates[default_hstate_idx])
852 return hstates[index].order + PAGE_SHIFT;
857 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
3411 * It is possible to have multiple huge page sizes (hstates)
4055 return &hstates[i];
4432 return &hstates[i];
4655 h = &hstates[hugetlb_max_hstate++];
4763 * But we need to allocate gigantic hstates here early to still

Completed in 148 milliseconds