Searched refs:semval (Results 1 – 2 of 2) sorted by relevance
255 result = curr->semval; in try_atomic_semop()273 curr->semval = result; in try_atomic_semop()303 sma->sem_base[sop->sem_num].semval -= sop->sem_op; in try_atomic_semop()551 sem_io[i] = sma->sem_base[i].semval; in semctl_main()587 sma->sem_base[i].semval = sem_io[i]; in semctl_main()620 err = curr->semval; in semctl_main()641 curr->semval = val; in semctl_main()1064 sem->semval += u->semadj[i]; in sem_exit()1065 if (sem->semval < 0) in sem_exit()1066 sem->semval = 0; /* shouldn't happen */ in sem_exit()
83 int semval; /* current value */ member