Lines Matching refs:sem_op
648 int result, sem_op, nsops; in perform_atomic_semop_slow() local
662 sem_op = sop->sem_op; in perform_atomic_semop_slow()
665 if (!sem_op && result) in perform_atomic_semop_slow()
668 result += sem_op; in perform_atomic_semop_slow()
675 int undo = un->semadj[sop->sem_num] - sem_op; in perform_atomic_semop_slow()
709 sem_op = sop->sem_op; in perform_atomic_semop_slow()
710 sma->sems[sop->sem_num].semval -= sem_op; in perform_atomic_semop_slow()
712 un->semadj[sop->sem_num] += sem_op; in perform_atomic_semop_slow()
721 int result, sem_op, nsops; in perform_atomic_semop() local
744 sem_op = sop->sem_op; in perform_atomic_semop()
747 if (!sem_op && result) in perform_atomic_semop()
750 result += sem_op; in perform_atomic_semop()
758 int undo = un->semadj[sop->sem_num] - sem_op; in perform_atomic_semop()
768 sem_op = sop->sem_op; in perform_atomic_semop()
772 int undo = un->semadj[sop->sem_num] - sem_op; in perform_atomic_semop()
776 curr->semval += sem_op; in perform_atomic_semop()
1059 if (sops[i].sem_op > 0) { in do_smart_update()
1092 if (count_zero && sop->sem_op == 0) in check_qop()
1094 if (!count_zero && sop->sem_op < 0) in check_qop()
2032 if (sop->sem_op != 0) { in __do_semtimedop()