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.c90 SAFE_FILE_SCANF(PATH_SHMMAX, "%ld", &orig_shmmax); in setup()
91 SAFE_FILE_PRINTF(PATH_SHMMAX, "%ld", (long)SIZE); in setup()
92 SAFE_FILE_SCANF(PATH_SHMMAX, "%ld", &new_shmmax); in setup()
109 SAFE_FILE_PRINTF(PATH_SHMMAX, "%ld", orig_shmmax); in cleanup()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c49 #define PATH_SHMMAX "/proc/sys/kernel/shmmax" macro
197 SAFE_FILE_PRINTF(PATH_SHMMAX, "%llu", shmmax); in cleanup()
226 SAFE_FILE_SCANF(PATH_SHMMAX, "%llu", &shmmax); in setup()
229 SAFE_FILE_PRINTF(PATH_SHMMAX, "%ld", in setup()
/external/ltp/testcases/kernel/mem/include/
Dmem.h57 #define PATH_SHMMAX "/proc/sys/kernel/shmmax" macro
/external/ltp/testcases/kernel/mem/lib/
Dmem.c842 SAFE_FILE_SCANF(PATH_SHMMAX, "%zu", &shmmax); in update_shm_size()