Searched refs:swap_total (Results 1 – 5 of 5) sorted by relevance
141 long mem_total, swap_total; in setup() local160 swap_total = read_meminfo("SwapTotal:"); in setup()161 tst_resm(TINFO, "SwapTotal is %ld kB", swap_total); in setup()162 sum_total = mem_total + swap_total; in setup()
183 self.swap_total = utils.read_from_meminfo('SwapTotal')186 self.swap_used = self.swap_total - self.swap_free195 self.usage_ratio = float(self.swap_used) / self.swap_total282 swap_target_usage = swap_target * self.swap_total
546 swap_total = 0; in SystemMemoryInfoKB()579 res->SetInteger("swap_total", swap_total); in ToValue()581 res->SetInteger("swap_used", swap_total - swap_free); in ToValue()647 target = &meminfo->swap_total; in ParseProcMeminfo()
180 EXPECT_EQ(meminfo.swap_total, 5832280); in TEST_F()192 EXPECT_EQ(meminfo.swap_total, 524280); in TEST_F()
284 int swap_total; member