Home
last modified time | relevance | path

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

/linux-2.6.39/ipc/
Dsem.c356 curr = sma->sem_base + sop->sem_num; in try_atomic_semop()
369 int undo = un->semadj[sop->sem_num] - sem_op; in try_atomic_semop()
381 sma->sem_base[sop->sem_num].sempid = pid; in try_atomic_semop()
383 un->semadj[sop->sem_num] -= sop->sem_op; in try_atomic_semop()
402 sma->sem_base[sop->sem_num].semval -= sop->sem_op; in try_atomic_semop()
491 curr = sma->sem_base + q->sops[0].sem_num; in check_restart()
518 BUG_ON(h->sops[0].sem_num != q->sops[0].sem_num); in check_restart()
635 sma->sem_base[sops[i].sem_num].semval == 0)) in do_smart_update()
636 if (update_queue(sma, sops[i].sem_num, pt)) in do_smart_update()
665 if (sops[i].sem_num == semnum in count_semncnt()
[all …]
/linux-2.6.39/arch/arm/kernel/
Dsys_oabi-compat.c298 unsigned short sem_num; member
321 __get_user_error(sops[i].sem_num, &tsops->sem_num, err); in sys_oabi_semtimedop()
/linux-2.6.39/include/linux/
Dsem.h39 unsigned short sem_num; /* semaphore index in array */ member
/linux-2.6.39/Documentation/ia64/
Derr_inject.txt416 lock.sem_num = cpu;
427 unlock.sem_num = cpu;