Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dhugetlb.h345 struct hstate *size_to_hstate(unsigned long size);
373 return size_to_hstate(1UL << page_size_log); in hstate_sizelog()
433 return size_to_hstate(PAGE_SIZE << compound_order(page)); in page_hstate()
/linux-4.4.14/arch/x86/mm/
Dhugetlbpage.c180 if (cpu_has_gbpages && !size_to_hstate(1UL << PUD_SHIFT)) in gigantic_pages_init()
/linux-4.4.14/mm/
Dhugetlb.c1168 struct hstate *size_to_hstate(unsigned long size) in size_to_hstate() function
2663 if (!size_to_hstate(default_hstate_size)) { in hugetlb_init()
2665 if (!size_to_hstate(default_hstate_size)) in hugetlb_init()
2668 default_hstate_idx = hstate_index(size_to_hstate(default_hstate_size)); in hugetlb_init()
2701 if (size_to_hstate(PAGE_SIZE << order)) { in hugetlb_add_hstate()
/linux-4.4.14/arch/powerpc/mm/
Dhugetlbpage.c834 if (size_to_hstate(size)) in add_huge_page_size()
/linux-4.4.14/fs/hugetlbfs/
Dinode.c1087 pconfig->hstate = size_to_hstate(ps); in hugetlbfs_parse_options()