Searched refs:PSEMS (Results 1 – 16 of 16) sorted by relevance
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl01.c | 78 static unsigned short array[PSEMS]; 222 sem_id_1 = semget(semkey, PSEMS, in main() 241 if (buf.sem_nsems == PSEMS && buf.sem_perm.mode == (SEM_RA)) in func_stat() 283 for (i = 0; i < PSEMS; i++) { in func_gall() 446 for (i = 0; i < PSEMS; i++) { in sall_setup() 458 unsigned short rarray[PSEMS]; in func_sall() 467 for (i = 0; i < PSEMS; i++) { in func_sall() 561 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
|
D | semctl02.c | 141 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
D | semctl03.c | 159 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
|
D | semctl05.c | 162 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
|
D | semctl04.c | 185 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/semop/ |
D | semop01.c | 65 struct sembuf sops[PSEMS]; 132 get_arr.array = malloc(sizeof(unsigned short int) * PSEMS); in setup() 138 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
|
D | semop02.c | 45 struct sembuf s_buf[PSEMS]; 111 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup() 121 sem_id_2 = semget(semkey2, PSEMS, IPC_CREAT | IPC_EXCL); in setup()
|
D | semop03.c | 62 int TC[] = { -1, PSEMS + 1 }; /* negative and too many "primitive" semas */ 142 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
|
D | semop05.c | 178 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | in main() 269 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
|
D | semop04.c | 161 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/semget/ |
D | semget01.c | 85 TEST(semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); in main() 127 if (un_arg.buf->sem_nsems != PSEMS) { in check_functionality()
|
D | semget02.c | 95 TEST(semget(semkey, PSEMS, TC[i].flags)); in main() 149 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
D | semget05.c | 94 TEST(semget(IPC_PRIVATE, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); in main() 127 while ((sem_q = semget(IPC_PRIVATE, PSEMS, IPC_CREAT | IPC_EXCL)) != -1) { in setup()
|
D | semget03.c | 76 TEST(semget(semkey, PSEMS, SEM_RA)); in main()
|
/external/ltp/testcases/kernel/syscalls/ipc/lib/ |
D | ipcsem.h | 41 #define PSEMS 10 /* a reasonable value for the number of */ macro
|
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/ |
D | libnewipc.h | 36 #define PSEMS 10 macro
|