Lines Matching refs:sem_op
248 int result, sem_op; in try_atomic_semop() local
254 sem_op = sop->sem_op; in try_atomic_semop()
257 if (!sem_op && result) in try_atomic_semop()
260 result += sem_op; in try_atomic_semop()
266 int undo = un->semadj[sop->sem_num] - sem_op; in try_atomic_semop()
284 un->semadj[sop->sem_num] -= sop->sem_op; in try_atomic_semop()
303 sma->sem_base[sop->sem_num].semval -= sop->sem_op; in try_atomic_semop()
362 && (sops[i].sem_op < 0) in count_semncnt()
380 && (sops[i].sem_op == 0) in count_semzcnt()
892 if (sop->sem_op < 0) in sys_semtimedop()
894 if (sop->sem_op > 0) in sys_semtimedop()