Searched refs:set_sys_tune (Results 1 – 10 of 10) sorted by relevance
/third_party/ltp/testcases/kernel/mem/oom/ |
D | oom01.c | 40 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()
|
D | oom02.c | 61 set_sys_tune("overcommit_memory", 1, 1); in setup() 67 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
|
D | oom04.c | 71 set_sys_tune("overcommit_memory", 1, 1); in setup() 93 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
|
D | oom03.c | 85 set_sys_tune("overcommit_memory", 1, 1); in setup() 96 set_sys_tune("overcommit_memory", overcommit, 0); in cleanup()
|
D | oom05.c | 91 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/ |
D | min_free_kbytes.c | 92 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()
|
D | overcommit_memory.c | 125 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()
|
D | max_map_count.c | 67 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/ |
D | mem.h | 74 void set_sys_tune(char *sys_file, long tune, int check);
|
/third_party/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 703 void set_sys_tune(char *sys_file, long tune, int check) in set_sys_tune() function
|