Lines Matching refs:semadj
155 short *semadj; /* array of adjustments */ member
675 int undo = un->semadj[sop->sem_num] - sem_op; in perform_atomic_semop_slow()
679 un->semadj[sop->sem_num] = undo; in perform_atomic_semop_slow()
712 un->semadj[sop->sem_num] += sem_op; in perform_atomic_semop_slow()
758 int undo = un->semadj[sop->sem_num] - sem_op; in perform_atomic_semop()
772 int undo = un->semadj[sop->sem_num] - sem_op; in perform_atomic_semop()
774 un->semadj[sop->sem_num] = undo; in perform_atomic_semop()
1393 un->semadj[semnum] = 0; in semctl_setval()
1523 un->semadj[i] = 0; in semctl_main()
1972 new->semadj = (short *) &new[1]; in find_alloc_undo()
2420 if (un->semadj[i]) { in exit_sem()
2421 semaphore->semval += un->semadj[i]; in exit_sem()