Home
last modified time | relevance | path

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

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