/external/strace/tests/ |
semop.test | 3 # Check semop syscall decoding. 6 run_strace_match_diff -a32 -e trace=semop,semtimedop
|
semop.c | 53 rc = semop(bogus_semid, NULL, bogus_nsops); 54 printf("semop(%d, NULL, %u) = %s\n", 57 rc = semop(bogus_semid, bogus_sops, 1); 58 printf("semop(%d, %p, %u) = %s\n", 69 rc = semop(bogus_semid, sem_b2, 2); 70 printf("semop(%d, [{%hu, %hd, %s%s%#hx}, %p], %u) = %s\n", 77 if (semop(id, sem_b, 1)) 78 perror_msg_and_skip("semop, 1"); 79 printf("semop(%d, [{0, 1, SEM_UNDO}], 1) = 0\n", id); 82 if (semop(id, sem_b, 1) [all...] |
/external/strace/tests-m32/ |
semop.test | 3 # Check semop syscall decoding. 6 run_strace_match_diff -a32 -e trace=semop,semtimedop
|
semop.c | 53 rc = semop(bogus_semid, NULL, bogus_nsops); 54 printf("semop(%d, NULL, %u) = %s\n", 57 rc = semop(bogus_semid, bogus_sops, 1); 58 printf("semop(%d, %p, %u) = %s\n", 69 rc = semop(bogus_semid, sem_b2, 2); 70 printf("semop(%d, [{%hu, %hd, %s%s%#hx}, %p], %u) = %s\n", 77 if (semop(id, sem_b, 1)) 78 perror_msg_and_skip("semop, 1"); 79 printf("semop(%d, [{0, 1, SEM_UNDO}], 1) = 0\n", id); 82 if (semop(id, sem_b, 1) [all...] |
/external/strace/tests-mx32/ |
semop.test | 3 # Check semop syscall decoding. 6 run_strace_match_diff -a32 -e trace=semop,semtimedop
|
semop.c | 53 rc = semop(bogus_semid, NULL, bogus_nsops); 54 printf("semop(%d, NULL, %u) = %s\n", 57 rc = semop(bogus_semid, bogus_sops, 1); 58 printf("semop(%d, %p, %u) = %s\n", 69 rc = semop(bogus_semid, sem_b2, 2); 70 printf("semop(%d, [{%hu, %hd, %s%s%#hx}, %p], %u) = %s\n", 77 if (semop(id, sem_b, 1)) 78 perror_msg_and_skip("semop, 1"); 79 printf("semop(%d, [{0, 1, SEM_UNDO}], 1) = 0\n", id); 82 if (semop(id, sem_b, 1) [all...] |
/bionic/libc/include/sys/ |
sem.h | 48 int semop(int, struct sembuf*, size_t) __INTRODUCED_IN(26);
|
/bionic/tests/ |
sys_sem_test.cpp | 58 ASSERT_EQ(0, semop(id, ops, 1)); 71 ASSERT_EQ(0, semop(id, ops, 1)); 92 ASSERT_EQ(-1, semop(-1, nullptr, 0));
|
/external/ltp/testcases/kernel/containers/sysvipc/ |
sem_comm.c | 83 if (semop(id, &sm, 1) == -1) { 84 perror("semop"); 93 semop(id, &sm, 1); 127 if (semop(id, &sm, 1) == -1) { 131 perror("semop"); 141 semop(id, &sm, 1);
|
semtest_2ns.c | 76 if (semop(id, &semop_lock[0], 2) < 0) { 78 tst_brkm(TBROK, NULL, "semop failed"); 82 if (semop(id, &semop_unlock[0], 1) < 0) { 84 tst_brkm(TBROK, NULL, "semop failed");
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/ |
sem.h | 41 /* Structure used for argument to `semop' to describe operations. */ 59 extern int semop (int __semid, struct sembuf *__sops, size_t __nsops) __THROW;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
sem.h | 41 /* Structure used for argument to `semop' to describe operations. */ 59 extern int semop (int __semid, struct sembuf *__sops, size_t __nsops) __THROW;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
sem.h | 41 /* Structure used for argument to `semop' to describe operations. */ 59 extern int semop (int __semid, struct sembuf *__sops, size_t __nsops) __THROW;
|
/external/linux-kselftest/tools/testing/selftests/powerpc/syscalls/ |
ipc.h | 2 DO_TEST(semop, __NR_semop)
|
/external/valgrind/none/tests/ |
sem.c | 29 if (semop(semid, &sop, 1) < 0) 31 perror("semop"); 73 if (semop(semid, &sop, 1) < 0) 75 perror("semop");
|
/external/ltp/testcases/kernel/ipc/ipc_stress/ |
semaphore_test_03.c | 23 | Description: Verify semop () command options | 29 | o Call semop () with variations of the following | 39 | semop () - Performs semaphore operations | 80 * maximum number of semaphore operations per call by semop () function). 92 * SEMOP_TABLE: macro for printing attempted semop command combinations 227 | Function: Verifies options for semop () system function call. | 307 ("\n\tTesting semop() with all Semaphore values, options and flags\n"); 308 printf("\n\t Semval Semop Semflag Description\n"); 322 if (semop(semid, semoparray, nsems) < 0) 323 sys_error("semop failed", __LINE__) [all...] |
/external/autotest/client/tests/synctest/src/ |
synctest.c | 108 semop(sem_id, &op, 1); 112 semop(sem_id, &op, 1); 120 semop(sem_id, &op, 1);
|
/external/ltp/testcases/kernel/syscalls/ipc/semop/ |
semop03.c | 30 * call semop() using two different invalid cases 93 TEST(semop(sem_id_1, &s_buf, 1));
|
semop04.c | 30 * call semop() with two different invalid cases 113 TEST(semop(sem_id_1, &s_buf, 1));
|
/external/ltp/testcases/kernel/ipc/semaphore/ |
sem01.c | 56 if (semop(semid, &semops, 1) == -1) { 70 if (semop(semid, &semops, 1) == -1) {
|
sem02.c | 24 * One thread performs a semop() with the SEM_UNDO flag set. The change in 25 * sempaphore value performed by that semop should be "undone" only when the 122 place, the semop should complete and we'll print "Waiter done 133 semop(sem_id, &Psembuf, 1); 149 semop(sem_id, &Vsembuf, 1);
|
/external/ltp/testcases/kernel/mem/mtest07/ |
mallocstress.c | 260 if (semop(semid, sop, 1) == -1) { 262 perror("semop"); 347 if (semop(semid, sop, 1) == -1) { 348 perror("semop"); 371 if (semop(semid, sop, 1) == -1) { 372 perror("semop");
|
/bionic/libc/bionic/ |
sys_sem.cpp | 60 int semop(int id, sembuf* ops, size_t op_count) { function
|
/external/ltp/testcases/kernel/syscalls/cma/ |
process_vm.h | 71 ret = semop(id, &sem_op, 1); 74 tst_brkm(TBROK|TERRNO, NULL, "semop(%d, (%d, %d)) failed",
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
semctl01.c | 309 if (semop(sem_id_1, &sops, 1) == -1) 310 tst_brkm(TBROK, cleanup, "semop #1 failed - cnt_setup"); 348 * Do a semop that will cause the child to sleep. 351 * by the semop() call. 353 if (semop(sem_id_1, &sops, 1) != -1) 354 tst_resm(TBROK, "semop succeeded - cnt_setup"); 380 * Fork a child to do a semop that will pass. 406 * Do a semop that will increment the semaphore. 408 if (semop(sem_id_1, &sops, 1) == -1) 409 tst_resm(TBROK, "semop failed - pid_setup") [all...] |