Searched refs:set_sys_tune (Results 1 – 6 of 6) 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()
|
/third_party/ltp/testcases/kernel/mem/tunable/ |
D | min_free_kbytes.c | 91 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()
|
D | overcommit_memory.c | 119 set_sys_tune("overcommit_ratio", overcommit_ratio, 1); in setup() 132 set_sys_tune("overcommit_memory", 2, 1); in overcommit_memory_test() 141 set_sys_tune("overcommit_memory", 0, 1); in overcommit_memory_test() 148 set_sys_tune("overcommit_memory", 1, 1); in overcommit_memory_test()
|
D | max_map_count.c | 151 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 | 641 void set_sys_tune(char *sys_file, long tune, int check) in set_sys_tune() function
|