Home
last modified time | relevance | path

Searched refs:size_to_hstate (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/include/linux/
Dhugetlb.h331 struct hstate *size_to_hstate(unsigned long size);
359 return size_to_hstate(1UL << page_size_log); in hstate_sizelog()
419 return size_to_hstate(PAGE_SIZE << compound_order(page)); in page_hstate()
/linux-4.1.27/arch/x86/mm/
Dhugetlbpage.c180 if (cpu_has_gbpages && !size_to_hstate(1UL << PUD_SHIFT)) in gigantic_pages_init()
/linux-4.1.27/mm/
Dhugetlb.c921 struct hstate *size_to_hstate(unsigned long size) in size_to_hstate() function
2249 if (!size_to_hstate(default_hstate_size)) { in hugetlb_init()
2251 if (!size_to_hstate(default_hstate_size)) in hugetlb_init()
2254 default_hstate_idx = hstate_index(size_to_hstate(default_hstate_size)); in hugetlb_init()
2287 if (size_to_hstate(PAGE_SIZE << order)) { in hugetlb_add_hstate()
/linux-4.1.27/arch/powerpc/mm/
Dhugetlbpage.c827 if (size_to_hstate(size)) in add_huge_page_size()
/linux-4.1.27/fs/hugetlbfs/
Dinode.c820 pconfig->hstate = size_to_hstate(ps); in hugetlbfs_parse_options()