Home
last modified time | relevance | path

Searched refs:set_sys_tune (Results 1 – 25 of 28) sorted by relevance

12

/external/ltp/testcases/kernel/mem/oom/
Doom01.c39 set_sys_tune("overcommit_memory", 2, 1); in verify_oom()
44 set_sys_tune("overcommit_memory", 0, 1); in verify_oom()
47 set_sys_tune("overcommit_memory", 1, 1); in verify_oom()
59 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
Doom02.c60 set_sys_tune("overcommit_memory", 1, 1); in setup()
66 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
Doom04.c69 set_sys_tune("overcommit_memory", 1, 1); in setup()
90 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
Doom03.c74 set_sys_tune("overcommit_memory", 1, 1); in setup()
82 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
Doom05.c93 set_sys_tune("overcommit_memory", 1, 1); in setup()
117 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
/external/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c135 set_sys_tune("overcommit_ratio", overcommit_ratio, 1); in setup()
141 set_sys_tune("overcommit_memory", old_overcommit_memory, 0); in cleanup()
143 set_sys_tune("overcommit_ratio", old_overcommit_ratio, 0); in cleanup()
153 set_sys_tune("overcommit_memory", 2, 1); in overcommit_memory_test()
162 set_sys_tune("overcommit_memory", 0, 1); in overcommit_memory_test()
171 set_sys_tune("overcommit_memory", 1, 1); in overcommit_memory_test()
Dmin_free_kbytes.c91 set_sys_tune("overcommit_memory", overcommit_policy, 1); in test_tune()
96 set_sys_tune("min_free_kbytes", default_tune, 1); in test_tune()
99 set_sys_tune("min_free_kbytes", 2 * default_tune, 1); in test_tune()
108 set_sys_tune("min_free_kbytes", tune, 1); in test_tune()
225 set_sys_tune("min_free_kbytes", default_tune, 0); in cleanup()
227 set_sys_tune("overcommit_memory", orig_overcommit, 0); in cleanup()
Dmax_map_count.c68 set_sys_tune("overcommit_memory", 2, 1); in setup()
77 set_sys_tune("overcommit_memory", old_overcommit, 0); in cleanup()
79 set_sys_tune("max_map_count", old_max_map_count, 0); in cleanup()
173 set_sys_tune("max_map_count", max_maps, 1); in max_map_count_test()
/external/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.c56 set_sys_tune("nr_hugepages", orig_hugepages, 0); in restore_nr_hugepages()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget01.c74 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
Dhugeshmget05.c85 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
Dhugeshmget03.c73 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
Dhugeshmget02.c92 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat03.c94 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
Dhugeshmat05.c54 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
Dhugeshmat02.c98 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
Dhugeshmat04.c103 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
Dhugeshmat01.c174 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap01.c100 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
Dhugemmap04.c117 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
Dhugemmap06.c63 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
/external/ltp/testcases/kernel/mem/include/
Dmem.h84 void set_sys_tune(char *sys_file, long tune, int check);
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
Dhugeshmdt01.c139 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c99 set_sys_tune("nr_hugepages", hugepages, 1); in setup()
Dhugeshmctl03.c124 set_sys_tune("nr_hugepages", hugepages, 1); in setup()

12