Home
last modified time | relevance | path

Searched refs:SHM_R (Results 1 – 15 of 15) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/vm/
Dhugepage-shm.c61 shmid = shmget(2, LENGTH, SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main()
/external/kernel-headers/original/uapi/linux/
Dshm.h49 #define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */ macro
/external/ltp/testcases/kernel/syscalls/mremap/
Dmremap04.c89 #define SHM_MODE (SHM_R | SHM_W) /* mode permissions of shared memory */
/external/swiftshader/src/Main/
DFrameBufferX11.cpp68 …shminfo.shmid = shmget(IPC_PRIVATE, x_image->bytes_per_line * x_image->height, IPC_CREAT | SHM_R |… in FrameBufferX11()
/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_process.c213 flag = IPC_CREAT | SHM_R | SHM_W; in shm()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c85 SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in test_overcommit()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_test.c253 flag = IPC_CREAT | SHM_R | SHM_W; in shm()
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c320 shmid = shmget(IPC_PRIVATE, getpagesize(), SHM_R | SHM_W); in futex_setup()
/external/stressapptest/src/
Dos.cc544 SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W)) < 0) { in AllocateTestMem()
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.c425 shmid = shmget(IPC_PRIVATE, segp->seg_length, SHM_R | SHM_W); in get_shm_segment()
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs1086 pub const SHM_R: ::c_int = 0o400; constant
/external/rust/crates/libc/src/unix/linux_like/emscripten/
Dmod.rs956 pub const SHM_R: ::c_int = 0o400; constant
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs1489 pub const SHM_R: ::c_int = 0o400; constant
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs3292 pub const SHM_R: ::c_int = IPC_R; constant
/external/rust/crates/libc/src/fuchsia/
Dmod.rs2421 pub const SHM_R: ::c_int = 0o400; constant