Lines Matching refs:semops
77 static struct sembuf semops[NSEMS]; variable
181 semops[i].sem_num = i; in dotest()
182 semops[i].sem_op = maxsemvals[i]; in dotest()
183 semops[i].sem_flg = SEM_UNDO; in dotest()
185 if (semop(id, semops, NSEMS) < 0) { in dotest()
264 semops[j].sem_num = j; in dosemas()
265 semops[j].sem_flg = SEM_UNDO; in dosemas()
268 semops[j].sem_op = in dosemas()
271 } while (semops[j].sem_op == 0); in dosemas()
273 if (semop(id, semops, NSEMS) < 0) { in dosemas()
278 semops[j].sem_op = (-semops[j].sem_op); in dosemas()
280 if (semop(id, semops, NSEMS) < 0) { in dosemas()