Searched refs:swap_free (Results 1 – 8 of 8) sorted by relevance
222 long mem_free, swap_free; in update_mem() local225 swap_free = SAFE_READ_MEMINFO("SwapFree:"); in update_mem()226 free_total = mem_free + swap_free; in update_mem()
114 swap_free=`cat /proc/meminfo | grep SwapFree | awk '{ print $2 }'`116 mem=$(( $mem_free + $swap_free / 2 ))
136 (swap_units, swap_free,147 FreeSwap=swap_free)
185 self.swap_free = utils.read_from_meminfo('SwapFree')186 self.swap_used = self.swap_total - self.swap_free
483 res->SetInteger("swap_free", swap_free); in ToValue()484 res->SetInteger("swap_used", swap_total - swap_free); in ToValue()546 target = &meminfo->swap_free; in ParseProcMeminfo()
188 EXPECT_EQ(meminfo.swap_free, 3672368); in TEST_F()209 EXPECT_EQ(meminfo.swap_free, 524200); in TEST_F()
322 int swap_free = 0; member
94 swap_free=mem_info.SwapFree,