Searched refs:shmmax (Results 1 – 9 of 9) 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
84 -shmmax=`cat /proc/sys/kernel/shmmax`86 -echo 268435456 > /proc/sys/kernel/shmmax98 -echo $shmmax > /proc/sys/kernel/shmmax239 +#shmmax=`cat /proc/sys/kernel/shmmax`241 +#echo 268435456 > /proc/sys/kernel/shmmax253 +#echo $shmmax > /proc/sys/kernel/shmmax
57 static unsigned long long shmmax; variable185 SAFE_FILE_PRINTF(PATH_SHMMAX, "%llu", shmmax); in cleanup()214 SAFE_FILE_SCANF(PATH_SHMMAX, "%llu", &shmmax); in setup()215 if (shmmax < (unsigned long long)(length / 2 * hugepagesize)) { in setup()
48 unsigned long shmmax; member
30 __kernel_ulong_t shmmax; member
843 size_t shmmax; in update_shm_size() local845 SAFE_FILE_SCANF(PATH_SHMMAX, "%zu", &shmmax); in update_shm_size()846 if (*shm_size > shmmax) { in update_shm_size()847 tst_res(TINFO, "Set shm_size to shmmax: %zu", shmmax); in update_shm_size()848 *shm_size = shmmax; in update_shm_size()
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()