Home
last modified time | relevance | path

Searched refs:sop (Results 1 – 1 of 1) sorted by relevance

/ipc/
Dsem.c629 struct sembuf *sop; in perform_atomic_semop_slow() local
638 for (sop = sops; sop < sops + nsops; sop++) { in perform_atomic_semop_slow()
639 int idx = array_index_nospec(sop->sem_num, sma->sem_nsems); in perform_atomic_semop_slow()
641 sem_op = sop->sem_op; in perform_atomic_semop_slow()
653 if (sop->sem_flg & SEM_UNDO) { in perform_atomic_semop_slow()
654 int undo = un->semadj[sop->sem_num] - sem_op; in perform_atomic_semop_slow()
658 un->semadj[sop->sem_num] = undo; in perform_atomic_semop_slow()
664 sop--; in perform_atomic_semop_slow()
666 while (sop >= sops) { in perform_atomic_semop_slow()
667 ipc_update_pid(&sma->sems[sop->sem_num].sempid, pid); in perform_atomic_semop_slow()
[all …]