/external/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget02.c | 74 &shmkey2, 0, IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL}, 79 &shmkey, SHM_SIZE * 2, SHM_RW, EINVAL}, 82 &shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST}, 86 &shm_nonexisting_key, SHM_SIZE, SHM_RW, ENOENT} 158 SHM_RW)) == -1) { in setup()
|
D | shmget01.c | 85 TEST(shmget(shmkey, SHM_SIZE, (IPC_CREAT | IPC_EXCL | SHM_RW))); in main() 115 ((SHM_RW) & MODE_MASK)) { in main()
|
D | shmget03.c | 88 | SHM_RW)); in main() 138 IPC_EXCL | SHM_RW)) != -1) { in setup()
|
D | shmget05.c | 125 TEST(shmget(shmkey, SHM_SIZE, SHM_RW)); in do_child() 169 SHM_RW | IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
D | shmget04.c | 81 TEST(shmget(shmkey, SHM_SIZE, SHM_RW)); in main()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
D | hugeshmget02.c | 47 {&shmkey2, 0, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL}, 49 {&shmkey, 2, SHM_HUGETLB | SHM_RW, EINVAL}, 51 {&shmkey, 1, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST}, 54 {&shm_nonexistent_key, 1, SHM_HUGETLB | SHM_RW, ENOENT} 102 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
D | hugeshmget03.c | 51 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW)); in test_hugeshmget() 86 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup() 95 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
D | hugeshmget01.c | 58 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) { in test_hugeshmget() 83 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
D | hugeshmget05.c | 65 TEST(shmget(shmkey, shm_size, SHM_HUGETLB | SHM_RW)); in do_child() 93 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl01.c | 98 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in test_hugeshmctl() 218 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) { in func_stat() 262 buf.shm_perm.mode = SHM_RW | NEWMODE; in set_setup() 279 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW | NEWMODE) & MODE_MASK)) { in func_set()
|
D | hugeshmctl02.c | 114 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
D | hugeshmctl03.c | 132 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl01.c | 155 IPC_CREAT | IPC_EXCL | SHM_RW); in main() 314 ((SHM_RW) & MODE_MASK)) { in func_istat() 364 buf.shm_perm.mode = SHM_RW | NEWMODE; in set_setup() 384 ((SHM_RW | NEWMODE) & MODE_MASK)) { in func_set()
|
D | shmctl03.c | 188 SHM_RW)) == -1) { in setup()
|
D | shmctl02.c | 195 SHM_RW)) == -1) { in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/lib/ |
D | ipcshm.h | 39 #define SHM_RW SHM_RD | SHM_WR macro
|
/external/ltp/testcases/kernel/mem/hugetlb/lib/ |
D | hugetlb.h | 25 #define SHM_RW (SHM_RD|SHM_WR) macro
|
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/ |
D | libnewipc.h | 40 #define SHM_RW (SHM_RD | SHM_WR) macro
|
D | libnewipc.c | 81 shm_id = shmget(probe_key, SHMLBA * 2, SHM_RW | IPC_CREAT | IPC_EXCL); in probe_free_addr()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat03.c | 102 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
|
D | hugeshmat02.c | 110 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmat/ |
D | shmat02.c | 90 shm_id2 = SAFE_SHMGET(shm_key1, INT_SIZE, SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
|
D | shmat01.c | 137 shm_id = SAFE_SHMGET(shm_key, INT_SIZE, SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmdt/ |
D | shmdt01.c | 195 if ((shm_id_1 = shmget(shmkey, INT_SIZE, SHM_RW | IPC_CREAT | in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/ |
D | hugeshmdt01.c | 149 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
|