Searched refs:size_to_hstate (Results 1 – 7 of 7) sorted by relevance
383 struct hstate *size_to_hstate(unsigned long size);409 return size_to_hstate(1UL << page_size_log); in hstate_sizelog()469 return size_to_hstate(PAGE_SIZE << compound_order(page)); in page_hstate()
210 if (boot_cpu_has(X86_FEATURE_GBPAGES) && !size_to_hstate(1UL << PUD_SHIFT)) in gigantic_pages_init()
456 if (size_to_hstate(CONT_PTES * PAGE_SIZE) == NULL) in add_default_hugepagesz()
1181 struct hstate *size_to_hstate(unsigned long size) in size_to_hstate() function2765 if (!size_to_hstate(default_hstate_size)) { in hugetlb_init()2772 if (!size_to_hstate(default_hstate_size)) in hugetlb_init()2775 default_hstate_idx = hstate_index(size_to_hstate(default_hstate_size)); in hugetlb_init()2816 if (size_to_hstate(PAGE_SIZE << order)) { in hugetlb_add_hstate()
630 if (size_to_hstate(size)) in add_huge_page_size()
1170 pconfig->hstate = size_to_hstate(ps); in hugetlbfs_parse_options()
333 if (size_to_hstate(size)) in add_huge_page_size()