/linux/kernel/sched/ |
H A D | completion.c | 148 wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_UNINTERRUPTIBLE); in wait_for_completion() 181 wait_for_common_io(x, MAX_SCHEDULE_TIMEOUT, TASK_UNINTERRUPTIBLE); in wait_for_completion_io() 216 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_INTERRUPTIBLE); in wait_for_completion_interruptible() 254 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_KILLABLE); in wait_for_completion_killable() 264 long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, state); in wait_for_completion_state()
|
/linux/rust/kernel/sync/ |
H A D | condvar.rs | 14 task::{MAX_SCHEDULE_TIMEOUT, TASK_INTERRUPTIBLE, TASK_NORMAL, TASK_UNINTERRUPTIBLE}, 147 self.wait_internal(TASK_UNINTERRUPTIBLE, guard, MAX_SCHEDULE_TIMEOUT); in wait() 158 self.wait_internal(TASK_INTERRUPTIBLE, guard, MAX_SCHEDULE_TIMEOUT); in wait_interruptible() 173 let jiffies = jiffies.try_into().unwrap_or(MAX_SCHEDULE_TIMEOUT); in wait_interruptible_timeout()
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_domain.c | 142 MAX_SCHEDULE_TIMEOUT); in i915_gem_object_set_to_wc_domain() 204 MAX_SCHEDULE_TIMEOUT); in i915_gem_object_set_to_gtt_domain() 287 MAX_SCHEDULE_TIMEOUT); in i915_gem_object_set_cache_level() 513 MAX_SCHEDULE_TIMEOUT); in i915_gem_object_set_to_cpu_domain() 587 MAX_SCHEDULE_TIMEOUT); in i915_gem_set_domain_ioctl() 602 MAX_SCHEDULE_TIMEOUT); in i915_gem_set_domain_ioctl() 686 MAX_SCHEDULE_TIMEOUT); in i915_gem_object_prepare_read() 737 MAX_SCHEDULE_TIMEOUT); in i915_gem_object_prepare_write()
|
H A D | i915_gem_phys.c | 150 MAX_SCHEDULE_TIMEOUT); in i915_gem_object_pwrite_phys() 179 MAX_SCHEDULE_TIMEOUT); in i915_gem_object_pread_phys()
|
H A D | i915_gem_throttle.c | 89 MAX_SCHEDULE_TIMEOUT); in i915_gem_throttle_ioctl()
|
H A D | i915_gem_wait.c | 199 return MAX_SCHEDULE_TIMEOUT; in to_wait_timeout()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_wait_user_fence.c | 71 args->timeout = MAX_SCHEDULE_TIMEOUT; in to_jiffies_timeout() 72 return MAX_SCHEDULE_TIMEOUT; in to_jiffies_timeout() 93 if (t > MAX_SCHEDULE_TIMEOUT) in to_jiffies_timeout() 94 timeout = MAX_SCHEDULE_TIMEOUT - 1; in to_jiffies_timeout()
|
/linux/kernel/locking/ |
H A D | semaphore.c | 254 __down_common(sem, TASK_UNINTERRUPTIBLE, MAX_SCHEDULE_TIMEOUT); in __down() 259 return __down_common(sem, TASK_INTERRUPTIBLE, MAX_SCHEDULE_TIMEOUT); in __down_interruptible() 264 return __down_common(sem, TASK_KILLABLE, MAX_SCHEDULE_TIMEOUT); in __down_killable()
|
/linux/drivers/nfc/pn533/ |
H A D | uart.c | 62 MAX_SCHEDULE_TIMEOUT); in pn532_uart_send_frame() 71 MAX_SCHEDULE_TIMEOUT); in pn532_uart_send_frame() 88 MAX_SCHEDULE_TIMEOUT); in pn532_uart_send_ack()
|
/linux/drivers/gpu/drm/xe/compat-i915-headers/ |
H A D | i915_config.h | 16 return MAX_SCHEDULE_TIMEOUT; in i915_fence_timeout()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_mn.c | 70 false, MAX_SCHEDULE_TIMEOUT); in radeon_mn_invalidate()
|
H A D | radeon_fence.c | 569 long r = radeon_fence_wait_timeout(fence, intr, MAX_SCHEDULE_TIMEOUT); in radeon_fence_wait() 612 r = radeon_fence_wait_seq_timeout(rdev, seq, intr, MAX_SCHEDULE_TIMEOUT); in radeon_fence_wait_any() 642 r = radeon_fence_wait_seq_timeout(rdev, seq, false, MAX_SCHEDULE_TIMEOUT); in radeon_fence_wait_next() 668 r = radeon_fence_wait_seq_timeout(rdev, seq, false, MAX_SCHEDULE_TIMEOUT); in radeon_fence_wait_empty()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm_cpu.c | 79 true, MAX_SCHEDULE_TIMEOUT); in amdgpu_vm_cpu_update()
|
H A D | amdgpu_hmm.c | 82 false, MAX_SCHEDULE_TIMEOUT); in amdgpu_hmm_invalidate_gfx()
|
/linux/rust/kernel/ |
H A D | task.rs | 20 pub const MAX_SCHEDULE_TIMEOUT: c_long = c_long::MAX; 16 pub const MAX_SCHEDULE_TIMEOUT: c_long = c_long::MAX; global() constant
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | igt_live_test.c | 32 err = intel_gt_wait_for_idle(gt, MAX_SCHEDULE_TIMEOUT); in igt_live_test_begin()
|
H A D | mock_gem_device.c | 55 } while (intel_gt_retire_requests_timeout(gt, MAX_SCHEDULE_TIMEOUT, in mock_device_flush()
|
/linux/fs/bcachefs/ |
H A D | thread_with_file.c | 373 t = timeout != MAX_SCHEDULE_TIMEOUT in bch2_stdio_redirect_readline_timeout() 388 if (!n && timeout != MAX_SCHEDULE_TIMEOUT && time_after_eq(jiffies, until)) { in bch2_stdio_redirect_readline_timeout() 425 return bch2_stdio_redirect_readline_timeout(stdio, line, MAX_SCHEDULE_TIMEOUT); in bch2_stdio_redirect_readline()
|
H A D | movinggc.c | 374 MAX_SCHEDULE_TIMEOUT); in bch2_copygc_thread() 394 MAX_SCHEDULE_TIMEOUT); in bch2_copygc_thread()
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_main.h | 195 timeout_jiff = MAX_SCHEDULE_TIMEOUT; in wait_for_sc_completion_timeout()
|
/linux/drivers/nfc/s3fwrn5/ |
H A D | uart.c | 40 MAX_SCHEDULE_TIMEOUT); in s3fwrn82_uart_write()
|
/linux/net/core/ |
H A D | stream.c | 156 if (current_timeo != MAX_SCHEDULE_TIMEOUT && in sk_stream_wait_memory()
|
/linux/fs/smb/server/ |
H A D | transport_tcp.c | 62 if (secs && secs < MAX_SCHEDULE_TIMEOUT / HZ - 1) in ksmbd_tcp_rcv_timeout() 65 sock->sk->sk_rcvtimeo = MAX_SCHEDULE_TIMEOUT; in ksmbd_tcp_rcv_timeout()
|
/linux/drivers/gnss/ |
H A D | serial.c | 67 ret = serdev_device_write(serdev, buf, count, MAX_SCHEDULE_TIMEOUT); in gnss_serial_write_raw()
|
/linux/kernel/ |
H A D | hung_task.c | 246 MAX_SCHEDULE_TIMEOUT; in hung_timeout_jiffies()
|