Lines Matching refs:sembuf
136 struct sembuf *sops; /* array of pending operations */
137 struct sembuf *blocking; /* the operation that blocked */
389 static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, in sem_lock()
650 struct sembuf *sop; in perform_atomic_semop_slow()
652 struct sembuf *sops; in perform_atomic_semop_slow()
722 struct sembuf *sop; in perform_atomic_semop()
724 struct sembuf *sops; in perform_atomic_semop()
893 static int do_smart_wakeup_zero(struct sem_array *sma, struct sembuf *sops, in do_smart_wakeup_zero()
1005 static void set_semotime(struct sem_array *sma, struct sembuf *sops) in set_semotime()
1029 static void do_smart_update(struct sem_array *sma, struct sembuf *sops, int nsops, in do_smart_update()
1075 struct sembuf *sop = q->blocking; in check_qop()
1983 long __do_semtimedop(int semid, struct sembuf *sops, in __do_semtimedop()
1989 struct sembuf *sop; in __do_semtimedop()
2222 static long do_semtimedop(int semid, struct sembuf __user *tsops, in do_semtimedop()
2225 struct sembuf fast_sops[SEMOPM_FAST]; in do_semtimedop()
2226 struct sembuf *sops = fast_sops; in do_semtimedop()
2256 long ksys_semtimedop(int semid, struct sembuf __user *tsops, in ksys_semtimedop()
2268 SYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsops, in SYSCALL_DEFINE4()
2275 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, in compat_ksys_semtimedop()
2288 SYSCALL_DEFINE4(semtimedop_time32, int, semid, struct sembuf __user *, tsems, in SYSCALL_DEFINE4()
2296 SYSCALL_DEFINE3(semop, int, semid, struct sembuf __user *, tsops, in SYSCALL_DEFINE3()