Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/swapon/
H A Dswaponoff.h7 * MAX_SWAPFILES.
11 #define MAX_SWAPFILES 30 macro
13 #define MAX_SWAPFILES 32 macro
15 #define MAX_SWAPFILES 8 macro
H A Dswapon03.c12 * - EPERM when there are more than MAX_SWAPFILES already in use.
60 /* Probably the system supports MAX_SWAPFILES > 30, in verify_swapon()
61 * let's try with MAX_SWAPFILES == 32 */ in verify_swapon()
81 " MAX_SWAPFILES is 32", in verify_swapon()
142 swapfiles = MAX_SWAPFILES - swapfiles; in setup_swap()
143 if (swapfiles > MAX_SWAPFILES) in setup_swap()
144 swapfiles = MAX_SWAPFILES; in setup_swap()
H A DMakefile4 NEEDSPECIAL := $(shell echo MAX_SWAPFILES | $(CC) -E -xc -include linux/swap.h 2>/dev/null - | tail -n 1 | grep 32; echo $?)

Completed in 1 milliseconds