Searched refs:shmmax (Results 1 – 10 of 10) sorted by relevance
88 shmmax=`cat /proc/sys/kernel/shmmax`89 if [ $(echo "$shmmax < $HUGEPAGESIZE" |bc) -eq 1 ]; then90 ROD echo "$HUGEPAGESIZE" \> /proc/sys/kernel/shmmax96 if [ -n "$shmmax" ]; then97 echo "$shmmax" > /proc/sys/kernel/shmmax
82 -shmmax=`cat /proc/sys/kernel/shmmax`84 -echo 268435456 > /proc/sys/kernel/shmmax96 -echo $shmmax > /proc/sys/kernel/shmmax219 +#shmmax=`cat /proc/sys/kernel/shmmax`221 +#echo 268435456 > /proc/sys/kernel/shmmax233 +#echo $shmmax > /proc/sys/kernel/shmmax
69 static unsigned long long shmmax; variable197 SAFE_FILE_PRINTF(PATH_SHMMAX, "%llu", shmmax); in cleanup()226 SAFE_FILE_SCANF(PATH_SHMMAX, "%llu", &shmmax); in setup()227 if (shmmax < (unsigned long long)(length / 2 * hugepagesize)) { in setup()
840 size_t shmmax; in update_shm_size() local842 SAFE_FILE_SCANF(PATH_SHMMAX, "%zu", &shmmax); in update_shm_size()843 if (*shm_size > shmmax) { in update_shm_size()844 tst_res(TINFO, "Set shm_size to shmmax: %zu", shmmax); in update_shm_size()845 *shm_size = shmmax; in update_shm_size()
48 unsigned long shmmax; member
30 __kernel_ulong_t shmmax; member
47 unsigned long shmmax; member
94 int shmmax; member
53 You may need to increase limits [/proc/sys/kernel/shmmax].
183 (unsigned long) (ipc_buf.shmmax >> 10), in shm_array()