Lines Matching refs:ksm_read_sysfs
65 static int ksm_read_sysfs(const char *file_path, unsigned long *val) in ksm_read_sysfs() function
155 if (ksm_read_sysfs(KSM_FP("full_scans"), &init_scan)) in ksm_do_scan()
160 if (ksm_read_sysfs(KSM_FP("full_scans"), &cur_scan)) in ksm_do_scan()
195 if (ksm_read_sysfs(KSM_FP("pages_shared"), &pages_shared) || in assert_ksm_pages_count()
196 ksm_read_sysfs(KSM_FP("pages_sharing"), &pages_sharing) || in assert_ksm_pages_count()
197 ksm_read_sysfs(KSM_FP("max_page_sharing"), &max_page_sharing)) in assert_ksm_pages_count()
225 if (ksm_read_sysfs(KSM_FP("max_page_sharing"), &ksm_sysfs->max_page_sharing) || in ksm_save_def()
227 ksm_read_sysfs(KSM_FP("merge_across_nodes"), &ksm_sysfs->merge_across_nodes) || in ksm_save_def()
228 ksm_read_sysfs(KSM_FP("sleep_millisecs"), &ksm_sysfs->sleep_millisecs) || in ksm_save_def()
229 ksm_read_sysfs(KSM_FP("pages_to_scan"), &ksm_sysfs->pages_to_scan) || in ksm_save_def()
230 ksm_read_sysfs(KSM_FP("run"), &ksm_sysfs->run) || in ksm_save_def()
231 ksm_read_sysfs(KSM_FP("stable_node_chains_prune_millisecs"), in ksm_save_def()
233 ksm_read_sysfs(KSM_FP("use_zero_pages"), &ksm_sysfs->use_zero_pages)) in ksm_save_def()