Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
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()
Djbd2.h753 return end + (MAX_JIFFY_OFFSET - start); in jbd2_time_diff()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_wait.c188 div_u64(n, NSEC_PER_SEC) >= MAX_JIFFY_OFFSET / HZ) in nsecs_to_jiffies_timeout()
189 return MAX_JIFFY_OFFSET; in nsecs_to_jiffies_timeout()
191 return min_t(u64, MAX_JIFFY_OFFSET, nsecs_to_jiffies64(n) + 1); in nsecs_to_jiffies_timeout()
/kernel/linux/linux-5.10/net/rxrpc/
Dcall_event.c341 cmpxchg(&call->ack_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_process_call()
348 cmpxchg(&call->ack_lost_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_process_call()
355 cmpxchg(&call->keepalive_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_process_call()
364 cmpxchg(&call->ping_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_process_call()
371 cmpxchg(&call->resend_at, t, now + MAX_JIFFY_OFFSET); in rxrpc_process_call()
Dsysctl.c19 static const unsigned long max_jiffies = MAX_JIFFY_OFFSET;
Dconn_object.c394 earliest = now + MAX_JIFFY_OFFSET; in rxrpc_service_connection_reaper()
437 if (earliest != now + MAX_JIFFY_OFFSET) { in rxrpc_service_connection_reaper()
Drecvmsg.c208 call->expect_req_by = jiffies + MAX_JIFFY_OFFSET; in rxrpc_end_rx_phase()
Dcall_object.c224 unsigned long j = now + MAX_JIFFY_OFFSET; in rxrpc_start_call_timer()
Dsendmsg.c235 WRITE_ONCE(call->ack_at, now + MAX_JIFFY_OFFSET); in rxrpc_queue_packet()
Dinput.c314 timo = now + MAX_JIFFY_OFFSET; in rxrpc_receiving_reply()
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/
Dv3d_drv.h296 div_u64(n, NSEC_PER_SEC) >= MAX_JIFFY_OFFSET / HZ) in nsecs_to_jiffies_timeout()
297 return MAX_JIFFY_OFFSET; in nsecs_to_jiffies_timeout()
299 return min_t(u64, MAX_JIFFY_OFFSET, nsecs_to_jiffies64(n) + 1); in nsecs_to_jiffies_timeout()
/kernel/linux/linux-5.10/kernel/time/
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()
/kernel/linux/linux-5.10/drivers/oprofile/
Doprof.c136 if (time_slice == MAX_JIFFY_OFFSET) { in oprofile_set_timeout()
/kernel/linux/linux-5.10/drivers/base/firmware_loader/
Dfallback.c58 __firmware_loading_timeout() * HZ : MAX_JIFFY_OFFSET; in firmware_loading_timeout()
528 timeout = MAX_JIFFY_OFFSET; in fw_load_sysfs_fallback()
/kernel/linux/linux-5.10/net/hsr/
Dhsr_framereg.c480 if (time_after(jiffies, time_a + MAX_JIFFY_OFFSET / 2)) in hsr_prune_nodes()
482 if (time_after(jiffies, time_b + MAX_JIFFY_OFFSET / 2)) in hsr_prune_nodes()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Ddebugfs.c417 expire -= MAX_JIFFY_OFFSET; in calc_expire_secs()
418 now -= MAX_JIFFY_OFFSET; in calc_expire_secs()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_utils.h273 return min_t(unsigned long, MAX_JIFFY_OFFSET, j + 1); in msecs_to_jiffies_timeout()
/kernel/linux/linux-5.10/fs/afs/
Dfs_probe.c381 timer_at = nowj + MAX_JIFFY_OFFSET; in afs_fs_probe_dispatcher()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_wx.c41 return jiffies_to_msecs(end + (MAX_JIFFY_OFFSET - start) + 1); in elapsed_jiffies_msecs()
/kernel/linux/linux-5.10/drivers/char/
Dlp.c686 to_jiffies = MAX_JIFFY_OFFSET; in lp_set_timeout()
/kernel/linux/linux-5.10/fs/cifs/
Dtransport.c528 t = MAX_JIFFY_OFFSET; in wait_for_free_credits()
/kernel/linux/linux-5.10/fs/ext4/
Dsuper.c3523 next_wakeup = MAX_JIFFY_OFFSET; in ext4_lazyinit_thread()
3576 (MAX_JIFFY_OFFSET == next_wakeup)) { in ext4_lazyinit_thread()
/kernel/linux/linux-5.10/block/
Dbfq-iosched.c1513 return jiffies - MAX_JIFFY_OFFSET; in bfq_smallest_from_now()