Home
last modified time | relevance | path

Searched refs:sem_num (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/ipc/
Dsem.c272 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 …]
/Linux-v4.19/include/uapi/linux/
Dsem.h41 unsigned short sem_num; /* semaphore index in array */ member
/Linux-v4.19/arch/arm/kernel/
Dsys_oabi-compat.c307 unsigned short sem_num; member
334 sops[i].sem_num = osb.sem_num; in sys_oabi_semtimedop()
/Linux-v4.19/Documentation/ia64/
Derr_inject.txt416 lock.sem_num = cpu;
427 unlock.sem_num = cpu;