Searched refs:memfree (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/testcases/kernel/mem/tunable/ |
D | min_free_kbytes.c | 89 unsigned long tune, memfree, memtotal; in test_tune() local 102 memfree = SAFE_READ_MEMINFO("MemFree:"); in test_tune() 104 tune = memfree / 20; in test_tune() 162 unsigned long memfree; in eatup_mem() local 165 memfree = SAFE_READ_MEMINFO("MemFree:"); in eatup_mem() 166 printf("memfree is %lu kB before eatup mem\n", memfree); in eatup_mem() 179 memfree = SAFE_READ_MEMINFO("MemFree:"); in eatup_mem() 180 printf("memfree is %lu kB after eatup mem\n", memfree); in eatup_mem() 188 unsigned long memfree; in check_monitor() local 191 memfree = SAFE_READ_MEMINFO("MemFree:"); in check_monitor() [all …]
|
D | max_map_count.c | 126 long memfree; in max_map_count_test() local 140 memfree = SAFE_READ_MEMINFO("CommitLimit:") - SAFE_READ_MEMINFO("Committed_AS:"); in max_map_count_test() 142 max_iters = memfree / sysconf(_SC_PAGESIZE) * 1024 - 64; in max_map_count_test()
|
/third_party/ltp/testcases/kernel/controllers/cpuacct/ |
D | cpuacct.sh | 43 local memfree=`awk '/MemAvailable/ {print $2}' /proc/meminfo` 48 memfree=`awk '/MemFree/ {print $2}' /proc/meminfo` 54 memfree=$((memfree + memcached)) 61 if [ $memfree -lt $memneeded ]; then 62 …TCONF "not enough of free memory on this system (approximate need $memneeded kB, free $memfree kB)" 64 tst_res TINFO "memory requirements fulfilled (approximate need $memneeded kB, free $memfree kB)"
|
/third_party/ltp/testcases/kernel/mem/thp/ |
D | thp02.c | 99 long memfree; in setup() local 110 memfree = (SAFE_READ_MEMINFO("MemFree:") * 1024 + in setup() 112 if (memfree < size * 2) in setup()
|
/third_party/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages12.c | 258 long memfree; in setup() local 272 SAFE_FILE_LINES_SCANF(PATH_MEMINFO, "MemFree: %ld", &memfree); in setup() 273 tst_res(TINFO, "Free RAM %ld kB", memfree); in setup() 275 if (4 * hpsz > memfree) in setup()
|
/third_party/toybox/toys/other/ |
D | vmstat.c | 35 uint64_t memfree, buffers, cached, swapfree, swaptotal; member
|