• Home
  • Raw
  • Download

Lines Matching refs:PATH_KSM

228 	if (access(PATH_KSM, F_OK) == -1 || lite == 1) {  in testoom()
233 SAFE_FILE_SCANF(PATH_KSM "run", "%d", &ksm_run_orig); in testoom()
234 SAFE_FILE_PRINTF(PATH_KSM "run", "1"); in testoom()
236 SAFE_FILE_PRINTF(PATH_KSM "run", "%d", ksm_run_orig); in testoom()
247 snprintf(fullpath, BUFSIZ, PATH_KSM "%s", path); in check()
485 if (access(PATH_KSM "max_page_sharing", F_OK) == 0) in create_same_memory()
486 SAFE_FILE_PRINTF(PATH_KSM "max_page_sharing", "%ld", size * pages * num); in create_same_memory()
487 SAFE_FILE_PRINTF(PATH_KSM "run", "1"); in create_same_memory()
488 SAFE_FILE_PRINTF(PATH_KSM "pages_to_scan", "%ld", size * pages * num); in create_same_memory()
489 SAFE_FILE_PRINTF(PATH_KSM "sleep_millisecs", "0"); in create_same_memory()
508 SAFE_FILE_PRINTF(PATH_KSM "run", "2"); in create_same_memory()
514 SAFE_FILE_PRINTF(PATH_KSM "run", "0"); in create_same_memory()
571 SAFE_FILE_PRINTF(PATH_KSM "sleep_millisecs", "0"); in test_ksm_merge_across_nodes()
572 SAFE_FILE_PRINTF(PATH_KSM "pages_to_scan", "%ld", in test_ksm_merge_across_nodes()
574 if (access(PATH_KSM "max_page_sharing", F_OK) == 0) in test_ksm_merge_across_nodes()
575 SAFE_FILE_PRINTF(PATH_KSM "max_page_sharing", in test_ksm_merge_across_nodes()
583 SAFE_FILE_PRINTF(PATH_KSM "run", "2"); in test_ksm_merge_across_nodes()
585 SAFE_FILE_PRINTF(PATH_KSM "merge_across_nodes", "1"); in test_ksm_merge_across_nodes()
586 SAFE_FILE_PRINTF(PATH_KSM "run", "1"); in test_ksm_merge_across_nodes()
590 SAFE_FILE_PRINTF(PATH_KSM "run", "2"); in test_ksm_merge_across_nodes()
592 SAFE_FILE_PRINTF(PATH_KSM "merge_across_nodes", "0"); in test_ksm_merge_across_nodes()
593 SAFE_FILE_PRINTF(PATH_KSM "run", "1"); in test_ksm_merge_across_nodes()
597 SAFE_FILE_PRINTF(PATH_KSM "run", "2"); in test_ksm_merge_across_nodes()