Home
last modified time | relevance | path

Searched refs:shmkey (Results 1 – 24 of 24) sorted by relevance

/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget02.c49 {&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()
Dhugeshmget05.c65 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()
Dhugeshmget01.c79 shmkey = getipckey(); in setup()
81 shm_id_1 = shmget(shmkey, shm_size, in setup()
/external/ltp/testcases/kernel/syscalls/ipc/shmget/
Dshmget02.c79 &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()
Dshmget04.c81 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()
Dshmget05.c125 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()
Dshmget01.c85 TEST(shmget(shmkey, SHM_SIZE, (IPC_CREAT | IPC_EXCL | SHM_RW))); in main()
157 shmkey = getipckey(); in setup()
Dshmget03.c131 shmkey = getipckey(); in setup()
/external/ltp/testcases/kernel/syscalls/mremap/
Dmremap04.c171 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/
Dhugeshmctl02.c104 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()
Dhugeshmctl03.c129 shmkey = getipckey(); in setup()
130 shm_id_1 = shmget(shmkey, shm_size, in setup()
Dhugeshmctl01.c97 shm_id_1 = shmget(shmkey, shm_size, in test_hugeshmctl()
323 shmkey = getipckey(); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat03.c99 shmkey = getipckey(); in setup()
100 shm_id_1 = shmget(shmkey, shm_size, in setup()
Dhugeshmat02.c103 shmkey = getipckey(); in setup()
107 shm_id_2 = shmget(shmkey++, shm_size, in setup()
Dhugeshmat01.c179 shmkey = getipckey(); in setup()
180 shm_id_1 = shmget(shmkey++, shm_size, in setup()
/external/ltp/testcases/kernel/syscalls/ipc/shmdt/
Dshmdt01.c192 shmkey = getipckey(); in setup()
195 if ((shm_id_1 = shmget(shmkey, INT_SIZE, SHM_RW | IPC_CREAT | in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
Dhugeshmdt01.c144 shmkey = getipckey(); in setup()
147 shm_id_1 = shmget(shmkey, shm_size, in setup()
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl03.c184 shmkey = getipckey(); in setup()
187 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | in setup()
Dshmctl02.c182 shmkey = getipckey(); in setup()
185 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
Dshmctl01.c153 shm_id_1 = shmget(shmkey, SHM_SIZE, in main()
476 shmkey = getipckey(); in setup()
/external/ltp/testcases/kernel/mem/mtest07/
Dshm_test.c278 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/
Dipcshm.h47 key_t shmkey; /* an IPC key generated by ftok() */ variable
/external/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.h50 key_t shmkey; /* an IPC key generated by ftok() */ variable
/external/ltp/testcases/kernel/mem/mtest06/
Dshmat1.c226 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()