• Home
  • Raw
  • Download

Lines Matching full:settings

85 struct settings {  struct
94 static struct settings default_settings = { argument
107 static struct settings saved_settings;
263 static void write_settings(struct settings *settings) in write_settings() argument
265 struct khugepaged_settings *khugepaged = &settings->khugepaged; in write_settings()
267 write_string("enabled", thp_enabled_strings[settings->thp_enabled]); in write_settings()
268 write_string("defrag", thp_defrag_strings[settings->thp_defrag]); in write_settings()
270 shmem_enabled_strings[settings->shmem_enabled]); in write_settings()
271 write_num("debug_cow", settings->debug_cow); in write_settings()
272 write_num("use_zero_page", settings->use_zero_page); in write_settings()
290 printf("Restore THP and khugepaged settings..."); in restore_settings()
301 printf("Save THP and khugepaged settings..."); in save_settings()
302 saved_settings = (struct settings) { in save_settings()
332 printf("Adjust settings..."); in adjust_settings()
510 struct settings settings = default_settings; in alloc_at_fault() local
513 settings.thp_enabled = THP_ALWAYS; in alloc_at_fault()
514 write_settings(&settings); in alloc_at_fault()
584 struct settings settings = default_settings; in collapse_max_ptes_none() local
587 settings.khugepaged.max_ptes_none = max_ptes_none; in collapse_max_ptes_none()
588 write_settings(&settings); in collapse_max_ptes_none()
832 /* Do not touch settings on child exit */ in collapse_fork()
884 /* Do not touch settings on child exit */ in collapse_fork_compound()
947 /* Do not touch settings on child exit */ in collapse_max_ptes_shared()