Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget02.c29 {&shmkey2, 0, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL},
31 {&shmkey, 2, SHM_HUGETLB | SHM_RW, EINVAL},
33 {&shmkey, 1, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST},
36 {&shm_nonexistent_key, 1, SHM_HUGETLB | SHM_RW, ENOENT}
81 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dhugeshmget03.c33 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW)); in test_hugeshmget()
64 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
73 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dhugeshmget01.c40 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) { in test_hugeshmget()
62 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dhugeshmget05.c48 TEST(shmget(shmkey, shm_size, SHM_HUGETLB | SHM_RW)); in do_child()
73 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/
Dshmget03.c30 TST_EXP_FAIL2(shmget(shmkey + maxshms, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW), ENOSPC, in verify_shmget()
31 "shmget(%i, %i, %i)", shmkey + maxshms, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in verify_shmget()
46 res = shmget(shmkey + num, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dshmget06.c35 shm_id[1] = SAFE_SHMGET(shmkey[1], SHM_SIZE, IPC_CREAT | SHM_RW); in verify_shmget()
52 shm_id[0] = SAFE_SHMGET(shmkey[0], SHM_SIZE, IPC_CREAT | SHM_RW); in setup()
Dshmget05.c36 shm_id = SAFE_SHMGET(shmkey, SHM_SIZE, SHM_RW | IPC_CREAT); in verify_shmget()
Dshmget04.c35 {"Testing SHM_RW flag", SHM_RW},
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl01.c76 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in test_hugeshmctl()
189 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) { in func_stat()
234 buf.shm_perm.mode = SHM_RW | NEWMODE; in set_setup()
251 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW | NEWMODE) & MODE_MASK)) { in func_set()
Dhugeshmctl02.c91 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dhugeshmctl03.c113 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl02.c111 shm_id3 = SAFE_SHMGET(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | SHM_RW); in setup()
120 shm_id2 = SAFE_SHMGET(shmkey2, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
122 tmp = shm_rem = SAFE_SHMGET(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | SHM_RW); in setup()
Dshmctl06.c33 shmid = shmget(key, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in run()
Dshmctl07.c58 shm_id = SAFE_SHMGET(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | SHM_RW); in setup()
/third_party/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.h25 #define SHM_RW (SHM_RD|SHM_WR) macro
/third_party/ltp/include/
Dipcshm.h39 #define SHM_RW SHM_RD | SHM_WR macro
Dlibnewipc.h43 #define SHM_RW (SHM_RD | SHM_WR) macro
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat03.c81 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
Dhugeshmat02.c89 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
Dhugeshmat01.c161 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
/third_party/ltp/libs/libltpnewipc/
Dlibnewipc.c80 SHM_RW | IPC_CREAT | IPC_EXCL); in probe_free_addr()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmdt/
Dshmdt01.c195 if ((shm_id_1 = shmget(shmkey, INT_SIZE, SHM_RW | IPC_CREAT | in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmat/
Dshmat02.c90 shm_id2 = SAFE_SHMGET(shm_key1, INT_SIZE, SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
Dshmat01.c137 shm_id = SAFE_SHMGET(shm_key, INT_SIZE, SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
Dhugeshmdt01.c128 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()

12