Searched refs:sem_op (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/include/uapi/linux/
H A Dsem.h40 short sem_op; /* semaphore operation */ member in struct:sembuf
/linux-4.4.14/ipc/
H A Dsem.c615 int result, sem_op, nsops, pid; perform_atomic_semop() local
627 sem_op = sop->sem_op; perform_atomic_semop()
630 if (!sem_op && result) perform_atomic_semop()
633 result += sem_op; perform_atomic_semop()
640 int undo = un->semadj[sop->sem_num] - sem_op; perform_atomic_semop()
674 sem_op = sop->sem_op; perform_atomic_semop()
675 sma->sem_base[sop->sem_num].semval -= sem_op; perform_atomic_semop()
677 un->semadj[sop->sem_num] += sem_op; perform_atomic_semop()
1002 if (sops[i].sem_op > 0) { do_smart_update()
1035 if (count_zero && sop->sem_op == 0) check_qop()
1037 if (!count_zero && sop->sem_op < 0) check_qop()
1840 if (sop->sem_op != 0) SYSCALL_DEFINE4()
/linux-4.4.14/arch/arm/kernel/
H A Dsys_oabi-compat.c303 short sem_op; member in struct:oabi_sembuf
326 __get_user_error(sops[i].sem_op, &tsops->sem_op, err); sys_oabi_semtimedop()

Completed in 114 milliseconds