Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c58 static unsigned long long shmmax; variable
175 SAFE_FILE_PRINTF(PATH_SHMMAX, "%llu", shmmax); in cleanup()
208 SAFE_FILE_SCANF(PATH_SHMMAX, "%llu", &shmmax); in setup()
209 if (shmmax < (unsigned long long)(length / 2 * hugepagesize)) { in setup()
/third_party/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_lib.sh168 orig_shmmax=$(cat /proc/sys/kernel/shmmax)
170 ROD echo "$HUGEPAGESIZE" \> /proc/sys/kernel/shmmax
177 echo "$orig_shmmax" > /proc/sys/kernel/shmmax
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c734 size_t shmmax; in update_shm_size() local
736 SAFE_FILE_SCANF(PATH_SHMMAX, "%zu", &shmmax); in update_shm_size()
737 if (*shm_size > shmmax) { in update_shm_size()
738 tst_res(TINFO, "Set shm_size to shmmax: %zu", shmmax); in update_shm_size()
739 *shm_size = shmmax; in update_shm_size()
/third_party/musl/arch/powerpc64/bits/
Dshm.h16 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/porting/linux/user/arch/generic/bits/
Dshm.h17 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/arch/generic/bits/
Dshm.h17 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl03.c35 TST_ASSERT_ULONG("/proc/sys/kernel/shmmax", info.shmmax); in verify_ipcinfo()
/third_party/musl/arch/mips/bits/
Dshm.h22 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/arch/mipsn32/bits/
Dshm.h22 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/arch/powerpc/bits/
Dshm.h23 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/arch/microblaze/bits/
Dshm.h24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/porting/liteos_m/kernel/include/bits/
Dshm.h24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/porting/liteos_a/kernel/include/bits/
Dshm.h26 unsigned long shmmax, shmmin, shmmni, shmseg, shmall; member
/third_party/musl/arch/m68k/bits/
Dshm.h24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/porting/liteos_a_newlib/kernel/include/bits/
Dshm.h26 unsigned long shmmax, shmmin, shmmni, shmseg, shmall; member
/third_party/musl/arch/or1k/bits/
Dshm.h24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/porting/uniproton/kernel/include/bits/
Dshm.h24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/arch/sh/bits/
Dshm.h24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/arch/i386/bits/
Dshm.h24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
Dshm.h24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/arch/arm/bits/
Dshm.h24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
/third_party/musl/arch/x32/bits/
Dshm.h18 unsigned long shmmax, __pad0, shmmin, __pad1, shmmni, __pad2, member
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
DREADME53 You may need to increase limits [/proc/sys/kernel/shmmax].
/third_party/toybox/toys/pending/
Dipcs.c183 (unsigned long) (ipc_buf.shmmax >> 10), in shm_array()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h50410 long unsigned int shmmax; member
50422 int shmmax; member