Lines Matching refs:sembuf
136 struct sembuf *sops; /* array of pending operations */
137 struct sembuf *blocking; /* the operation that blocked */
367 static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, in sem_lock()
633 struct sembuf *sop; in perform_atomic_semop_slow()
635 struct sembuf *sops; in perform_atomic_semop_slow()
705 struct sembuf *sop; in perform_atomic_semop()
707 struct sembuf *sops; in perform_atomic_semop()
878 static int do_smart_wakeup_zero(struct sem_array *sma, struct sembuf *sops, in do_smart_wakeup_zero()
990 static void set_semotime(struct sem_array *sma, struct sembuf *sops) in set_semotime()
1014 static void do_smart_update(struct sem_array *sma, struct sembuf *sops, int nsops, in do_smart_update()
1060 struct sembuf *sop = q->blocking; in check_qop()
1943 static long do_semtimedop(int semid, struct sembuf __user *tsops, in do_semtimedop()
1948 struct sembuf fast_sops[SEMOPM_FAST]; in do_semtimedop()
1949 struct sembuf *sops = fast_sops, *sop; in do_semtimedop()
2196 long ksys_semtimedop(int semid, struct sembuf __user *tsops, in ksys_semtimedop()
2208 SYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsops, in SYSCALL_DEFINE4()
2215 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, in compat_ksys_semtimedop()
2228 COMPAT_SYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsems, in COMPAT_SYSCALL_DEFINE4()
2236 SYSCALL_DEFINE3(semop, int, semid, struct sembuf __user *, tsops, in SYSCALL_DEFINE3()