Home
last modified time | relevance | path

Searched refs:shmmax (Results 1 – 10 of 10) sorted by relevance

/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_lib.sh88 shmmax=`cat /proc/sys/kernel/shmmax`
89 if [ $(echo "$shmmax < $HUGEPAGESIZE" |bc) -eq 1 ]; then
90 ROD echo "$HUGEPAGESIZE" \> /proc/sys/kernel/shmmax
96 if [ -n "$shmmax" ]; then
97 echo "$shmmax" > /proc/sys/kernel/shmmax
/external/linux-kselftest/android/patches/
D0013-ANDROID-build-vm-tests.patch82 -shmmax=`cat /proc/sys/kernel/shmmax`
84 -echo 268435456 > /proc/sys/kernel/shmmax
96 -echo $shmmax > /proc/sys/kernel/shmmax
219 +#shmmax=`cat /proc/sys/kernel/shmmax`
221 +#echo 268435456 > /proc/sys/kernel/shmmax
233 +#echo $shmmax > /proc/sys/kernel/shmmax
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c69 static unsigned long long shmmax; variable
197 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()
/external/ltp/testcases/kernel/mem/lib/
Dmem.c840 size_t shmmax; in update_shm_size() local
842 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()
/external/kernel-headers/original/uapi/asm-generic/
Dshmbuf.h48 unsigned long shmmax; member
/external/kernel-headers/original/uapi/asm-x86/asm/
Dshmbuf.h30 __kernel_ulong_t shmmax; member
/external/kernel-headers/original/uapi/asm-mips/asm/
Dshmbuf.h47 unsigned long shmmax; member
/external/kernel-headers/original/uapi/linux/
Dshm.h94 int shmmax; member
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
DREADME53 You may need to increase limits [/proc/sys/kernel/shmmax].
/external/toybox/toys/pending/
Dipcs.c183 (unsigned long) (ipc_buf.shmmax >> 10), in shm_array()