Home
last modified time | relevance | path

Searched refs:SEM_RA (Results 1 – 15 of 15) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ipc/semget/
Dsemget05.c30 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()
Dsemget02.c45 {&semkey, PSEMS, SEM_RA, EACCES, 1},
47 {&semkey1, PSEMS, SEM_RA, ENOENT, 0},
50 {&semkey, PSEMS + 1, SEM_RA, EINVAL, 0},
Dsemget03.c76 TEST(semget(semkey, PSEMS, SEM_RA)); in main()
Dsemget01.c37 TEST(semget(sem_key, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); in verify_semget()
Dsemget06.c84 IPC_CREAT | IPC_EXCL | SEM_RA)); in main()
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl01.c44 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()
Dsemctl08.c28 semid = semget(key, 1, SEM_RA | IPC_CREAT); in run()
Dsemctl05.c54 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
Dsemctl03.c96 sem_id = SAFE_SEMGET(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
Dsemctl07.c138 semid = SAFE_SEMGET(key, nsems, SEM_RA | IPC_CREAT); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
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()
Dsemop01.c80 sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
Dsemop02.c90 valid_sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
/third_party/ltp/include/
Dipcsem.h39 #define SEM_RA SEM_RD | SEM_ALT macro
Dlibnewipc.h37 #define SEM_RA (SEM_RD | SEM_ALT) macro