Home
last modified time | relevance | path

Searched refs:MAX_SCHEDULE_TIMEOUT (Results 1 – 25 of 134) sorted by relevance

123456

/linux/kernel/sched/
H A Dcompletion.c148 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 Dcondvar.rs14 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 Di915_gem_domain.c142 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 Di915_gem_phys.c150 MAX_SCHEDULE_TIMEOUT); in i915_gem_object_pwrite_phys()
179 MAX_SCHEDULE_TIMEOUT); in i915_gem_object_pread_phys()
H A Di915_gem_throttle.c89 MAX_SCHEDULE_TIMEOUT); in i915_gem_throttle_ioctl()
H A Di915_gem_wait.c199 return MAX_SCHEDULE_TIMEOUT; in to_wait_timeout()
/linux/drivers/gpu/drm/xe/
H A Dxe_wait_user_fence.c71 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 Dsemaphore.c254 __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 Duart.c62 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 Di915_config.h16 return MAX_SCHEDULE_TIMEOUT; in i915_fence_timeout()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_mn.c70 false, MAX_SCHEDULE_TIMEOUT); in radeon_mn_invalidate()
H A Dradeon_fence.c569 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 Damdgpu_vm_cpu.c79 true, MAX_SCHEDULE_TIMEOUT); in amdgpu_vm_cpu_update()
H A Damdgpu_hmm.c82 false, MAX_SCHEDULE_TIMEOUT); in amdgpu_hmm_invalidate_gfx()
/linux/rust/kernel/
H A Dtask.rs20 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 Digt_live_test.c32 err = intel_gt_wait_for_idle(gt, MAX_SCHEDULE_TIMEOUT); in igt_live_test_begin()
H A Dmock_gem_device.c55 } while (intel_gt_retire_requests_timeout(gt, MAX_SCHEDULE_TIMEOUT, in mock_device_flush()
/linux/fs/bcachefs/
H A Dthread_with_file.c373 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 Dmovinggc.c374 MAX_SCHEDULE_TIMEOUT); in bch2_copygc_thread()
394 MAX_SCHEDULE_TIMEOUT); in bch2_copygc_thread()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_main.h195 timeout_jiff = MAX_SCHEDULE_TIMEOUT; in wait_for_sc_completion_timeout()
/linux/drivers/nfc/s3fwrn5/
H A Duart.c40 MAX_SCHEDULE_TIMEOUT); in s3fwrn82_uart_write()
/linux/net/core/
H A Dstream.c156 if (current_timeo != MAX_SCHEDULE_TIMEOUT && in sk_stream_wait_memory()
/linux/fs/smb/server/
H A Dtransport_tcp.c62 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 Dserial.c67 ret = serdev_device_write(serdev, buf, count, MAX_SCHEDULE_TIMEOUT); in gnss_serial_write_raw()
/linux/kernel/
H A Dhung_task.c246 MAX_SCHEDULE_TIMEOUT; in hung_timeout_jiffies()

123456