Lines Matching refs:sop
138 struct sembuf sop[2]; local
151 sop[0].sem_num = SYSVSEM_USAGE;
152 sop[0].sem_op = -1;
153 sop[0].sem_flg = SEM_UNDO;
159 sop[1].sem_num = SYSVSEM_SEM;
160 sop[1].sem_op = sem_ptr->count;
161 sop[1].sem_flg = SEM_UNDO;
166 semop(sem_ptr->semid, sop, opcount);
192 struct sembuf sop[3]; in PHP_FUNCTION() local
223 sop[0].sem_num = SYSVSEM_SETVAL; in PHP_FUNCTION()
224 sop[0].sem_op = 0; in PHP_FUNCTION()
225 sop[0].sem_flg = 0; in PHP_FUNCTION()
229 sop[1].sem_num = SYSVSEM_SETVAL; in PHP_FUNCTION()
230 sop[1].sem_op = 1; in PHP_FUNCTION()
231 sop[1].sem_flg = SEM_UNDO; in PHP_FUNCTION()
235 sop[2].sem_num = SYSVSEM_USAGE; in PHP_FUNCTION()
236 sop[2].sem_op = 1; in PHP_FUNCTION()
237 sop[2].sem_flg = SEM_UNDO; in PHP_FUNCTION()
238 while (semop(semid, sop, 3) == -1) { in PHP_FUNCTION()
276 sop[0].sem_num = SYSVSEM_SETVAL; in PHP_FUNCTION()
277 sop[0].sem_op = -1; in PHP_FUNCTION()
278 sop[0].sem_flg = SEM_UNDO; in PHP_FUNCTION()
279 while (semop(semid, sop, 1) == -1) { in PHP_FUNCTION()
302 struct sembuf sop; in php_sysvsem_semop() local
315 sop.sem_num = SYSVSEM_SEM; in php_sysvsem_semop()
316 sop.sem_op = acquire ? -1 : 1; in php_sysvsem_semop()
317 sop.sem_flg = SEM_UNDO; in php_sysvsem_semop()
319 while (semop(sem_ptr->semid, &sop, 1) == -1) { in php_sysvsem_semop()