Home
last modified time | relevance | path

Searched refs:memfree (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/testcases/kernel/mem/tunable/
Dmin_free_kbytes.c90 unsigned long tune, memfree, memtotal; in test_tune() local
103 memfree = SAFE_READ_MEMINFO("MemFree:"); in test_tune()
105 tune = memfree / 20; in test_tune()
163 unsigned long memfree; in eatup_mem() local
166 memfree = SAFE_READ_MEMINFO("MemFree:"); in eatup_mem()
167 printf("memfree is %lu kB before eatup mem\n", memfree); in eatup_mem()
180 memfree = SAFE_READ_MEMINFO("MemFree:"); in eatup_mem()
181 printf("memfree is %lu kB after eatup mem\n", memfree); in eatup_mem()
189 unsigned long memfree; in check_monitor() local
192 memfree = SAFE_READ_MEMINFO("MemFree:"); in check_monitor()
[all …]
Dmax_map_count.c148 long memfree; in max_map_count_test() local
162 memfree = SAFE_READ_MEMINFO("CommitLimit:") - SAFE_READ_MEMINFO("Committed_AS:"); in max_map_count_test()
164 max_iters = memfree / sysconf(_SC_PAGESIZE) * 1024 - 64; in max_map_count_test()
/third_party/ltp/testcases/kernel/controllers/cpuacct/
Dcpuacct.sh45 local memfree=`awk '/MemAvailable/ {print $2}' /proc/meminfo`
50 memfree=`awk '/MemFree/ {print $2}' /proc/meminfo`
56 memfree=$((memfree + memcached))
63 if [ $memfree -lt $memneeded ]; then
64 …TCONF "not enough of free memory on this system (approximate need $memneeded kB, free $memfree kB)"
66 tst_res TINFO "memory requirements fulfilled (approximate need $memneeded kB, free $memfree kB)"
/third_party/ltp/testcases/kernel/mem/thp/
Dthp02.c100 long memfree; in setup() local
111 memfree = (SAFE_READ_MEMINFO("MemFree:") * 1024 + in setup()
113 if (memfree < size * 2) in setup()
/third_party/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c259 long memfree; in setup() local
273 SAFE_FILE_LINES_SCANF(PATH_MEMINFO, "MemFree: %ld", &memfree); in setup()
274 tst_res(TINFO, "Free RAM %ld kB", memfree); in setup()
276 if (4 * hpsz > memfree) in setup()
/third_party/toybox/toys/other/
Dvmstat.c35 uint64_t memfree, buffers, cached, swapfree, swaptotal; member