/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | sem.h | 49 struct sembuf { struct 57 int semop(int, struct sembuf *, size_t); argument 60 int semtimedop(int, struct sembuf *, size_t, const struct timespec *);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | sem.h | 49 struct sembuf { struct 57 int semop(int, struct sembuf *, size_t); argument 60 int semtimedop(int, struct sembuf *, size_t, const struct timespec *);
|
/third_party/musl/ndk_musl_include/sys/ |
D | sem.h | 49 struct sembuf { struct 57 int semop(int, struct sembuf *, size_t); argument 60 int semtimedop(int, struct sembuf *, size_t, const struct timespec *);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | sem.h | 49 struct sembuf { struct 57 int semop(int, struct sembuf *, size_t); argument 60 int semtimedop(int, struct sembuf *, size_t, const struct timespec *);
|
/third_party/musl/include/sys/ |
D | sem.h | 49 struct sembuf { struct 57 int semop(int, struct sembuf *, size_t); argument 60 int semtimedop(int, struct sembuf *, size_t, const struct timespec *);
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/ |
D | semop.h | 10 static inline int sys_semtimedop(int semid, struct sembuf *sops, size_t nsops, in sys_semtimedop() 16 static inline int sys_semtimedop_time64(int semid, struct sembuf *sops, in sys_semtimedop_time64() 35 struct sembuf *sops, size_t nsops, void *timeout) in call_semop()
|
D | semop02.c | 34 static struct sembuf *faulty_buf; 44 struct sembuf **buf; 114 struct sembuf buf = { in run() 119 struct sembuf *ptr = &buf; in run()
|
D | semop01.c | 23 static struct sembuf sops[PSEMS];
|
D | semop03.c | 39 struct sembuf s_buf = { in do_child()
|
/third_party/ltp/include/ |
D | time64_variants.h | 25 struct sembuf; 53 int (*semop)(int semid, struct sembuf *sops, size_t nsops); 54 int (*semtimedop)(int semid, struct sembuf *sops, size_t nsops, void *timeout);
|
D | tst_safe_sysv_ipc.h | 68 int safe_semop(const char *file, const int lineno, int semid, struct sembuf *sops,
|
/third_party/musl/libc-test/src/functionalext/supplement/ipc/ |
D | semtimedop.c | 23 extern int __semtimedop_time64(int, struct sembuf *, size_t, const struct timespec *); 55 struct sembuf ops[] = {{.sem_num = 0, .sem_op = 1, .sem_flg = 0}}; in semtimedop_0100() 66 int result = semtimedop(id, ops, sizeof(ops) / sizeof(struct sembuf), &ts); in semtimedop_0100()
|
/third_party/musl/libc-test/src/api/ |
D | sys_sem.c | 26 struct sembuf x; in f() 33 {int(*p)(int,struct sembuf*,size_t) = semop;} in f()
|
/third_party/ltp/testcases/kernel/ipc/semaphore/ |
D | sem02.c | 67 struct sembuf Psembuf = { 0, -1, SEM_UNDO }; 68 struct sembuf Vsembuf = { 0, 1, SEM_UNDO };
|
D | sem01.c | 51 struct sembuf semops; in semup() 65 struct sembuf semops; in semdown()
|
/third_party/ltp/testcases/kernel/ipc/pipeio/ |
D | pipeio.c | 506 struct sembuf sem_op; in do_child() 525 sem_op = (struct sembuf) { in do_child() 585 sem_op = (struct sembuf) { in do_child() 621 struct sembuf sem_op; in do_parent() 635 sem_op = (struct sembuf) { in do_parent() 642 sem_op = (struct sembuf) { in do_parent()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
D | thugetlb.c | 77 int get_semaphore(int sem_id, struct sembuf *sembuffer) in get_semaphore() 85 int put_semaphore(int sem_id, struct sembuf *sembuffer) in put_semaphore() 131 struct sembuf sembuffer; in main()
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
D | semtest_2ns.c | 59 static struct sembuf semop_lock[2] = { 65 static struct sembuf semop_unlock[1] = {
|
D | sem_comm.c | 60 struct sembuf sm; in chld1_sem() 100 struct sembuf sm; in chld2_sem()
|
/third_party/musl/libc-test/src/functional/ |
D | ipc_sem.c | 38 struct sembuf sops; in inc() 90 struct sembuf sops; in dec()
|
/third_party/musl/src/ipc/ |
D | semop.c | 5 int semop(int id, struct sembuf *buf, size_t n) in semop()
|
D | semtimedop.c | 16 int semtimedop(int id, struct sembuf *buf, size_t n, const struct timespec *ts) in semtimedop()
|
/third_party/musl/porting/liteos_a/user/src/ipc/ |
D | semop.c | 7 int semop(int id, struct sembuf *buf, size_t n) in semop()
|
/third_party/musl/compat/time32/ |
D | semtimedop_time32.c | 6 int __semtimedop_time32(int id, struct sembuf *buf, size_t n, const struct timespec32 *ts32) in __semtimedop_time32()
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_direct.h | 282 struct sembuf op[2] = { { sem_num, 0, 0 }, { sem_num, 1, SEM_UNDO } }; in snd_pcm_direct_semaphore_down() 293 struct sembuf op = { sem_num, -1, SEM_UNDO | IPC_NOWAIT }; in snd_pcm_direct_semaphore_up()
|