Lines Matching refs:swapfiles
53 static int swapfiles; variable
160 swapfiles = 0; in setup_swap()
182 swapfiles++; in setup_swap()
186 if (swapfiles) in setup_swap()
187 swapfiles--; /* don't count the /proc/swaps header */ in setup_swap()
189 if (swapfiles < 0) { in setup_swap()
195 swapfiles = MAX_SWAPFILES - swapfiles; in setup_swap()
196 if (swapfiles > MAX_SWAPFILES) { in setup_swap()
197 swapfiles = MAX_SWAPFILES; in setup_swap()
203 for (j = 0; j < swapfiles; j++) { in setup_swap()
263 for (j = 0; j < swapfiles; j++) { in clean_swap()