Searched refs:sem_num (Results 1 – 4 of 4) sorted by relevance
356 curr = sma->sem_base + sop->sem_num; in try_atomic_semop()369 int undo = un->semadj[sop->sem_num] - sem_op; in try_atomic_semop()381 sma->sem_base[sop->sem_num].sempid = pid; in try_atomic_semop()383 un->semadj[sop->sem_num] -= sop->sem_op; in try_atomic_semop()402 sma->sem_base[sop->sem_num].semval -= sop->sem_op; in try_atomic_semop()491 curr = sma->sem_base + q->sops[0].sem_num; in check_restart()518 BUG_ON(h->sops[0].sem_num != q->sops[0].sem_num); in check_restart()635 sma->sem_base[sops[i].sem_num].semval == 0)) in do_smart_update()636 if (update_queue(sma, sops[i].sem_num, pt)) in do_smart_update()665 if (sops[i].sem_num == semnum in count_semncnt()[all …]
298 unsigned short sem_num; member321 __get_user_error(sops[i].sem_num, &tsops->sem_num, err); in sys_oabi_semtimedop()
39 unsigned short sem_num; /* semaphore index in array */ member
416 lock.sem_num = cpu;427 unlock.sem_num = cpu;