Lines Matching refs:sem_num
297 curr = &sma->sems[q->sops[0].sem_num]; in unmerge_queues()
411 idx = array_index_nospec(sops->sem_num, sma->sem_nsems); in sem_lock()
428 return sops->sem_num; in sem_lock()
449 return sops->sem_num; in sem_lock()
660 int idx = array_index_nospec(sop->sem_num, sma->sem_nsems); in perform_atomic_semop_slow()
675 int undo = un->semadj[sop->sem_num] - sem_op; in perform_atomic_semop_slow()
679 un->semadj[sop->sem_num] = undo; in perform_atomic_semop_slow()
688 ipc_update_pid(&sma->sems[sop->sem_num].sempid, pid); in perform_atomic_semop_slow()
710 sma->sems[sop->sem_num].semval -= sem_op; in perform_atomic_semop_slow()
712 un->semadj[sop->sem_num] += sem_op; in perform_atomic_semop_slow()
741 int idx = array_index_nospec(sop->sem_num, sma->sem_nsems); in perform_atomic_semop()
758 int undo = un->semadj[sop->sem_num] - sem_op; in perform_atomic_semop()
767 curr = &sma->sems[sop->sem_num]; in perform_atomic_semop()
772 int undo = un->semadj[sop->sem_num] - sem_op; in perform_atomic_semop()
774 un->semadj[sop->sem_num] = undo; in perform_atomic_semop()
904 int num = sops[i].sem_num; in do_smart_wakeup_zero()
1011 sma->sems[sops[0].sem_num].sem_otime = in set_semotime()
1061 sops[i].sem_num, wake_q); in do_smart_update()
1089 if (sop->sem_num != semnum) in check_qop()
2017 unsigned long mask = 1ULL << ((sop->sem_num) % BITS_PER_LONG); in __do_semtimedop()
2019 if (sop->sem_num >= max) in __do_semtimedop()
2020 max = sop->sem_num; in __do_semtimedop()
2132 int idx = array_index_nospec(sops->sem_num, sma->sem_nsems); in __do_semtimedop()