Home
last modified time | relevance | path

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

/external/valgrind/memcheck/tests/solaris/
Dshmat.c10 int shmid = shmget(IPC_PRIVATE, SEGMENT_SIZE, IPC_CREAT | SHM_R | SHM_W); in main()
/external/kernel-headers/original/uapi/linux/
Dshm.h44 #define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */ macro
/external/linux-kselftest/tools/testing/selftests/vm/
Dhugepage-shm.c60 shmid = shmget(2, LENGTH, SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main()
/external/ltp/testcases/kernel/ipc/ipc_stress/
Dshmem_test_01.c77 #define SHMEM_MODE (SHM_R | SHM_W)
Dshmem_test_05.c117 #define SHMEM_MODE (SHM_R | SHM_W)
Dshmem_test_06.c102 #define SHMEM_MODE (SHM_R | SHM_W)
Dshmem_test_02.c87 #define SHMEM_MODE (SHM_R | SHM_W)
Dshmem_test_07.c162 #define SHMEM_MODE (SHM_R | SHM_W)
/external/ltp/testcases/kernel/syscalls/mremap/
Dmremap04.c90 #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.c227 flag = IPC_CREAT | SHM_R | SHM_W; in shm()
/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.c299 shmid = shmget(IPC_PRIVATE, getpagesize(), SHM_R | SHM_W); in futex_setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c155 SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in overcommit()
/external/stressapptest/src/
Dos.cc529 SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W)) < 0) { in AllocateTestMem()
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.c423 shmid = shmget(IPC_PRIVATE, segp->seg_length, SHM_R | SHM_W); in get_shm_segment()