Searched refs:semadj (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/ipc/
H A Dsem.c129 short *semadj; /* array of adjustments */ member in struct:sem_undo
640 int undo = un->semadj[sop->sem_num] - sem_op; perform_atomic_semop()
644 un->semadj[sop->sem_num] = undo; perform_atomic_semop()
677 un->semadj[sop->sem_num] += sem_op; perform_atomic_semop()
1325 un->semadj[semnum] = 0; semctl_setval()
1453 un->semadj[i] = 0; semctl_main()
1750 new->semadj = (short *) &new[1]; find_alloc_undo()
2055 * add semadj values to semaphores, free undo structures.
2145 if (un->semadj[i]) { exit_sem()
2146 semaphore->semval += un->semadj[i]; exit_sem()

Completed in 37 milliseconds