Lines Matching refs:timeout
2029 static long do_semtimedop(int semid, struct sembuf __user *tsops, unsigned nsops, const struct timespec64 *timeout)
2062 if (timeout) {
2063 if (timeout->tv_sec < 0 || timeout->tv_nsec < 0 || timeout->tv_nsec >= 1000000000L) {
2067 jiffies_left = timespec64_to_jiffies(timeout);
2230 if (timeout) {
2277 if (timeout && jiffies_left == 0) {
2295 const struct __kernel_timespec __user *timeout)
2297 if (timeout) {
2299 if (get_timespec64(&ts, timeout)) {
2308 const struct __kernel_timespec __user *, timeout)
2310 return ksys_semtimedop(semid, tsops, nsops, timeout);
2315 const struct old_timespec32 __user *timeout)
2317 if (timeout) {
2319 if (get_old_timespec32(&ts, timeout)) {
2328 const struct old_timespec32 __user *, timeout)
2330 return compat_ksys_semtimedop(semid, tsems, nsops, timeout);