Home
last modified time | relevance | path

Searched refs:sem_op (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/ipc/
Dsem.c248 int result, sem_op; in try_atomic_semop() local
254 sem_op = sop->sem_op; in try_atomic_semop()
257 if (!sem_op && result) in try_atomic_semop()
260 result += sem_op; in try_atomic_semop()
266 int undo = un->semadj[sop->sem_num] - sem_op; in try_atomic_semop()
284 un->semadj[sop->sem_num] -= sop->sem_op; in try_atomic_semop()
303 sma->sem_base[sop->sem_num].semval -= sop->sem_op; in try_atomic_semop()
362 && (sops[i].sem_op < 0) in count_semncnt()
380 && (sops[i].sem_op == 0) in count_semzcnt()
892 if (sop->sem_op < 0) in sys_semtimedop()
[all …]
/linux-2.4.37.9/include/linux/
Dsem.h40 short sem_op; /* semaphore operation */ member