Searched refs:sz2ord (Results 1 – 1 of 1) sorted by relevance
44 static int sz2ord(size_t size) in sz2ord() function60 orders = 1UL << sz2ord(pmdsize); in detect_thp_sizes()1170 settings.hugepages[sz2ord(pmdsize)].enabled = THP_NEVER; in run_anon_test_case()1171 settings.hugepages[sz2ord(size)].enabled = THP_ALWAYS; in run_anon_test_case()1784 default_settings.hugepages[sz2ord(pmdsize)].enabled = THP_INHERIT; in main()