Home
last modified time | relevance | path

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

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