Searched refs:PATH_SHMMAX (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat04.c | 90 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/ |
D | hugemmap05.c | 49 #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/ |
D | mem.h | 60 #define PATH_SHMMAX "/proc/sys/kernel/shmmax" macro
|
/external/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 883 SAFE_FILE_SCANF(PATH_SHMMAX, "%zu", &shmmax); in update_shm_size()
|