Home
last modified time | relevance | path

Searched refs:mem_free (Results 1 – 8 of 8) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/vm/
Dcompaction_test.c83 int check_compaction(unsigned long mem_free, unsigned int hugepage_size) in check_compaction() argument
92 mem_free = mem_free * 0.8; in check_compaction()
129 compaction_index = mem_free/(atoi(nr_hugepages) * hugepage_size); in check_compaction()
166 unsigned long mem_free = 0; in main() local
188 if (read_memory_info(&mem_free, &hugepage_size) != 0) { in main()
193 mem_fragmentable = mem_free * 0.8 / 1024; in main()
226 if (check_compaction(mem_free, hugepage_size) == 0) in main()
/external/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c222 long mem_free, swap_free; in update_mem() local
224 mem_free = SAFE_READ_MEMINFO("MemFree:"); in update_mem()
226 free_total = mem_free + swap_free; in update_mem()
/external/ltp/testcases/kernel/controllers/memcg/stress/
Dmemcg_stress_test.sh113 mem_free=`cat /proc/meminfo | grep MemFree | awk '{ print $2 }'`
116 mem=$(( $mem_free + $swap_free / 2 ))
/external/boringssl/src/crypto/bio/
Dbio_mem.c118 static int mem_free(BIO *bio) { in mem_free() function
260 mem_free(bio); in mem_ctrl()
298 mem_free, NULL /* callback_ctrl */,
/external/autotest/server/cros/
Dresource_monitor.py130 (mem_units, mem_free,
145 FreeMem=mem_free,
/external/autotest/client/site_tests/platform_CompressedSwapPerf/
Dplatform_CompressedSwapPerf.py184 self.mem_free = utils.read_from_meminfo('MemFree')
188 used_phys_memory = self.mem_total - self.mem_free
287 usage_target = self.mem_free - swap_target_phys + swap_target_usage
/external/zlib/src/test/
Dinfcover.c112 local void mem_free(void *mem, void *ptr) in mem_free() function
172 strm->zfree = mem_free; in mem_setup()
/external/autotest/client/bin/
Dutils.py2174 mem_free = _get_float_from_file(_MEMINFO, 'MemFree:', 'MemFree:', ' kB')
2175 return mem_free / 1024