Searched refs:add_huge_page_size (Results 1 – 3 of 3) sorted by relevance
444 static void __init add_huge_page_size(unsigned long size) in add_huge_page_size() function455 add_huge_page_size(PUD_SIZE); in hugetlbpage_init()457 add_huge_page_size(CONT_PMD_SIZE); in hugetlbpage_init()458 add_huge_page_size(PMD_SIZE); in hugetlbpage_init()459 add_huge_page_size(CONT_PTE_SIZE); in hugetlbpage_init()476 add_huge_page_size(ps); in setup_hugepagesz()
555 static int __init add_huge_page_size(unsigned long long size) in add_huge_page_size() function586 if (add_huge_page_size(size) != 0) { in hugepage_setup_sz()636 if (add_huge_page_size(1ULL << shift) < 0) in hugetlbpage_init()
328 static void __init add_huge_page_size(unsigned long size) in add_huge_page_size() function341 add_huge_page_size(1UL << HPAGE_64K_SHIFT); in hugetlbpage_init()342 add_huge_page_size(1UL << HPAGE_SHIFT); in hugetlbpage_init()343 add_huge_page_size(1UL << HPAGE_256MB_SHIFT); in hugetlbpage_init()344 add_huge_page_size(1UL << HPAGE_2GB_SHIFT); in hugetlbpage_init()407 add_huge_page_size(hugepage_size); in setup_hugepagesz()