Home
last modified time | relevance | path

Searched refs:swapfiles (Results 1 - 1 of 1) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/swapon/
H A Dswapon03.c29 static int swapfiles; variable
99 * Create 33 and activate 30 swapfiles.
110 /* Find out how many swapfiles (1 line per entry) already exist */ in setup_swap()
111 swapfiles = 0; in setup_swap()
131 swapfiles++; in setup_swap()
135 if (swapfiles) in setup_swap()
136 swapfiles--; /* don't count the /proc/swaps header */ in setup_swap()
138 if (swapfiles < 0) in setup_swap()
139 tst_brk(TFAIL, "Failed to find existing number of swapfiles"); in setup_swap()
142 swapfiles in setup_swap()
[all...]

Completed in 1 milliseconds