Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_wake04.c52 #define PATH_NR_HUGEPAGES "/proc/sys/vm/nr_hugepages" macro
78 SAFE_FILE_SCANF(NULL, PATH_NR_HUGEPAGES, "%ld", &orig_hugepages); in setup()
79 SAFE_FILE_PRINTF(NULL, PATH_NR_HUGEPAGES, "%d", 1); in setup()
86 SAFE_FILE_PRINTF(NULL, PATH_NR_HUGEPAGES, "%ld", orig_hugepages); in cleanup()
/external/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c50 #define PATH_NR_HUGEPAGES "/proc/sys/vm/nr_hugepages" macro
228 SAFE_FILE_SCANF(PATH_NR_HUGEPAGES, "%ld", &orig_hugepages); in setup()
231 SAFE_FILE_PRINTF(PATH_NR_HUGEPAGES, "%ld", orig_hugepages + 8); in setup()
241 SAFE_FILE_PRINTF(PATH_NR_HUGEPAGES, "%ld", orig_hugepages); in cleanup()