Home
last modified time | relevance | path

Searched refs:save_nr_hugepages (Results 1 – 20 of 20) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_testset.sh181 save_nr_hugepages=$(cat /proc/sys/vm/nr_hugepages)
190 echo $save_nr_hugepages > /proc/sys/vm/nr_hugepages
191 if [ $(cat /proc/sys/vm/nr_hugepages) -ne $save_nr_hugepages ]; then
192 tst_resm TFAIL "can't restore nr_hugepages(nr_hugepages = $save_nr_hugepages)."
220 save_nr_hugepages=$(cat /proc/sys/vm/nr_hugepages)
229 echo $save_nr_hugepages > /proc/sys/vm/nr_hugepages
230 if [ $(cat /proc/sys/vm/nr_hugepages) -ne $save_nr_hugepages ]; then
231 tst_resm TFAIL "can't restore nr_hugepages(nr_hugepages = $save_nr_hugepages)."
/external/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.h59 long save_nr_hugepages(void);
Dhugetlb.c44 long save_nr_hugepages(void) in save_nr_hugepages() function
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget01.c70 save_nr_hugepages(); in setup()
Dhugeshmget05.c81 save_nr_hugepages(); in setup()
Dhugeshmget03.c67 save_nr_hugepages(); in setup()
Dhugeshmget02.c88 save_nr_hugepages(); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat03.c90 save_nr_hugepages(); in setup()
Dhugeshmat05.c49 save_nr_hugepages(); in setup()
Dhugeshmat02.c94 save_nr_hugepages(); in setup()
Dhugeshmat04.c88 orig_hugepages = save_nr_hugepages(); in setup()
Dhugeshmat01.c170 save_nr_hugepages(); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap01.c92 save_nr_hugepages(); in setup()
Dhugemmap04.c109 save_nr_hugepages(); in setup()
Dhugemmap06.c54 save_nr_hugepages(); in setup()
Dhugemmap02.c138 save_nr_hugepages(); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
Dhugeshmdt01.c135 save_nr_hugepages(); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c95 save_nr_hugepages(); in setup()
Dhugeshmctl03.c120 save_nr_hugepages(); in setup()
Dhugeshmctl01.c314 save_nr_hugepages(); in setup()