Searched refs:default_settings (Results 1 – 3 of 3) sorted by relevance
52 int default_settings; variable99 if (default_settings) { in shutdown()165 if (default_settings) { in validate_current_settings()283 default_settings = 1; in main()288 if (default_settings) { in main()304 if (default_settings) { in main()320 if (default_settings) { in main()327 if (!default_settings) { in main()
1173 struct thp_settings default_settings = { in main() local1206 default_settings.khugepaged.max_ptes_none = hpage_pmd_nr - 1; in main()1207 default_settings.khugepaged.max_ptes_swap = hpage_pmd_nr / 8; in main()1208 default_settings.khugepaged.max_ptes_shared = hpage_pmd_nr / 2; in main()1209 default_settings.khugepaged.pages_to_scan = hpage_pmd_nr * 8; in main()1210 default_settings.hugepages[hpage_pmd_order].enabled = THP_INHERIT; in main()1211 default_settings.hugepages[anon_order].enabled = THP_ALWAYS; in main()1212 default_settings.shmem_hugepages[hpage_pmd_order].enabled = SHMEM_INHERIT; in main()1213 default_settings.shmem_hugepages[anon_order].enabled = SHMEM_ALWAYS; in main()1216 thp_push_settings(&default_settings); in main()
1775 struct thp_settings default_settings; in main() 1783 thp_read_settings(&default_settings); in main() 1784 default_settings.hugepages[sz2ord(pmdsize)].enabled = THP_INHERIT;1786 thp_push_settings(&default_settings);1739 struct thp_settings default_settings; main() local