Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop02.c45 struct sembuf s_buf[PSEMS];
54 struct sembuf *t_sbuf;
58 {&sem_id_1, (struct sembuf *)&s_buf, BIGOPS, E2BIG},
59 {&sem_id_2, (struct sembuf *)&s_buf, NSOPS, EACCES},
60 {&sem_id_1, (struct sembuf *)-1, NSOPS, EFAULT},
61 {&sem_id_1, (struct sembuf *)&s_buf, 0, EINVAL},
62 {&bad_id, (struct sembuf *)&s_buf, NSOPS, EINVAL},
63 {&sem_id_1, (struct sembuf *)&s_buf, 1, ERANGE}
Dsemop03.c60 struct sembuf s_buf;
Dsemop04.c60 struct sembuf s_buf;
Dsemop01.c65 struct sembuf sops[PSEMS];
Dsemop05.c74 struct sembuf s_buf;
/external/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c507 struct sembuf sem_op; in do_child()
526 sem_op = (struct sembuf) { in do_child()
586 sem_op = (struct sembuf) { in do_child()
622 struct sembuf sem_op; in do_parent()
636 sem_op = (struct sembuf) { in do_parent()
643 sem_op = (struct sembuf) { in do_parent()
/external/ltp/testcases/kernel/ipc/semaphore/
Dsem02.c68 struct sembuf Psembuf = { 0, -1, SEM_UNDO };
69 struct sembuf Vsembuf = { 0, 1, SEM_UNDO };
Dsem01.c52 struct sembuf semops; in semup()
66 struct sembuf semops; in semdown()
/external/strace/
Dipc_sem.c50 const struct sembuf *sb = elem_buf; in print_sembuf()
65 struct sembuf sb; in tprint_sembuf_array()
DChangeLog29375 Fix printing of invalid struct sembuf.sem_flg.
29376 * ipc_sem.c (print_sembuf): Explicitly cast struct sembuf.sem_flg
29378 invalid struct sembuf.sem_flg.
35312 on what is available. Only decode sembuf when available.
52846 Enhance semop()/semtimedop() sembuf parser.
52847 * ipc.c (tprint_sembuf): New function. Move sembuf parser code here,
52853 Add pretty printing of sembuf argument to semop() and semtimedop()
52855 (sys_semop, sys_semtimedop): Add pretty printing of sembuf argument.
/external/ltp/testcases/kernel/containers/sysvipc/
Dsem_comm.c61 struct sembuf sm; in chld1_sem()
101 struct sembuf sm; in chld2_sem()
Dsemtest_2ns.c59 static struct sembuf semop_lock[2] = {
65 static struct sembuf semop_unlock[1] = {
/external/strace/tests-m32/
Dsemop.c47 TAIL_ALLOC_OBJECT_CONST_PTR(struct sembuf, sem_b); in main()
48 TAIL_ALLOC_OBJECT_CONST_PTR(struct sembuf, sem_b2); in main()
/external/strace/tests-mx32/
Dsemop.c47 TAIL_ALLOC_OBJECT_CONST_PTR(struct sembuf, sem_b); in main()
48 TAIL_ALLOC_OBJECT_CONST_PTR(struct sembuf, sem_b2); in main()
/external/strace/tests/
Dsemop.c47 TAIL_ALLOC_OBJECT_CONST_PTR(struct sembuf, sem_b); in main()
48 TAIL_ALLOC_OBJECT_CONST_PTR(struct sembuf, sem_b2); in main()
/external/syzkaller/sys/linux/
Dipc.txt30 semop(semid ipc_sem, ops ptr[in, array[sembuf]], nops len[ops])
31 semtimedop(semid ipc_sem, ops ptr[in, array[sembuf]], nops len[ops], timeout ptr[in, timespec])
123 sembuf {
/external/kernel-headers/original/uapi/linux/
Dsem.h40 struct sembuf { struct
/external/syzkaller/sys/netbsd/
Dipc.txt30 semop(semid ipc_sem, ops ptr[in, array[sembuf]], nops len[ops])
116 sembuf {
/external/autotest/client/tests/synctest/src/
Dsynctest.c35 struct sembuf op; in main()
/external/syzkaller/sys/freebsd/
Dipc.txt31 semop(semid ipc_sem, ops ptr[in, array[sembuf]], nops len[ops])
123 sembuf {
/external/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl06.c77 static struct sembuf semops[NSEMS];
Dsemctl01.c79 static struct sembuf sops;
/external/ltp/testcases/kernel/sched/process_stress/
Dprocess.c499 struct sembuf smop; /* semaphore operator */ in semoper()