Searched refs:PSEMS (Results 1 – 14 of 14) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl01.c | 27 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()
|
D | semctl02.c | 41 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL); in setup()
|
D | semctl05.c | 54 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
|
D | semctl04.c | 69 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL); in setup()
|
D | semctl03.c | 86 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/ |
D | semop01.c | 21 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()
|
D | semop02.c | 61 {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()
|
D | semop03.c | 79 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/ |
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()
|
/third_party/ltp/include/ |
D | ipcsem.h | 41 #define PSEMS 10 /* a reasonable value for the number of */ macro
|
D | libnewipc.h | 39 #define PSEMS 10 macro
|