/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
D | hugeshmget02.c | 49 {&shmkey, 2, SHM_HUGETLB | SHM_RW, EINVAL}, 51 {&shmkey, 1, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST}, 98 shmkey = getipckey(); in setup() 99 shmkey2 = shmkey + 1; in setup() 100 shm_id_1 = shmget(shmkey, shm_size, in setup()
|
D | hugeshmget05.c | 65 TEST(shmget(shmkey, shm_size, SHM_HUGETLB | SHM_RW)); in do_child() 90 shmkey = getipckey(); in setup() 91 shm_id_1 = shmget(shmkey, shm_size, in setup()
|
D | hugeshmget01.c | 79 shmkey = getipckey(); in setup() 81 shm_id_1 = shmget(shmkey, shm_size, in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget02.c | 79 &shmkey, SHM_SIZE * 2, SHM_RW, EINVAL}, 82 &shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST}, 152 shmkey = getipckey(); in setup() 157 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | in setup()
|
D | shmget04.c | 81 TEST(shmget(shmkey, SHM_SIZE, SHM_RW)); in main() 133 shmkey = getipckey(); in setup() 136 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
D | shmget05.c | 125 TEST(shmget(shmkey, SHM_SIZE, SHM_RW)); in do_child() 165 shmkey = getipckey(); in setup() 168 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, in setup()
|
D | shmget01.c | 85 TEST(shmget(shmkey, SHM_SIZE, (IPC_CREAT | IPC_EXCL | SHM_RW))); in main() 157 shmkey = getipckey(); in setup()
|
D | shmget03.c | 131 shmkey = getipckey(); in setup()
|
/external/ltp/testcases/kernel/syscalls/mremap/ |
D | mremap04.c | 171 key_t shmkey; in setup() local 189 shmkey = getipckey(); in setup() 195 shmid = shmget(shmkey, newsize, IPC_CREAT | SHM_MODE); in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl02.c | 104 shmkey = getipckey(); in setup() 107 shm_id_1 = shmget(shmkey, shm_size, SHM_HUGETLB | IPC_CREAT | IPC_EXCL); in setup() 112 shm_id_2 = shmget(shmkey + 1, shm_size, in setup()
|
D | hugeshmctl03.c | 129 shmkey = getipckey(); in setup() 130 shm_id_1 = shmget(shmkey, shm_size, in setup()
|
D | hugeshmctl01.c | 97 shm_id_1 = shmget(shmkey, shm_size, in test_hugeshmctl() 323 shmkey = getipckey(); in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat03.c | 99 shmkey = getipckey(); in setup() 100 shm_id_1 = shmget(shmkey, shm_size, in setup()
|
D | hugeshmat02.c | 103 shmkey = getipckey(); in setup() 107 shm_id_2 = shmget(shmkey++, shm_size, in setup()
|
D | hugeshmat01.c | 179 shmkey = getipckey(); in setup() 180 shm_id_1 = shmget(shmkey++, shm_size, in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmdt/ |
D | shmdt01.c | 192 shmkey = getipckey(); in setup() 195 if ((shm_id_1 = shmget(shmkey, INT_SIZE, SHM_RW | IPC_CREAT | in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl03.c | 184 shmkey = getipckey(); in setup() 187 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | in setup()
|
D | shmctl02.c | 182 shmkey = getipckey(); in setup() 185 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
D | shmctl01.c | 153 shm_id_1 = shmget(shmkey, SHM_SIZE, in main() 476 shmkey = getipckey(); in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/ |
D | hugeshmdt01.c | 144 shmkey = getipckey(); in setup() 147 shm_id_1 = shmget(shmkey, shm_size, in setup()
|
/external/ltp/testcases/kernel/mem/mtest07/ |
D | shm_test.c | 278 int shmkey = 1969; /* key used to generate shmid by shmget() */ in main() local 321 chld_args[1] = shmkey++; in main()
|
/external/ltp/testcases/kernel/syscalls/ipc/lib/ |
D | ipcshm.h | 47 key_t shmkey; /* an IPC key generated by ftok() */ variable
|
/external/ltp/testcases/kernel/mem/hugetlb/lib/ |
D | hugetlb.h | 50 key_t shmkey; /* an IPC key generated by ftok() */ variable
|
/external/ltp/testcases/kernel/mem/mtest06/ |
D | shmat1.c | 226 key_t shmkey = 0; /* IPC_PRIVATE (key for shmget) */ in shmat_shmdt() local 239 if ((shmid = shmget(shmkey, fsize, IPC_CREAT | 0666)) == -1) { in shmat_shmdt()
|