Searched refs:MAX_JIFFY_OFFSET (Results 1 – 21 of 21) sorted by relevance
/linux-6.6.21/include/linux/ |
D | jiffies.h | 331 #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()
|
D | jbd2.h | 736 return end + (MAX_JIFFY_OFFSET - start); in jbd2_time_diff()
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/ |
D | i915_gem_wait.c | 190 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/ |
D | call_event.c | 263 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()
|
D | sysctl.c | 19 static const unsigned long max_jiffies = MAX_JIFFY_OFFSET;
|
D | conn_object.c | 394 earliest = now + MAX_JIFFY_OFFSET; in rxrpc_service_connection_reaper() 438 if (earliest != now + MAX_JIFFY_OFFSET) { in rxrpc_service_connection_reaper()
|
D | input.c | 296 timo = now + MAX_JIFFY_OFFSET; in rxrpc_receiving_reply() 332 call->expect_req_by = jiffies + MAX_JIFFY_OFFSET; in rxrpc_end_rx_phase()
|
D | call_object.c | 256 unsigned long j = now + MAX_JIFFY_OFFSET; in rxrpc_start_call_timer()
|
/linux-6.6.21/drivers/base/firmware_loader/ |
D | fallback.c | 39 __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/ |
D | v3d_drv.h | 344 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/ |
D | time.c | 577 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/ |
D | hsr_framereg.c | 516 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/ |
D | debugfs.c | 417 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/ |
D | i915_utils.h | 223 return min_t(unsigned long, MAX_JIFFY_OFFSET, j + 1); in msecs_to_jiffies_timeout()
|
/linux-6.6.21/Documentation/driver-api/firmware/ |
D | fallback-mechanisms.rst | 195 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/ |
D | fs_probe.c | 387 timer_at = nowj + MAX_JIFFY_OFFSET; in afs_fs_probe_dispatcher()
|
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_wx.c | 41 return jiffies_to_msecs(end + (MAX_JIFFY_OFFSET - start) + 1); in elapsed_jiffies_msecs()
|
/linux-6.6.21/drivers/char/ |
D | lp.c | 687 to_jiffies = MAX_JIFFY_OFFSET; in lp_set_timeout()
|
/linux-6.6.21/fs/smb/client/ |
D | transport.c | 497 t = MAX_JIFFY_OFFSET; in wait_for_free_credits()
|
/linux-6.6.21/fs/ext4/ |
D | super.c | 3812 next_wakeup = MAX_JIFFY_OFFSET; in ext4_lazyinit_thread() 3864 (MAX_JIFFY_OFFSET == next_wakeup)) { in ext4_lazyinit_thread()
|
/linux-6.6.21/block/ |
D | bfq-iosched.c | 1650 return jiffies - MAX_JIFFY_OFFSET; in bfq_smallest_from_now()
|