/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
D | hugeshmget02.c | 29 {&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()
|
D | hugeshmget03.c | 33 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()
|
D | hugeshmget01.c | 40 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()
|
D | hugeshmget05.c | 48 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/ |
D | shmget03.c | 30 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()
|
D | shmget06.c | 35 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()
|
D | shmget05.c | 36 shm_id = SAFE_SHMGET(shmkey, SHM_SIZE, SHM_RW | IPC_CREAT); in verify_shmget()
|
D | shmget04.c | 35 {"Testing SHM_RW flag", SHM_RW},
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl01.c | 76 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()
|
D | hugeshmctl02.c | 91 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
D | hugeshmctl03.c | 113 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl02.c | 111 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()
|
D | shmctl06.c | 33 shmid = shmget(key, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in run()
|
D | shmctl07.c | 58 shm_id = SAFE_SHMGET(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | SHM_RW); in setup()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/lib/ |
D | hugetlb.h | 25 #define SHM_RW (SHM_RD|SHM_WR) macro
|
/third_party/ltp/include/ |
D | ipcshm.h | 39 #define SHM_RW SHM_RD | SHM_WR macro
|
D | libnewipc.h | 43 #define SHM_RW (SHM_RD | SHM_WR) macro
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat03.c | 81 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
|
D | hugeshmat02.c | 89 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
|
D | hugeshmat01.c | 161 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
|
/third_party/ltp/libs/libltpnewipc/ |
D | libnewipc.c | 80 SHM_RW | IPC_CREAT | IPC_EXCL); in probe_free_addr()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmdt/ |
D | shmdt01.c | 195 if ((shm_id_1 = shmget(shmkey, INT_SIZE, SHM_RW | IPC_CREAT | in setup()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/ |
D | hugeshmdt01.c | 128 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
|