Home
last modified time | relevance | path

Searched refs:PATH_SHMMAX (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat04.c132 SAFE_FILE_SCANF(NULL, PATH_SHMMAX, "%ld", &orig_shmmax); in setup()
133 SAFE_FILE_PRINTF(NULL, PATH_SHMMAX, "%ld", (long)SIZE); in setup()
134 SAFE_FILE_SCANF(NULL, PATH_SHMMAX, "%ld", &new_shmmax); in setup()
154 SAFE_FILE_PRINTF(NULL, PATH_SHMMAX, "%ld", orig_shmmax); in cleanup()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c66 #define PATH_SHMMAX "/proc/sys/kernel/shmmax" macro
256 fd = open(PATH_SHMMAX, O_WRONLY); in cleanup()
313 fp = fopen(PATH_SHMMAX, "r"); in setup()
322 fd = open(PATH_SHMMAX, O_RDWR); in setup()
/external/ltp/testcases/kernel/mem/include/
Dmem.h58 #define PATH_SHMMAX "/proc/sys/kernel/shmmax" macro
/external/ltp/testcases/kernel/mem/lib/
Dmem.c963 SAFE_FILE_SCANF(cleanup, PATH_SHMMAX, "%ld", &shmmax); in update_shm_size()