Home
last modified time | relevance | path

Searched refs:hstates (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/include/linux/
Dhugetlb.h45 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()
/linux-4.1.27/mm/
Dhugetlb_cgroup.c178 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()
Dhugetlb.c42 struct hstate hstates[HUGE_MAX_HSTATE]; variable
1825 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()
/linux-4.1.27/fs/hugetlbfs/
Dinode.c957 return h - hstates; in get_hstate_idx()