Searched refs:sem_num (Results 1 – 4 of 4) sorted by relevance
272 curr = &sma->sems[q->sops[0].sem_num]; in unmerge_queues()389 idx = array_index_nospec(sops->sem_num, sma->sem_nsems); in sem_lock()406 return sops->sem_num; in sem_lock()427 return sops->sem_num; in sem_lock()643 int idx = array_index_nospec(sop->sem_num, sma->sem_nsems); in perform_atomic_semop_slow()658 int undo = un->semadj[sop->sem_num] - sem_op; in perform_atomic_semop_slow()662 un->semadj[sop->sem_num] = undo; in perform_atomic_semop_slow()671 ipc_update_pid(&sma->sems[sop->sem_num].sempid, pid); in perform_atomic_semop_slow()693 sma->sems[sop->sem_num].semval -= sem_op; in perform_atomic_semop_slow()695 un->semadj[sop->sem_num] += sem_op; in perform_atomic_semop_slow()[all …]
41 unsigned short sem_num; /* semaphore index in array */ member
307 unsigned short sem_num; member334 sops[i].sem_num = osb.sem_num; in sys_oabi_semtimedop()
416 lock.sem_num = cpu;427 unlock.sem_num = cpu;