Lines Matching refs:sop
255 struct sembuf sop[1]; in alloc_mem() local
256 sop[0].sem_num = 0; in alloc_mem()
257 sop[0].sem_op = 0; in alloc_mem()
258 sop[0].sem_flg = 0; in alloc_mem()
260 if (semop(semid, sop, 1) == -1) { in alloc_mem()
299 struct sembuf sop[1]; in main() local
344 sop[0].sem_num = 0; in main()
345 sop[0].sem_op = 1; in main()
346 sop[0].sem_flg = 0; in main()
347 if (semop(semid, sop, 1) == -1) { in main()
370 sop[0].sem_op = -1; in main()
371 if (semop(semid, sop, 1) == -1) { in main()