/third_party/ltp/testcases/kernel/containers/sysvipc/ |
D | semtest_2ns.c | 99 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()
|
D | sem_nstest.c | 58 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()
|
D | sem_comm.c | 62 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/ |
D | ipc_sem.c | 44 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/ |
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()
|
D | semget06.c | 83 TEST(semget(semkey, num_sems[i], in main()
|
D | semget01.c | 85 TEST(semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); in main()
|
/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 | semop02.c | 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 | semop01.c | 80 sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
|
/third_party/musl/src/ipc/ |
D | semget.c | 7 int semget(key_t key, int n, int fl) in semget() function
|
/third_party/musl/porting/liteos_a/user/src/ipc/ |
D | semget.c | 9 int semget(key_t key, int n, int fl) in semget() function
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | sem.h | 56 int semget(key_t, int, int);
|
/third_party/musl/ndk_musl_include/sys/ |
D | sem.h | 56 int semget(key_t, int, int);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | sem.h | 56 int semget(key_t, int, int);
|
/third_party/musl/include/sys/ |
D | sem.h | 56 int semget(key_t, int, int);
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl08.c | 28 semid = semget(key, 1, SEM_RA | IPC_CREAT); in run()
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | sem.h | 56 int semget(key_t, int, int);
|
/third_party/musl/libc-test/src/api/ |
D | sys_sem.c | 32 {int(*p)(key_t,int,int) = semget;} in f()
|
/third_party/ltp/testcases/kernel/ipc/semaphore/ |
D | sem02.c | 82 sem_id = semget(KEY, 1, 0666 | IPC_CREAT); in main()
|
D | sem01.c | 128 if ((semid = semget((key_t) 9142, 1, 0666 | IPC_CREAT)) < 0) { in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/ipc/ |
D | semtimedop.c | 45 int id = semget(key, 1, IPC_CREAT | 0666); in semtimedop_0100()
|
/third_party/toybox/toys/pending/ |
D | ipcrm.c | 55 (ipc == 2)? msgget(id, 0): semget(id, 0, 0));
|