Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c158 mem_total = read_meminfo("MemTotal:"); in setup()
160 swap_total = read_meminfo("SwapTotal:"); in setup()
164 commit_limit = read_meminfo("CommitLimit:"); in setup()
267 mem_free = read_meminfo("MemFree:"); in update_mem()
268 swap_free = read_meminfo("SwapFree:"); in update_mem()
270 commit_limit = read_meminfo("CommitLimit:"); in update_mem()
273 committed = read_meminfo("Committed_AS:"); in update_mem()
Dmin_free_kbytes.c131 memfree = read_meminfo("MemFree:"); in test_tune()
132 memtotal = read_meminfo("MemTotal:"); in test_tune()
195 memfree = read_meminfo("MemFree:"); in eatup_mem()
209 memfree = read_meminfo("MemFree:"); in eatup_mem()
221 memfree = read_meminfo("MemFree:"); in check_monitor()
245 total_mem = read_meminfo("MemTotal:") + read_meminfo("SwapTotal:"); in setup()
Dmax_map_count.c202 memfree = read_meminfo("CommitLimit:") - read_meminfo("Committed_AS:"); in max_map_count_test()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat04.c78 huge_free = read_meminfo("HugePages_Free:"); in main()
80 huge_free2 = read_meminfo("HugePages_Free:"); in main()
131 mem_total = read_meminfo("MemTotal:"); in setup()
143 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
Dhugeshmat05.c70 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
Dhugeshmat02.c134 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
Dhugeshmat03.c140 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
Dhugeshmat01.c218 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap01.c115 beforetest = read_meminfo("HugePages_Free:"); in main()
118 page_sz = read_meminfo("Hugepagesize:") * 1024; in main()
138 aftertest = read_meminfo("HugePages_Free:"); in main()
Dhugemmap04.c118 freepages = read_meminfo("HugePages_Free:"); in main()
122 huge_pagesize = read_meminfo("Hugepagesize:"); in main()
154 aftertest = read_meminfo("HugePages_Free:"); in main()
Dhugemmap06.c76 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
81 if (hugepages * read_meminfo("Hugepagesize:") > read_meminfo("MemTotal:")) in setup()
Dhugemmap02.c105 map_sz = read_meminfo("Hugepagesize:") * 1024 * 2; in main()
/external/ltp/testcases/kernel/mem/swapping/
Dswapping01.c110 swap_free_init = read_meminfo("SwapFree:"); in init_meminfo()
111 mem_free_init = read_meminfo("MemFree:"); in init_meminfo()
157 swapped = swap_free_init - read_meminfo("SwapFree:"); in check_swapping()
/external/ltp/testcases/kernel/mem/thp/
Dthp03.c119 hugepage_size = read_meminfo("Hugepagesize:") * KB; in setup()
Dthp02.c131 hps = read_meminfo("Hugepagesize:") * 1024; in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget01.c152 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
Dhugeshmget05.c144 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
Dhugeshmget03.c122 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
Dhugeshmget02.c147 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
/external/ltp/testcases/kernel/mem/include/
Dmem.h89 long read_meminfo(char *item);
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
Dhugeshmdt01.c174 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c140 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
Dhugeshmctl03.c166 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
Dhugeshmctl01.c402 hpage_size = read_meminfo("Hugepagesize:") * 1024; in setup()
/external/ltp/testcases/kernel/mem/lib/
Dmem.c906 long read_meminfo(char *item) in read_meminfo() function