Searched refs:SEM_RA (Results 1 – 15 of 15) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/ipc/semget/ |
D | semget05.c | 30 TST_EXP_FAIL2(semget(semkey + maxsems, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA), in verify_semget() 32 IPC_CREAT | IPC_EXCL | SEM_RA); in verify_semget() 50 res = semget(semkey + num, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
|
D | semget02.c | 45 {&semkey, PSEMS, SEM_RA, EACCES, 1}, 47 {&semkey1, PSEMS, SEM_RA, ENOENT, 0}, 50 {&semkey, PSEMS + 1, SEM_RA, EINVAL, 0},
|
D | semget03.c | 76 TEST(semget(semkey, PSEMS, SEM_RA)); in main()
|
D | semget01.c | 37 TEST(semget(sem_key, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); in verify_semget()
|
D | semget06.c | 84 IPC_CREAT | IPC_EXCL | SEM_RA)); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl01.c | 44 if (buf.sem_nsems == PSEMS && buf.sem_perm.mode == (SEM_RA)) in func_stat() 52 buf.sem_perm.mode = SEM_RA | NEWMODE; in set_setup() 59 if (buf.sem_perm.mode == (SEM_RA | NEWMODE)) in func_set() 269 sem_id = SAFE_SEMGET(IPC_PRIVATE, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in verify_semctl()
|
D | semctl08.c | 28 semid = semget(key, 1, SEM_RA | IPC_CREAT); in run()
|
D | semctl05.c | 54 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
|
D | semctl03.c | 96 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
|
D | semctl07.c | 138 semid = SAFE_SEMGET(key, nsems, SEM_RA | IPC_CREAT); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/ |
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()
|
D | semop01.c | 80 sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
|
D | semop02.c | 90 valid_sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
|
/third_party/ltp/include/ |
D | ipcsem.h | 39 #define SEM_RA SEM_RD | SEM_ALT macro
|
D | libnewipc.h | 37 #define SEM_RA (SEM_RD | SEM_ALT) macro
|