/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap05.c | 58 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/ |
D | memcg_lib.sh | 168 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/ |
D | mem.c | 734 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/ |
D | shm.h | 16 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/porting/linux/user/arch/generic/bits/ |
D | shm.h | 17 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/arch/generic/bits/ |
D | shm.h | 17 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl03.c | 35 TST_ASSERT_ULONG("/proc/sys/kernel/shmmax", info.shmmax); in verify_ipcinfo()
|
/third_party/musl/arch/mips/bits/ |
D | shm.h | 22 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/arch/mipsn32/bits/ |
D | shm.h | 22 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/arch/powerpc/bits/ |
D | shm.h | 23 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/arch/microblaze/bits/ |
D | shm.h | 24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
D | shm.h | 24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/porting/liteos_a/kernel/include/bits/ |
D | shm.h | 26 unsigned long shmmax, shmmin, shmmni, shmseg, shmall; member
|
/third_party/musl/arch/m68k/bits/ |
D | shm.h | 24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/bits/ |
D | shm.h | 26 unsigned long shmmax, shmmin, shmmni, shmseg, shmall; member
|
/third_party/musl/arch/or1k/bits/ |
D | shm.h | 24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
D | shm.h | 24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/arch/sh/bits/ |
D | shm.h | 24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/arch/i386/bits/ |
D | shm.h | 24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
D | shm.h | 24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/arch/arm/bits/ |
D | shm.h | 24 unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; member
|
/third_party/musl/arch/x32/bits/ |
D | shm.h | 18 unsigned long shmmax, __pad0, shmmin, __pad1, shmmni, __pad2, member
|
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/ |
D | README | 53 You may need to increase limits [/proc/sys/kernel/shmmax].
|
/third_party/toybox/toys/pending/ |
D | ipcs.c | 183 (unsigned long) (ipc_buf.shmmax >> 10), in shm_array()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 50410 long unsigned int shmmax; member 50422 int shmmax; member
|