Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Dsys_sem.cpp59 int semop(int id, sembuf* ops, size_t op_count) { in semop() argument
60 return semtimedop(id, ops, op_count, nullptr); in semop()
63 int semtimedop(int id, sembuf* ops, size_t op_count, const timespec* ts) { in semtimedop() argument
65 return syscall(SYS_semtimedop, id, ops, op_count, ts); in semtimedop()
67 return syscall(SYS_ipc, SEMTIMEDOP, id, op_count, 0, ops, ts); in semtimedop()
/bionic/tests/
Dsys_sem_test.cpp56 sembuf ops[] = {{ .sem_num = 0, .sem_op = 1, .sem_flg = 0 }}; in TEST() local
57 ASSERT_EQ(0, semop(id, ops, 1)); in TEST()
62 ops[0] = { .sem_num = 0, .sem_op = 0, .sem_flg = 0 }; in TEST()
64 ASSERT_EQ(-1, semtimedop(id, ops, 1, &ts)); in TEST()
69 ops[0] = { .sem_num = 0, .sem_op = -1, .sem_flg = 0 }; in TEST()
70 ASSERT_EQ(0, semop(id, ops, 1)); in TEST()
/bionic/libc/kernel/uapi/linux/
Dio_uring.h358 struct io_uring_probe_op ops[]; member
/bionic/libc/kernel/uapi/sound/
Dasoc.h193 struct snd_soc_tplg_io_ops ops; member
/bionic/docs/
Dfdsan.md347 // if available, and fall back to no-ops or regular close on pre-Q devices.