Home
last modified time | relevance | path

Searched refs:PSEMS (Results 1 – 16 of 16) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl01.c78 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()
Dsemctl02.c141 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
Dsemctl03.c159 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
Dsemctl05.c162 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
Dsemctl04.c185 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
/external/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop01.c65 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()
Dsemop02.c45 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()
Dsemop03.c62 int TC[] = { -1, PSEMS + 1 }; /* negative and too many "primitive" semas */
142 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
Dsemop05.c178 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | in main()
269 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
Dsemop04.c161 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { in setup()
/external/ltp/testcases/kernel/syscalls/ipc/semget/
Dsemget01.c85 TEST(semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); in main()
127 if (un_arg.buf->sem_nsems != PSEMS) { in check_functionality()
Dsemget02.c95 TEST(semget(semkey, PSEMS, TC[i].flags)); in main()
149 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
Dsemget05.c94 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()
Dsemget03.c76 TEST(semget(semkey, PSEMS, SEM_RA)); in main()
/external/ltp/testcases/kernel/syscalls/ipc/lib/
Dipcsem.h41 #define PSEMS 10 /* a reasonable value for the number of */ macro
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/
Dlibnewipc.h36 #define PSEMS 10 macro