Home
last modified time | relevance | path

Searched refs:swap_total (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c90 long mem_total, swap_total; in setup() local
107 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()
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise09.c305 long int swap_total; in setup() local
317 SAFE_FILE_LINES_SCANF("/proc/meminfo", "SwapTotal: %ld", &swap_total); in setup()
318 if (swap_total <= 0) in setup()