Searched refs:memfree (Results 1 – 6 of 6) sorted by relevance
/external/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 | 146 long memfree; in max_map_count_test() local 165 memfree = SAFE_READ_MEMINFO("CommitLimit:") - SAFE_READ_MEMINFO("Committed_AS:"); in max_map_count_test() 167 max_iters = memfree / sysconf(_SC_PAGESIZE) * 1024 - 64; in max_map_count_test()
|
/external/autotest/client/site_tests/platform_CompressedSwap/ |
D | platform_CompressedSwap.py | 98 memfree = utils.read_from_meminfo('MemFree') 100 total_free = memfree + swapfree 102 (len(hogs), memfree, swapfree)) 125 (len(hogs), swapfree, memfree, first_lowmem, first_oom))
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages12.c | 186 long memfree; in setup() local 200 SAFE_FILE_LINES_SCANF(PATH_MEMINFO, "MemFree: %ld", &memfree); in setup() 201 tst_res(TINFO, "Free RAM %ld kB", memfree); in setup() 203 if (4 * hpsz > memfree) in setup()
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | compaction_test.c | 28 int read_memory_info(unsigned long *memfree, unsigned long *hugepagesize) in read_memory_info() argument 41 *memfree = atoll(buffer); in read_memory_info()
|
/external/toybox/toys/other/ |
D | vmstat.c | 35 uint64_t memfree, buffers, cached, swapfree, swaptotal; member
|