Lines Matching refs:sembuf
136 struct sembuf *sops; /* array of pending operations */
137 struct sembuf *blocking; /* the operation that blocked */
386 static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, int nsops)
653 struct sembuf *sop;
655 struct sembuf *sops;
731 struct sembuf *sop;
733 struct sembuf *sops;
912 static int do_smart_wakeup_zero(struct sem_array *sma, struct sembuf *sops, int nsops, struct wake_q_head *wake_q)
1026 static void set_semotime(struct sem_array *sma, struct sembuf *sops)
1049 static void do_smart_update(struct sem_array *sma, struct sembuf *sops, int nsops, int otime,
1095 struct sembuf *sop = q->blocking;
2029 static long do_semtimedop(int semid, struct sembuf __user *tsops, unsigned nsops, const struct timespec64 *timeout)
2033 struct sembuf fast_sops[SEMOPM_FAST];
2034 struct sembuf *sops = fast_sops, *sop;
2294 long ksys_semtimedop(int semid, struct sembuf __user *tsops, unsigned int nsops,
2307 SYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsops, unsigned int, nsops,
2314 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, unsigned int nsops,
2327 SYSCALL_DEFINE4(semtimedop_time32, int, semid, struct sembuf __user *, tsems, unsigned int, nsops,
2334 SYSCALL_DEFINE3(semop, int, semid, struct sembuf __user *, tsops, unsigned, nsops)