Home
last modified time | relevance | path

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

123

/third_party/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.c62 id = semget(TESTKEY, 1, IPC_CREAT); in chld1_sem()
106 id = semget(TESTKEY, 1, IPC_CREAT); in chld2_sem()
/third_party/musl/libc-test/src/functional/
Dipc_sem.c44 T(semid = semget(k, 1, IPC_CREAT|0666)); in inc()
46 T(semid = semget(k, 1, IPC_CREAT|IPC_EXCL|0666)); in inc()
53 if (semget(k, 1, IPC_CREAT|IPC_EXCL|0666) != -1 || errno != EEXIST) in inc()
93 T(semid = semget(k, 0, 0)); in dec()
/third_party/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()
/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()
Dsemop02.c90 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()
Dsemop01.c80 sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
/third_party/musl/src/ipc/
Dsemget.c7 int semget(key_t key, int n, int fl) in semget() function
/third_party/musl/porting/liteos_a/user/src/ipc/
Dsemget.c9 int semget(key_t key, int n, int fl) in semget() function
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsem.h56 int semget(key_t, int, int);
/third_party/musl/ndk_musl_include/sys/
Dsem.h56 int semget(key_t, int, int);
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsem.h56 int semget(key_t, int, int);
/third_party/musl/include/sys/
Dsem.h56 int semget(key_t, int, int);
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl08.c28 semid = semget(key, 1, SEM_RA | IPC_CREAT); in run()
/third_party/musl/porting/uniproton/kernel/include/sys/
Dsem.h56 int semget(key_t, int, int);
/third_party/musl/libc-test/src/api/
Dsys_sem.c32 {int(*p)(key_t,int,int) = semget;} in f()
/third_party/ltp/testcases/kernel/ipc/semaphore/
Dsem02.c82 sem_id = semget(KEY, 1, 0666 | IPC_CREAT); in main()
Dsem01.c128 if ((semid = semget((key_t) 9142, 1, 0666 | IPC_CREAT)) < 0) { in main()
/third_party/musl/libc-test/src/functionalext/supplement/ipc/
Dsemtimedop.c45 int id = semget(key, 1, IPC_CREAT | 0666); in semtimedop_0100()
/third_party/toybox/toys/pending/
Dipcrm.c55 (ipc == 2)? msgget(id, 0): semget(id, 0, 0));

123