Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl01.c27 static unsigned short array[PSEMS];
44 if (buf.sem_nsems == PSEMS && buf.sem_perm.mode == (SEM_RA)) in func_stat()
69 for (i = 0; i < PSEMS; i++) { in func_gall()
176 for (i = 0; i < PSEMS; i++) { in sall_setup()
184 unsigned short rarray[PSEMS]; in func_sall()
187 for (i = 0; i < PSEMS; i++) { in func_sall()
269 sem_id = SAFE_SEMGET(IPC_PRIVATE, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in verify_semctl()
Dsemctl02.c41 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL); in setup()
Dsemctl05.c54 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
Dsemctl04.c69 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL); in setup()
Dsemctl03.c86 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop01.c21 static unsigned short int sarr[PSEMS];
23 static struct sembuf sops[PSEMS];
80 sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
Dsemop02.c61 {0, &valid_sem_id, NULL, &sem_op_1, 0, PSEMS + 1, SEM_UNDO, 1, 1, &valid_to, EFBIG},
90 valid_sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
96 noperm_sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL); in setup()
Dsemop03.c79 sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
125 sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in run()
/third_party/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()
/third_party/ltp/include/
Dipcsem.h41 #define PSEMS 10 /* a reasonable value for the number of */ macro
Dlibnewipc.h39 #define PSEMS 10 macro