Home
last modified time | relevance | path

Searched refs:sembuf (Results 1 - 25 of 41) sorted by relevance

12

/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dsem.h49 struct sembuf { struct
57 int semop(int, struct sembuf *, size_t);
60 int semtimedop(int, struct sembuf *, size_t, const struct timespec *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dsem.h49 struct sembuf { struct
57 int semop(int, struct sembuf *, size_t);
60 int semtimedop(int, struct sembuf *, size_t, const struct timespec *);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dsem.h49 struct sembuf { struct
57 int semop(int, struct sembuf *, size_t);
60 int semtimedop(int, struct sembuf *, size_t, const struct timespec *);
/third_party/musl/include/sys/
H A Dsem.h49 struct sembuf { struct
57 int semop(int, struct sembuf *, size_t);
60 int semtimedop(int, struct sembuf *, size_t, const struct timespec *);
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
H A 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()
H A Dsemop02.c34 static struct sembuf *faulty_buf;
44 struct sembuf **buf;
114 struct sembuf buf = { in run()
119 struct sembuf *ptr = &buf; in run()
H A Dsemop04.c32 struct sembuf semops; in semup()
43 struct sembuf semops; in semdown()
H A Dsemop05.c67 struct sembuf Psembuf = { 0, -1, SEM_UNDO };
68 struct sembuf Vsembuf = { 0, 1, SEM_UNDO };
H A Dsemop01.c23 static struct sembuf sops[PSEMS];
/third_party/ltp/include/
H A 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);
/third_party/musl/libc-test/src/functionalext/supplement/ipc/
H A 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/ltp/testcases/kernel/containers/sysvipc/
H A Dsem_comm.c39 struct sembuf sm = { in chld1_sem()
64 struct sembuf sm = { in chld2_sem()
H A Dsemtest_2ns.c46 struct sembuf sm = { in check_sem1()
70 struct sembuf sm = { in check_sem2()
/third_party/musl/libc-test/src/api/
H A 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/pipeio/
H A 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/backends/backend/
H A Dsnapscan-mutex.c116 static struct sembuf sem_wait = { 0, -1, 0 };
117 static struct sembuf sem_signal = { 0, 1, 0 };
/third_party/ltp/testcases/kernel/ipc/semaphore/
H A Dsem02.c67 struct sembuf Psembuf = { 0, -1, SEM_UNDO };
68 struct sembuf Vsembuf = { 0, 1, SEM_UNDO };
H A Dsem01.c51 struct sembuf semops; in semup()
65 struct sembuf semops; in semdown()
/third_party/ltp/testcases/kernel/mce-test/hwpoison/
H A 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/mce-test/tsrc/
H A 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/musl/libc-test/src/functional/
H A Dipc_sem.c38 struct sembuf sops; in inc()
90 struct sembuf sops; in dec()
/third_party/musl/src/ipc/
H A Dsemop.c6 int semop(int id, struct sembuf *buf, size_t n) in semop()
H A Dsemtimedop.c17 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/
H A Dsemop.c7 int semop(int id, struct sembuf *buf, size_t n) in semop()
/third_party/musl/compat/time32/
H A Dsemtimedop_time32.c6 int __semtimedop_time32(int id, struct sembuf *buf, size_t n, const struct timespec32 *ts32) in __semtimedop_time32()

Completed in 7 milliseconds

12