Searched refs:swap_free (Results 1 – 5 of 5) sorted by relevance
45 swap_free = []49 swap_free.append(int(args_dict['swap_free'])/1024)58 if swap_free > (total - free):77 if int(params['mem']) > swap_free[0]:83 params['mem'] = str(swap_free[0])100 swap_free.append(int(args_dict['swap_free'])/1024)102 if swap_free[1] - swap_free[0] >= 0:
543 swap_free = 0; in SystemMemoryInfoKB()570 res->SetInteger("swap_free", swap_free); in ToValue()571 res->SetInteger("swap_used", swap_total - swap_free); in ToValue()635 target = &meminfo->swap_free; in ParseProcMeminfo()
181 EXPECT_EQ(meminfo.swap_free, 3672368); in TEST_F()193 EXPECT_EQ(meminfo.swap_free, 524200); in TEST_F()
273 int swap_free; member
185 self.swap_free = utils.read_from_meminfo('SwapFree')186 self.swap_used = self.swap_total - self.swap_free