Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dhugetlb.h383 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()
/Linux-v4.19/arch/x86/mm/
Dhugetlbpage.c210 if (boot_cpu_has(X86_FEATURE_GBPAGES) && !size_to_hstate(1UL << PUD_SHIFT)) in gigantic_pages_init()
/Linux-v4.19/arch/arm64/mm/
Dhugetlbpage.c456 if (size_to_hstate(CONT_PTES * PAGE_SIZE) == NULL) in add_default_hugepagesz()
/Linux-v4.19/mm/
Dhugetlb.c1181 struct hstate *size_to_hstate(unsigned long size) in size_to_hstate() function
2765 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()
/Linux-v4.19/arch/powerpc/mm/
Dhugetlbpage.c630 if (size_to_hstate(size)) in add_huge_page_size()
/Linux-v4.19/fs/hugetlbfs/
Dinode.c1170 pconfig->hstate = size_to_hstate(ps); in hugetlbfs_parse_options()
/Linux-v4.19/arch/sparc/mm/
Dinit_64.c333 if (size_to_hstate(size)) in add_huge_page_size()