Searched refs:semkey (Results 1 – 17 of 17) sorted by relevance
/external/ltp/testcases/kernel/syscalls/ipc/semget/ |
D | semget02.c | 95 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()
|
D | semget03.c | 76 TEST(semget(semkey, PSEMS, SEM_RA)); in main() 119 semkey = getipckey(); in setup()
|
D | semget06.c | 83 TEST(semget(semkey, num_sems[i], in main() 129 semkey = getipckey(); in setup()
|
D | semget01.c | 85 TEST(semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); in main() 158 semkey = getipckey(); in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/lib/ |
D | ipcsem.h | 45 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/ |
D | kill05.c | 94 extern key_t semkey; 227 semkey = getipckey(); in setup() 229 if ((shmid1 = shmget(semkey, getpagesize(), 0666 | IPC_CREAT)) == -1) in setup()
|
D | kill07.c | 78 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/ |
D | semop05.c | 178 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()
|
D | semop03.c | 138 semkey = getipckey(); in setup() 142 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
|
D | semop04.c | 156 semkey = getipckey(); in setup() 161 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
|
D | semop01.c | 136 semkey = getipckey(); in setup() 138 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
|
D | semop02.c | 108 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/ |
D | semctl02.c | 138 semkey = getipckey(); in setup() 141 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
D | semctl05.c | 158 semkey = getipckey(); in setup() 162 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
|
D | semctl03.c | 155 semkey = getipckey(); in setup() 159 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
|
D | semctl04.c | 182 semkey = getipckey(); in setup() 185 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
D | semctl01.c | 222 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()
|