/external/strace/tests-m32/ |
D | semop.c | 59 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/ |
D | semop.c | 59 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/ |
D | semop.c | 59 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/ |
D | pipeio.c | 507 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/ |
D | semctl01.c | 98 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()
|
D | semctl06.c | 182 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/ |
D | sem_comm.c | 80 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/ |
D | synctest.c | 107 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/ |
D | sem01.c | 54 semops.sem_op = 1; in semup() 68 semops.sem_op = -1; in semdown()
|
/external/ltp/testcases/kernel/syscalls/ipc/semop/ |
D | semop05.c | 127 s_buf.sem_op = TC[i].op; in main() 238 s_buf.sem_op = TC[i].op; in do_child_uclinux()
|
D | semop03.c | 74 s_buf.sem_op = 1; /* add this value to struct sem.semval */ in main()
|
D | semop04.c | 98 s_buf.sem_op = TC[i].op; in main()
|
D | semop01.c | 144 sops[i].sem_op = i * i; in setup()
|
D | semop02.c | 133 s_buf[0].sem_op = ipc_buf.semvmx; in setup()
|
/external/kernel-headers/original/uapi/linux/ |
D | sem.h | 42 short sem_op; /* semaphore operation */ member
|
/external/strace/ |
D | ipc_sem.c | 52 tprintf("{%u, %d, ", sb->sem_num, sb->sem_op); in print_sembuf()
|
/external/ltp/testcases/kernel/sched/process_stress/ |
D | process.c | 503 smop.sem_op = opval; in semoper()
|