Home
last modified time | relevance | path

Searched refs:semkey (Results 1 – 17 of 17) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/semget/
Dsemget02.c95 TEST(semget(semkey, PSEMS, TC[i].flags)); in main()
146 semkey = getipckey(); in setup()
149 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
Dsemget03.c76 TEST(semget(semkey, PSEMS, SEM_RA)); in main()
119 semkey = getipckey(); in setup()
Dsemget06.c83 TEST(semget(semkey, num_sems[i], in main()
129 semkey = getipckey(); in setup()
Dsemget01.c85 TEST(semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); in main()
158 semkey = getipckey(); in setup()
/external/ltp/testcases/kernel/syscalls/ipc/lib/
Dipcsem.h45 key_t semkey; /* an IPC key generated by ftok() */ variable
47 extern key_t semkey; /* an IPC key generated by ftok() */
/external/ltp/testcases/kernel/syscalls/kill/
Dkill05.c94 extern key_t semkey;
227 semkey = getipckey(); in setup()
229 if ((shmid1 = shmget(semkey, getpagesize(), 0666 | IPC_CREAT)) == -1) in setup()
Dkill07.c78 extern key_t semkey;
111 if ((shmid1 = shmget(semkey, (int)getpagesize(), in main()
222 semkey = getipckey(); in setup()
/external/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop05.c178 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | in main()
264 semkey = getipckey(); in setup()
269 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
Dsemop03.c138 semkey = getipckey(); in setup()
142 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
Dsemop04.c156 semkey = getipckey(); in setup()
161 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
Dsemop01.c136 semkey = getipckey(); in setup()
138 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
Dsemop02.c108 semkey = getipckey(); in setup()
111 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
/external/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl02.c138 semkey = getipckey(); in setup()
141 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
Dsemctl05.c158 semkey = getipckey(); in setup()
162 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
Dsemctl03.c155 semkey = getipckey(); in setup()
159 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
Dsemctl04.c182 semkey = getipckey(); in setup()
185 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
Dsemctl01.c222 sem_id_1 = semget(semkey, PSEMS, in main()
558 semkey = getipckey(); in setup()
561 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()