Searched refs:sem_num (Results 1 – 4 of 4) sorted by relevance
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()[all …]
41 unsigned short sem_num; /* semaphore index in array */ member
327 unsigned short sem_num; member358 sops[i].sem_num = osb.sem_num; in sys_oabi_semtimedop()
416 lock.sem_num = cpu;427 unlock.sem_num = cpu;