Home | History | Annotate | Download | only in semctl

Lines Matching refs:semop

308 		if (semop(sem_id_1, &sops, 1) == -1)
309 tst_brkm(TBROK, cleanup, "semop #1 failed - cnt_setup");
347 * Do a semop that will cause the child to sleep.
350 * by the semop() call.
352 if (semop(sem_id_1, &sops, 1) != -1)
353 tst_resm(TBROK, "semop succeeded - cnt_setup");
379 * Fork a child to do a semop that will pass.
405 * Do a semop that will increment the semaphore.
407 if (semop(sem_id_1, &sops, 1) == -1)
408 tst_resm(TBROK, "semop failed - pid_setup");
506 * do a semop() - we should get EINVAL
508 if (semop(sem_id_1, &sops, 1) != -1)
509 tst_resm(TFAIL, "semop succeeded on expected fail");