Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/mem/oom/
Doom01.c40 set_sys_tune("overcommit_memory", 2, 1); in verify_oom()
45 set_sys_tune("overcommit_memory", 0, 1); in verify_oom()
48 set_sys_tune("overcommit_memory", 1, 1); in verify_oom()
60 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
Doom02.c61 set_sys_tune("overcommit_memory", 1, 1); in setup()
67 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
Doom04.c71 set_sys_tune("overcommit_memory", 1, 1); in setup()
93 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
Doom03.c85 set_sys_tune("overcommit_memory", 1, 1); in setup()
96 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
Doom05.c91 set_sys_tune("overcommit_memory", 1, 1); in setup()
116 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
/third_party/ltp/testcases/kernel/mem/tunable/
Dmin_free_kbytes.c92 set_sys_tune("overcommit_memory", overcommit_policy, 1); in test_tune()
97 set_sys_tune("min_free_kbytes", default_tune, 1); in test_tune()
100 set_sys_tune("min_free_kbytes", 2 * default_tune, 1); in test_tune()
109 set_sys_tune("min_free_kbytes", tune, 1); in test_tune()
226 set_sys_tune("min_free_kbytes", default_tune, 0); in cleanup()
228 set_sys_tune("overcommit_memory", orig_overcommit, 0); in cleanup()
Dovercommit_memory.c125 set_sys_tune("overcommit_ratio", overcommit_ratio, 1); in setup()
134 set_sys_tune("overcommit_memory", old_overcommit_memory, 0); in cleanup()
136 set_sys_tune("overcommit_ratio", old_overcommit_ratio, 0); in cleanup()
146 set_sys_tune("overcommit_memory", 2, 1); in overcommit_memory_test()
155 set_sys_tune("overcommit_memory", 0, 1); in overcommit_memory_test()
162 set_sys_tune("overcommit_memory", 1, 1); in overcommit_memory_test()
Dmax_map_count.c67 set_sys_tune("overcommit_memory", 0, 1); in setup()
73 set_sys_tune("overcommit_memory", old_overcommit, 0); in cleanup()
75 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()
/third_party/ltp/testcases/kernel/mem/include/
Dmem.h74 void set_sys_tune(char *sys_file, long tune, int check);
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c703 void set_sys_tune(char *sys_file, long tune, int check) in set_sys_tune() function