Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Djiffies.h187 #define MAX_JIFFY_OFFSET ((LONG_MAX >> 1)-1) macro
280 (long)((u64)((u64)MAX_JIFFY_OFFSET * TICK_NSEC) / NSEC_PER_SEC)
283 (SH_DIV((MAX_JIFFY_OFFSET >> SEC_JIFFIE_SC) * TICK_NSEC, NSEC_PER_SEC, 1) - 1)
321 if (m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
322 return MAX_JIFFY_OFFSET; in _msecs_to_jiffies()
332 if (HZ > MSEC_PER_SEC && m > jiffies_to_msecs(MAX_JIFFY_OFFSET)) in _msecs_to_jiffies()
333 return MAX_JIFFY_OFFSET; in _msecs_to_jiffies()
367 return MAX_JIFFY_OFFSET; in msecs_to_jiffies()
413 if (u > jiffies_to_usecs(MAX_JIFFY_OFFSET)) in usecs_to_jiffies()
414 return MAX_JIFFY_OFFSET; in usecs_to_jiffies()
A Djbd2.h756 return end + (MAX_JIFFY_OFFSET - start); in jbd2_time_diff()
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/
A 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.3-rc2/net/rxrpc/
A Dcall_event.c263 WRITE_ONCE(call->delay_ack_at, now + MAX_JIFFY_OFFSET); in rxrpc_begin_service_reply()
425 cmpxchg(&call->delay_ack_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
434 cmpxchg(&call->ack_lost_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
441 cmpxchg(&call->keepalive_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
449 cmpxchg(&call->ping_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
457 cmpxchg(&call->resend_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_input_call_event()
A Dsysctl.c19 static const unsigned long max_jiffies = MAX_JIFFY_OFFSET;
A 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()
A Dinput.c293 timo = now + MAX_JIFFY_OFFSET; in rxrpc_receiving_reply()
329 call->expect_req_by = jiffies + MAX_JIFFY_OFFSET; in rxrpc_end_rx_phase()
A Dcall_object.c251 unsigned long j = now + MAX_JIFFY_OFFSET; in rxrpc_start_call_timer()
/linux-6.3-rc2/drivers/base/firmware_loader/
A 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.3-rc2/drivers/gpu/drm/v3d/
A 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.3-rc2/kernel/time/
A Dtime.c558 return MAX_JIFFY_OFFSET; in __msecs_to_jiffies()
565 if (u > jiffies_to_usecs(MAX_JIFFY_OFFSET)) in __usecs_to_jiffies()
566 return MAX_JIFFY_OFFSET; in __usecs_to_jiffies()
/linux-6.3-rc2/net/hsr/
A 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.3-rc2/drivers/net/wireless/broadcom/b43/
A Ddebugfs.c417 expire -= MAX_JIFFY_OFFSET; in calc_expire_secs()
418 now -= MAX_JIFFY_OFFSET; in calc_expire_secs()
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_utils.h223 return min_t(unsigned long, MAX_JIFFY_OFFSET, j + 1); in msecs_to_jiffies_timeout()
/linux-6.3-rc2/Documentation/driver-api/firmware/
A 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.3-rc2/fs/afs/
A Dfs_probe.c387 timer_at = nowj + MAX_JIFFY_OFFSET; in afs_fs_probe_dispatcher()
/linux-6.3-rc2/drivers/char/
A Dlp.c685 to_jiffies = MAX_JIFFY_OFFSET; in lp_set_timeout()
/linux-6.3-rc2/drivers/net/wireless/intel/ipw2x00/
A Dlibipw_wx.c41 return jiffies_to_msecs(end + (MAX_JIFFY_OFFSET - start) + 1); in elapsed_jiffies_msecs()
/linux-6.3-rc2/fs/cifs/
A Dtransport.c486 t = MAX_JIFFY_OFFSET; in wait_for_free_credits()
/linux-6.3-rc2/fs/ext4/
A Dsuper.c3743 next_wakeup = MAX_JIFFY_OFFSET; in ext4_lazyinit_thread()
3795 (MAX_JIFFY_OFFSET == next_wakeup)) { in ext4_lazyinit_thread()
/linux-6.3-rc2/block/
A Dbfq-iosched.c1649 return jiffies - MAX_JIFFY_OFFSET; in bfq_smallest_from_now()

Completed in 76 milliseconds