Home
last modified time | relevance | path

Searched refs:semget (Results 1 – 25 of 67) sorted by relevance

123

/external/ltp/testcases/kernel/containers/sysvipc/
Dsemtest_2ns.c99 id1 = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666); in check_sem1()
106 id1 = semget(MY_KEY, 1, 0); in check_sem1()
133 id2 = semget(MY_KEY, 1, 0); in check_sem2()
139 id2 = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666); in check_sem2()
227 id = semget(MY_KEY, 1, 0); in main()
Dsem_nstest.c58 id = semget(MY_KEY, 1, 0); in check_semaphore()
108 id = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666); in main()
115 id = semget(MY_KEY, 1, 0); in main()
154 id = semget(MY_KEY, 1, 0); in main()
Dsem_comm.c63 id = semget(TESTKEY, 1, IPC_CREAT); in chld1_sem()
107 id = semget(TESTKEY, 1, IPC_CREAT); in chld2_sem()
/external/ltp/testcases/kernel/syscalls/ipc/semget/
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()
Dsemget06.c83 TEST(semget(semkey, num_sems[i], in main()
Dsemget01.c85 TEST(semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); in main()
/external/strace/tests-m32/
Dipc_sem.c114 rc = semget(bogus_key, bogus_size, bogus_flags); in main()
119 id = semget(private_key, 1, 0600); in main()
/external/strace/tests-mx32/
Dipc_sem.c114 rc = semget(bogus_key, bogus_size, bogus_flags); in main()
119 id = semget(private_key, 1, 0600); in main()
/external/strace/tests/
Dipc_sem.c114 rc = semget(bogus_key, bogus_size, bogus_flags); in main()
119 id = semget(private_key, 1, 0600); in main()
/external/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop02.c111 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()
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()
Dsemop03.c142 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()
Dsemop01.c138 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
/external/linux-kselftest/tools/testing/selftests/powerpc/syscalls/
Dipc.h7 DO_TEST(semget, __NR_semget)
/external/ltp/testcases/kernel/syscalls/ipc/semctl/
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()
Dsemctl01.c222 sem_id_1 = semget(semkey, PSEMS, in main()
561 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
Dsemctl04.c185 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
/external/ltp/testcases/kernel/ipc/semaphore/
Dsem02.c83 sem_id = semget(KEY, 1, 0666 | IPC_CREAT); in main()
Dsem01.c129 if ((semid = semget((key_t) 9142, 1, 0666 | IPC_CREAT)) < 0) { in main()
/external/syzkaller/sys/netbsd/
Dipc.txt28 semget(key proc[2039359027, 4], nsems flags[sem_sem_id], flags flags[semget_flags]) ipc_sem
29 semget$private(key const[IPC_PRIVATE], nsems flags[sem_sem_id], flags flags[semget_flags]) ipc_sem

123