Home
last modified time | relevance | path

Searched refs:sem_op (Results 1 – 17 of 17) sorted by relevance

/external/strace/tests-m32/
Dsemop.c59 sem_b->sem_op = 1; in main()
63 sem_b2->sem_op = 0xf00d; in main()
68 bogus_semid, sem_b2->sem_num, sem_b2->sem_op, in main()
78 sem_b->sem_op = -1; in main()
96 bogus_semid, sem_b2->sem_num, sem_b2->sem_op, in main()
104 sem_b->sem_op = 1; in main()
109 sem_b->sem_op = -1; in main()
116 sem_b->sem_op = 1; in main()
125 sem_b->sem_op = -1; in main()
/external/strace/tests-mx32/
Dsemop.c59 sem_b->sem_op = 1; in main()
63 sem_b2->sem_op = 0xf00d; in main()
68 bogus_semid, sem_b2->sem_num, sem_b2->sem_op, in main()
78 sem_b->sem_op = -1; in main()
96 bogus_semid, sem_b2->sem_num, sem_b2->sem_op, in main()
104 sem_b->sem_op = 1; in main()
109 sem_b->sem_op = -1; in main()
116 sem_b->sem_op = 1; in main()
125 sem_b->sem_op = -1; in main()
/external/strace/tests/
Dsemop.c59 sem_b->sem_op = 1; in main()
63 sem_b2->sem_op = 0xf00d; in main()
68 bogus_semid, sem_b2->sem_num, sem_b2->sem_op, in main()
78 sem_b->sem_op = -1; in main()
96 bogus_semid, sem_b2->sem_num, sem_b2->sem_op, in main()
104 sem_b->sem_op = 1; in main()
109 sem_b->sem_op = -1; in main()
116 sem_b->sem_op = 1; in main()
125 sem_b->sem_op = -1; in main()
/external/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c507 struct sembuf sem_op; in do_child() local
526 sem_op = (struct sembuf) { in do_child()
527 .sem_num = 0, .sem_op = 1, .sem_flg = 0}; in do_child()
529 if (semop(sem_id, &sem_op, 1) == -1) { in do_child()
586 sem_op = (struct sembuf) { in do_child()
587 .sem_num = 1, .sem_op = -1, .sem_flg = 0}; in do_child()
588 if (semop(sem_id, &sem_op, 1) == -1) in do_child()
622 struct sembuf sem_op; in do_parent() local
636 sem_op = (struct sembuf) { in do_parent()
637 .sem_num = 1, .sem_op = num_writers, .sem_flg = 0}; in do_parent()
[all …]
/external/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl01.c98 static int sem_op; variable
152 maybe_run_child(&child_cnt, "ndd", 2, &sem_id_1, &sem_op); in main()
307 sops.sem_op = ONE; in cnt_setup()
313 sops.sem_op = opval; in cnt_setup()
322 sem_op = sops.sem_op; in cnt_setup()
323 if (self_exec(argv0, "ndd", 2, sem_id_1, sem_op) < 0) in cnt_setup()
340 sops.sem_op = (short int)sem_op; in child_cnt()
402 sops.sem_op = ONE; in child_pid()
Dsemctl06.c182 semops[i].sem_op = maxsemvals[i]; in dotest()
268 semops[j].sem_op = in dosemas()
271 } while (semops[j].sem_op == 0); in dosemas()
278 semops[j].sem_op = (-semops[j].sem_op); in dosemas()
/external/ltp/testcases/kernel/containers/sysvipc/
Dsem_comm.c80 sm.sem_op = -1; in chld1_sem()
91 sm.sem_op = 1; in chld1_sem()
124 sm.sem_op = -1; in chld2_sem()
139 sm.sem_op = 1; in chld2_sem()
/external/autotest/client/tests/synctest/src/
Dsynctest.c107 op.sem_op = 1; in main()
111 op.sem_op = 0; in main()
119 op.sem_op = -1; in main()
/external/ltp/testcases/kernel/ipc/semaphore/
Dsem01.c54 semops.sem_op = 1; in semup()
68 semops.sem_op = -1; in semdown()
/external/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop05.c127 s_buf.sem_op = TC[i].op; in main()
238 s_buf.sem_op = TC[i].op; in do_child_uclinux()
Dsemop03.c74 s_buf.sem_op = 1; /* add this value to struct sem.semval */ in main()
Dsemop04.c98 s_buf.sem_op = TC[i].op; in main()
Dsemop01.c144 sops[i].sem_op = i * i; in setup()
Dsemop02.c133 s_buf[0].sem_op = ipc_buf.semvmx; in setup()
/external/kernel-headers/original/uapi/linux/
Dsem.h42 short sem_op; /* semaphore operation */ member
/external/strace/
Dipc_sem.c52 tprintf("{%u, %d, ", sb->sem_num, sb->sem_op); in print_sembuf()
/external/ltp/testcases/kernel/sched/process_stress/
Dprocess.c503 smop.sem_op = opval; in semoper()