Home
last modified time | relevance | path

Searched refs:semop (Results 1 – 25 of 34) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop.h23 { .semop = semop, .ts_type = TST_LIBC_TIMESPEC, .desc = "semop: syscall"},
37 if (tv->semop) in call_semop()
38 return tv->semop(semid, sops, nsops); in call_semop()
Dsemop02.c122 if (tc[i].semtimedop_only && tv->semop) { in run()
/third_party/ltp/testcases/kernel/containers/sysvipc/
Dsem_comm.c81 if (semop(id, &sm, 1) == -1) { in chld1_sem()
91 semop(id, &sm, 1); in chld1_sem()
125 if (semop(id, &sm, 1) == -1) { in chld2_sem()
139 semop(id, &sm, 1); in chld2_sem()
Dsemtest_2ns.c76 if (semop(id, &semop_lock[0], 2) < 0) { in sem_lock()
82 if (semop(id, &semop_unlock[0], 1) < 0) { in sem_lock()
/third_party/ltp/testcases/kernel/ipc/semaphore/
Dsem02.c132 semop(sem_id, &Psembuf, 1); in waiter()
148 semop(sem_id, &Vsembuf, 1); in poster()
Dsem01.c55 if (semop(semid, &semops, 1) == -1) { in semup()
69 if (semop(semid, &semops, 1) == -1) { in semdown()
/third_party/musl/libc-test/src/functionalext/supplement/ipc/
Dsemtimedop.c56 semop(id, ops, 1); in semtimedop_0100()
82 semop(id, ops, 1); in semtimedop_0100()
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl06.c185 if (semop(id, semops, NSEMS) < 0) { in dotest()
273 if (semop(id, semops, NSEMS) < 0) { in dosemas()
280 if (semop(id, semops, NSEMS) < 0) { in dosemas()
Dsemctl01.c89 if (semop(sem_id, &sops, 1) != -1) in child_cnt()
209 TST_EXP_FAIL(semop(sem_id, &sops, 1), EINVAL, "semaphore appears to be removed"); in func_rmid()
/third_party/musl/libc-test/src/functional/
Dipc_sem.c75 T(semop(semid, &sops, 1)); in inc()
99 T(semop(semid, &sops, 1)); in dec()
/third_party/musl/src/ipc/
Dsemop.c5 int semop(int id, struct sembuf *buf, size_t n) in semop() function
/third_party/musl/porting/liteos_a/user/src/ipc/
Dsemop.c7 int semop(int id, struct sembuf *buf, size_t n) in semop() function
/third_party/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c528 if (semop(sem_id, &sem_op, 1) == -1) { in do_child()
587 if (semop(sem_id, &sem_op, 1) == -1) in do_child()
637 if (semop(sem_id, &sem_op, 1) == -1) { in do_parent()
646 && semop(sem_id, &sem_op, 1) == -1) { in do_parent()
/third_party/ltp/testcases/kernel/mce-test/tsrc/
Dthugetlb.c82 return semop(sem_id, sembuffer, 1); in get_semaphore()
90 return semop(sem_id, sembuffer, 1); in put_semaphore()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsem.h57 int semop(int, struct sembuf *, size_t);
/third_party/musl/porting/uniproton/kernel/include/sys/
Dsem.h57 int semop(int, struct sembuf *, size_t);
/third_party/musl/ndk_musl_include/sys/
Dsem.h57 int semop(int, struct sembuf *, size_t);
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsem.h57 int semop(int, struct sembuf *, size_t);
/third_party/musl/include/sys/
Dsem.h57 int semop(int, struct sembuf *, size_t);
/third_party/musl/libc-test/src/api/
Dsys_sem.c33 {int(*p)(int,struct sembuf*,size_t) = semop;} in f()
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/
Dpage-poisoning.c534 semop(id, &sb, 1); in request_sem()
545 semop(id, &sb, 1); in waiton_sem()
547 semop(id, &sb, 1); in waiton_sem()
558 semop(id, &sb, 1); in release_sem()
/third_party/ltp/include/
Dtime64_variants.h53 int (*semop)(int semid, struct sembuf *sops, size_t nsops); member
/third_party/alsa-lib/src/pcm/
Dpcm_direct.h283 int err = semop(dmix->semid, op, 2); in snd_pcm_direct_semaphore_down()
294 int err = semop(dmix->semid, &op, 1); in snd_pcm_direct_semaphore_up()
/third_party/ltp/include/lapi/syscalls/
Daarch64.in195 semop 193
Darc.in195 semop 193

12