Searched refs:semop (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dsemop.c50 (void) sprintf(lm_usage, "notes: measures semop()\n");
89 if (semop(ts->ts_semid, s, 1) == -1) {
95 if (semop(ts->ts_semid, s, 1) == -1) {
H A DMakefile.benchmarks90 semop \
H A Dlibmicro.c777 if (semop(b->ba_semid, s, 1) == -1) {
778 perror("semop(1)");
823 if (semop(b->ba_semid, s, 1) == -1) {
824 perror("semop(2)");
831 if (semop(b->ba_semid, s, 1) == -1) {
833 perror("semop(3)");
851 if (semop(b->ba_semid, s, 2) == -1) {
852 perror("semop(4)");
862 if (semop(b->ba_semid, s, 2) == -1) {
863 perror("semop(
[all...]
H A Dbench.sh462 semop $OPTS -N "semop" -I 200
H A Dcoreos_bench.sh488 semop $OPTS -N "semop" -I 200
H A Dembd_bench.sh473 semop $OPTS -N "semop" -I 200
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dsema_tests.c15 * Test semctl, semget, semop system calls.
40 /* verify semop failure for bad nsop values */
41 my_err = semop( my_sem_id, &my_sembuf, 10000);
43 printf( "semop did not fail with E2BIG - instead %d - \"%s\" \n", errno, strerror( errno) );
53 my_err = semop( my_sem_id, &my_sembuf, 1 );
55 printf( "semop failed with error %d - \"%s\" \n", errno, strerror( errno) );
73 my_err = semop( my_sem_id, &my_sembuf, 1 );
75 printf( "semop failed with error %d - \"%s\" \n", errno, strerror( errno) );
/darwin-on-arm/xnu/bsd/sys/
H A Dsem.h151 * Structure of array element for second argument to semop()
213 int semop(int, struct sembuf *, size_t);
/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile156 semop.2 \
/darwin-on-arm/xnu/bsd/kern/
H A Dsysv_sem.c93 SEMOPM, /* max # of operations per semop call */
110 SEMOPM, /* max # of operations per semop call */
126 (sy_call_t *)semop
229 * Entry point for all SEM calls: semctl, semget, semop
244 * functions (semctl, semget, semop). The correct usage is
1043 semop(struct proc *p, struct semop_args *uap, int32_t *retval) function
1060 printf("call to semop(%d, 0x%x, %d)\n", semid, sops, nsops);
1148 printf("semop: semakptr=%x, sem_base=%x, semptr=%x, sem[%d]=%d : op=%d, flag=%s\n",
1157 printf("semop: can't do it now\n");
1171 printf("semop
[all...]

Completed in 31 milliseconds