Lines Matching defs:undo
22 * - There is some confusion over whether the set of undo adjustments
34 * - The POSIX standard says, that the undo adjustments simply should
252 /* sma->undo = NULL; */
359 int undo = un->semadj[sop->sem_num] - sem_op;
361 * Exceeding the undo range is an error.
363 if (undo < (-SEMAEM - 1) || undo > SEMAEM)
382 goto undo;
390 undo:
411 q->undo, q->pid);
502 /* Invalidate the existing undo structures for this semaphore set.
506 for (un = sma->undo; un; un = un->id_next)
746 for (un = sma->undo; un; un = un->id_next)
797 for (un = sma->undo; un; un = un->id_next)
993 * here. We guarantee there is only one thread using this undo list,
1058 /* no undo structure around - allocate one. */
1103 new->id_next = sma->undo;
1104 sma->undo = new;
1182 * allocated an undo structure, it was invalidated by an RMID
1215 queue.undo = un;
1308 * add semadj values to semaphores, free undo structures.
1309 * undo structures are not freed when semaphore arrays are destroyed
1334 * is the last task exiting for this undo list.
1355 /* remove u from the sma->undo list */
1356 for (unp = &sma->undo; (un = *unp); unp = &un->id_next) {
1360 printk ("exit_sem undo list error id=%d\n", u->semid);
1373 * - Some unices ignore the undo entirely