Home
last modified time | relevance | path

Searched refs:sembuf (Results 1 – 25 of 30) sorted by relevance

12

/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsem.h49 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/
Dsem.h49 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/
Dsem.h49 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/
Dsem.h49 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/
Dsem.h49 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/
Dsemop.h10 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()
Dsemop02.c34 static struct sembuf *faulty_buf;
44 struct sembuf **buf;
114 struct sembuf buf = { in run()
119 struct sembuf *ptr = &buf; in run()
Dsemop01.c23 static struct sembuf sops[PSEMS];
Dsemop03.c39 struct sembuf s_buf = { in do_child()
/third_party/ltp/include/
Dtime64_variants.h25 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);
Dtst_safe_sysv_ipc.h68 int safe_semop(const char *file, const int lineno, int semid, struct sembuf *sops,
/third_party/musl/libc-test/src/functionalext/supplement/ipc/
Dsemtimedop.c23 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/
Dsys_sem.c26 struct sembuf x; in f()
33 {int(*p)(int,struct sembuf*,size_t) = semop;} in f()
/third_party/ltp/testcases/kernel/ipc/semaphore/
Dsem02.c67 struct sembuf Psembuf = { 0, -1, SEM_UNDO };
68 struct sembuf Vsembuf = { 0, 1, SEM_UNDO };
Dsem01.c51 struct sembuf semops; in semup()
65 struct sembuf semops; in semdown()
/third_party/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c506 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/
Dthugetlb.c77 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/
Dsemtest_2ns.c59 static struct sembuf semop_lock[2] = {
65 static struct sembuf semop_unlock[1] = {
Dsem_comm.c60 struct sembuf sm; in chld1_sem()
100 struct sembuf sm; in chld2_sem()
/third_party/musl/libc-test/src/functional/
Dipc_sem.c38 struct sembuf sops; in inc()
90 struct sembuf sops; in dec()
/third_party/musl/src/ipc/
Dsemop.c5 int semop(int id, struct sembuf *buf, size_t n) in semop()
Dsemtimedop.c16 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/
Dsemop.c7 int semop(int id, struct sembuf *buf, size_t n) in semop()
/third_party/musl/compat/time32/
Dsemtimedop_time32.c6 int __semtimedop_time32(int id, struct sembuf *buf, size_t n, const struct timespec32 *ts32) in __semtimedop_time32()
/third_party/alsa-lib/src/pcm/
Dpcm_direct.h282 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()

12