Searched refs:size_to_hstate (Results 1 – 8 of 8) sorted by relevance
39 if (IS_ENABLED(CONFIG_64BIT) && !size_to_hstate(1UL << PUD_SHIFT)) in gigantic_pages_init()
371 struct hstate *size_to_hstate(unsigned long size);397 return size_to_hstate(1UL << page_size_log); in hstate_sizelog()457 return size_to_hstate(page_size(page)); in page_hstate()
210 if (boot_cpu_has(X86_FEATURE_GBPAGES) && !size_to_hstate(1UL << PUD_SHIFT)) in gigantic_pages_init()
446 if (size_to_hstate(size)) in add_huge_page_size()
572 if (size_to_hstate(size)) in add_huge_page_size()
1200 struct hstate *size_to_hstate(unsigned long size) in size_to_hstate() function2902 if (!size_to_hstate(default_hstate_size)) { in hugetlb_init()2909 if (!size_to_hstate(default_hstate_size)) in hugetlb_init()2912 default_hstate_idx = hstate_index(size_to_hstate(default_hstate_size)); in hugetlb_init()2953 if (size_to_hstate(PAGE_SIZE << order)) { in hugetlb_add_hstate()
1194 ctx->hstate = size_to_hstate(ps); in hugetlbfs_parse_param()
332 if (size_to_hstate(size)) in add_huge_page_size()