Lines Matching refs:sop
139 struct sembuf sop[2]; local
152 sop[0].sem_num = SYSVSEM_USAGE;
153 sop[0].sem_op = -1;
154 sop[0].sem_flg = SEM_UNDO;
160 sop[1].sem_num = SYSVSEM_SEM;
161 sop[1].sem_op = sem_ptr->count;
162 sop[1].sem_flg = SEM_UNDO;
167 semop(sem_ptr->semid, sop, opcount);
193 struct sembuf sop[3]; in PHP_FUNCTION() local
224 sop[0].sem_num = SYSVSEM_SETVAL; in PHP_FUNCTION()
225 sop[0].sem_op = 0; in PHP_FUNCTION()
226 sop[0].sem_flg = 0; in PHP_FUNCTION()
230 sop[1].sem_num = SYSVSEM_SETVAL; in PHP_FUNCTION()
231 sop[1].sem_op = 1; in PHP_FUNCTION()
232 sop[1].sem_flg = SEM_UNDO; in PHP_FUNCTION()
236 sop[2].sem_num = SYSVSEM_USAGE; in PHP_FUNCTION()
237 sop[2].sem_op = 1; in PHP_FUNCTION()
238 sop[2].sem_flg = SEM_UNDO; in PHP_FUNCTION()
239 while (semop(semid, sop, 3) == -1) { in PHP_FUNCTION()
277 sop[0].sem_num = SYSVSEM_SETVAL; in PHP_FUNCTION()
278 sop[0].sem_op = -1; in PHP_FUNCTION()
279 sop[0].sem_flg = SEM_UNDO; in PHP_FUNCTION()
280 while (semop(semid, sop, 1) == -1) { in PHP_FUNCTION()
305 struct sembuf sop; in php_sysvsem_semop() local
326 sop.sem_num = SYSVSEM_SEM; in php_sysvsem_semop()
327 sop.sem_op = acquire ? -1 : 1; in php_sysvsem_semop()
328 sop.sem_flg = SEM_UNDO | (nowait ? IPC_NOWAIT : 0); in php_sysvsem_semop()
330 while (semop(sem_ptr->semid, &sop, 1) == -1) { in php_sysvsem_semop()