Searched refs:swap_total (Results 1 – 2 of 2) sorted by relevance
90 long mem_total, swap_total; in setup() local107 swap_total = SAFE_READ_MEMINFO("SwapTotal:"); in setup()108 tst_res(TINFO, "SwapTotal is %ld kB", swap_total); in setup()109 sum_total = mem_total + swap_total; in setup()
305 long int swap_total; in setup() local317 SAFE_FILE_LINES_SCANF("/proc/meminfo", "SwapTotal: %ld", &swap_total); in setup()318 if (swap_total <= 0) in setup()