HomeSort by relevance Sort by last modified time
    Searched refs:MAX_SWAPFILES (Results 1 - 3 of 3) sorted by null

  /external/ltp/testcases/kernel/syscalls/swapon/
swaponoff.h 7 * MAX_SWAPFILES.
11 #define MAX_SWAPFILES 30
13 #define MAX_SWAPFILES 32
15 #define MAX_SWAPFILES 8
Makefile 19 NEEDSPECIAL := $(shell echo MAX_SWAPFILES | $(CC) -E -xc -include linux/swap.h 2>/dev/null - | tail -n 1 | grep 32; echo $?)
swapon03.c 24 * - EPERM when there are more than MAX_SWAPFILES already in use.
96 /* Probably the system supports MAX_SWAPFILES > 30,
97 * let's try with MAX_SWAPFILES == 32 */
121 " MAX_SWAPFILES is 32",
195 swapfiles = MAX_SWAPFILES - swapfiles;
196 if (swapfiles > MAX_SWAPFILES) {
197 swapfiles = MAX_SWAPFILES;

Completed in 76 milliseconds