Home
last modified time | relevance | path

Searched refs:MAX_JIFFY_OFFSET (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/include/linux/
Djiffies.h331 #define MAX_JIFFY_OFFSET ((LONG_MAX >> 1)-1) macro
424 (long)((u64)((u64)MAX_JIFFY_OFFSET * TICK_NSEC) / NSEC_PER_SEC)
427 (SH_DIV((MAX_JIFFY_OFFSET >> SEC_JIFFIE_SC) * TICK_NSEC, NSEC_PER_SEC, 1) - 1)
471 if (m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
472 return MAX_JIFFY_OFFSET; in _msecs_to_jiffies()
482 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
483 return MAX_JIFFY_OFFSET; in _msecs_to_jiffies()
519 return MAX_JIFFY_OFFSET; in msecs_to_jiffies()
567 if (u > jiffies_to_usecs(MAX_JIFFY_OFFSET)) in usecs_to_jiffies()
568 return MAX_JIFFY_OFFSET; in usecs_to_jiffies()
Djbd2.h736 return end + (MAX_JIFFY_OFFSET - start); in jbd2_time_diff()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_wait.c190 div_u64(n, NSEC_PER_SEC) >= MAX_JIFFY_OFFSET / HZ) in nsecs_to_jiffies_timeout()
191 return MAX_JIFFY_OFFSET; in nsecs_to_jiffies_timeout()
193 return min_t(u64, MAX_JIFFY_OFFSET, nsecs_to_jiffies64(n) + 1); in nsecs_to_jiffies_timeout()
/linux-6.6.21/net/rxrpc/
Dcall_event.c263 WRITE_ONCE(call->delay_ack_at, now + MAX_JIFFY_OFFSET); in rxrpc_begin_service_reply()
424 cmpxchg(&call->delay_ack_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
432 cmpxchg(&call->ack_lost_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
439 cmpxchg(&call->keepalive_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
447 cmpxchg(&call->ping_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
455 cmpxchg(&call->resend_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
Dsysctl.c19 static const unsigned long max_jiffies = MAX_JIFFY_OFFSET;
Dconn_object.c394 earliest = now + MAX_JIFFY_OFFSET; in rxrpc_service_connection_reaper()
438 if (earliest != now + MAX_JIFFY_OFFSET) { in rxrpc_service_connection_reaper()
Dinput.c296 timo = now + MAX_JIFFY_OFFSET; in rxrpc_receiving_reply()
332 call->expect_req_by = jiffies + MAX_JIFFY_OFFSET; in rxrpc_end_rx_phase()
Dcall_object.c256 unsigned long j = now + MAX_JIFFY_OFFSET; in rxrpc_start_call_timer()
/linux-6.6.21/drivers/base/firmware_loader/
Dfallback.c39 __firmware_loading_timeout() * HZ : MAX_JIFFY_OFFSET; in firmware_loading_timeout()
103 timeout = MAX_JIFFY_OFFSET; in fw_load_sysfs_fallback()
/linux-6.6.21/drivers/gpu/drm/v3d/
Dv3d_drv.h344 div_u64(n, NSEC_PER_SEC) >= MAX_JIFFY_OFFSET / HZ) in nsecs_to_jiffies_timeout()
345 return MAX_JIFFY_OFFSET; in nsecs_to_jiffies_timeout()
347 return min_t(u64, MAX_JIFFY_OFFSET, nsecs_to_jiffies64(n) + 1); in nsecs_to_jiffies_timeout()
/linux-6.6.21/kernel/time/
Dtime.c577 return MAX_JIFFY_OFFSET; in __msecs_to_jiffies()
590 if (u > jiffies_to_usecs(MAX_JIFFY_OFFSET)) in __usecs_to_jiffies()
591 return MAX_JIFFY_OFFSET; in __usecs_to_jiffies()
/linux-6.6.21/net/hsr/
Dhsr_framereg.c516 if (time_after(jiffies, time_a + MAX_JIFFY_OFFSET / 2)) in hsr_prune_nodes()
518 if (time_after(jiffies, time_b + MAX_JIFFY_OFFSET / 2)) in hsr_prune_nodes()
/linux-6.6.21/drivers/net/wireless/broadcom/b43/
Ddebugfs.c417 expire -= MAX_JIFFY_OFFSET; in calc_expire_secs()
418 now -= MAX_JIFFY_OFFSET; in calc_expire_secs()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_utils.h223 return min_t(unsigned long, MAX_JIFFY_OFFSET, j + 1); in msecs_to_jiffies_timeout()
/linux-6.6.21/Documentation/driver-api/firmware/
Dfallback-mechanisms.rst195 desirable, otherwise MAX_JIFFY_OFFSET is used (max timeout possible).
196 The logic behind using MAX_JIFFY_OFFSET for non-uevents is that a custom
204 If you echo 0 into it means MAX_JIFFY_OFFSET will be used. The data type
/linux-6.6.21/fs/afs/
Dfs_probe.c387 timer_at = nowj + MAX_JIFFY_OFFSET; in afs_fs_probe_dispatcher()
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/
Dlibipw_wx.c41 return jiffies_to_msecs(end + (MAX_JIFFY_OFFSET - start) + 1); in elapsed_jiffies_msecs()
/linux-6.6.21/drivers/char/
Dlp.c687 to_jiffies = MAX_JIFFY_OFFSET; in lp_set_timeout()
/linux-6.6.21/fs/smb/client/
Dtransport.c497 t = MAX_JIFFY_OFFSET; in wait_for_free_credits()
/linux-6.6.21/fs/ext4/
Dsuper.c3812 next_wakeup = MAX_JIFFY_OFFSET; in ext4_lazyinit_thread()
3864 (MAX_JIFFY_OFFSET == next_wakeup)) { in ext4_lazyinit_thread()
/linux-6.6.21/block/
Dbfq-iosched.c1650 return jiffies - MAX_JIFFY_OFFSET; in bfq_smallest_from_now()