Searched refs:sem_num (Results 1 – 2 of 2) sorted by relevance
253 curr = sma->sem_base + sop->sem_num; in try_atomic_semop()266 int undo = un->semadj[sop->sem_num] - sem_op; in try_atomic_semop()282 sma->sem_base[sop->sem_num].sempid = pid; in try_atomic_semop()284 un->semadj[sop->sem_num] -= sop->sem_op; in try_atomic_semop()303 sma->sem_base[sop->sem_num].semval -= sop->sem_op; in try_atomic_semop()361 if (sops[i].sem_num == semnum in count_semncnt()379 if (sops[i].sem_num == semnum in count_semzcnt()888 if (sop->sem_num >= sma->sem_nsems) in sys_semtimedop()
39 unsigned short sem_num; /* semaphore index in array */ member