Searched refs:swap_free (Results 1 – 7 of 7) sorted by relevance
219 long mem_free, swap_free; in update_mem() local223 swap_free = SAFE_READ_MEMINFO("SwapFree:"); in update_mem()224 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
224 EXPECT_EQ(meminfo.swap_free, 3672368); in TEST_F()245 EXPECT_EQ(meminfo.swap_free, 524200); in TEST_F()
574 res->SetInteger("swap_free", swap_free); in ToValue()575 res->SetInteger("swap_used", swap_total - swap_free); in ToValue()642 target = &meminfo->swap_free; in ParseProcMeminfo()
326 int swap_free = 0; member