Home
last modified time | relevance | path

Searched refs:jiffies (Results 1 – 200 of 2428) sorted by relevance

12345678910>>...13

/linux-4.4.14/drivers/staging/rtl8712/
Drtl8712_led.c259 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
264 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
268 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
272 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink()
318 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
326 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
341 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
350 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
359 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
375 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
[all …]
/linux-4.4.14/init/
Dcalibrate.c72 start_jiffies = jiffies; in calibrate_delay_direct()
73 while (time_before_eq(jiffies, start_jiffies + 1)) { in calibrate_delay_direct()
81 while (time_before_eq(jiffies, start_jiffies + 1 + in calibrate_delay_direct()
195 ticks = jiffies; in calibrate_delay_converge()
196 while (ticks == jiffies) in calibrate_delay_converge()
199 ticks = jiffies; in calibrate_delay_converge()
207 } while (ticks == jiffies); in calibrate_delay_converge()
227 ticks = jiffies; in calibrate_delay_converge()
228 while (ticks == jiffies) in calibrate_delay_converge()
230 ticks = jiffies; in calibrate_delay_converge()
[all …]
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_led.c126 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
134 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
149 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
159 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
169 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
185 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
195 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
206 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
215 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
231 mod_timer(&pLed->BlinkTimer, jiffies + in SwLedBlink1()
[all …]
Drtw_pwrctrl.c223 if (time_after_eq(adapter->pwrctrlpriv.ips_deny_time, jiffies)) in rtw_pwr_unassociated_idle()
356 curr_time = jiffies; in PS_RDY_CHECK()
426 start_time = jiffies; in LPS_RF_ON_check()
566 expires = jiffies + msecs_to_jiffies(ips_deffer_ms); in _rtw_pwr_wakeup()
568 pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ips_deffer_ms); in _rtw_pwr_wakeup()
571 u32 start = jiffies; in _rtw_pwr_wakeup()
622 expires = jiffies + msecs_to_jiffies(ips_deffer_ms); in _rtw_pwr_wakeup()
624 pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ips_deffer_ms); in _rtw_pwr_wakeup()
/linux-4.4.14/drivers/staging/lustre/lustre/include/linux/
Dobd.h72 unsigned long cur = jiffies; in __client_obd_list_lock()
80 lock->time = jiffies; in __client_obd_list_lock()
84 if (time_before(cur + 5 * HZ, jiffies) && in __client_obd_list_lock()
85 time_before(lock->time + 5 * HZ, jiffies)) { in __client_obd_list_lock()
95 (jiffies - lock->time) / HZ); in __client_obd_list_lock()
113 lock->time = jiffies; in client_obd_list_unlock()
/linux-4.4.14/include/linux/
Djiffies.h78 extern unsigned long volatile __jiffy_data jiffies;
85 return (u64)jiffies; in get_jiffies_64()
152 #define time_is_before_jiffies(a) time_after(jiffies, a)
155 #define time_is_after_jiffies(a) time_before(jiffies, a)
158 #define time_is_before_eq_jiffies(a) time_after_eq(jiffies, a)
161 #define time_is_after_eq_jiffies(a) time_before_eq(jiffies, a)
413 extern void jiffies_to_timespec64(const unsigned long jiffies,
422 static inline void jiffies_to_timespec(const unsigned long jiffies, in jiffies_to_timespec() argument
427 jiffies_to_timespec64(jiffies, &ts); in jiffies_to_timespec()
432 extern void jiffies_to_timeval(const unsigned long jiffies,
/linux-4.4.14/kernel/rcu/
Dtiny_plugin.h146 j = jiffies; in check_cpu_stall()
151 jiffies - rcp->gp_start, rcp->qlen); in check_cpu_stall()
154 jiffies + 3 * rcu_jiffies_till_stall_check() + 3); in check_cpu_stall()
157 jiffies + rcu_jiffies_till_stall_check()); in check_cpu_stall()
164 rcp->gp_start = jiffies; in reset_cpu_stall_ticks()
166 jiffies + rcu_jiffies_till_stall_check()); in reset_cpu_stall_ticks()
/linux-4.4.14/net/x25/
Dx25_timer.c45 mod_timer(&sk->sk_timer, jiffies + 5 * HZ); in x25_start_heartbeat()
57 mod_timer(&x25->timer, jiffies + x25->t2); in x25_start_t2timer()
64 mod_timer(&x25->timer, jiffies + x25->t21); in x25_start_t21timer()
71 mod_timer(&x25->timer, jiffies + x25->t22); in x25_start_t22timer()
78 mod_timer(&x25->timer, jiffies + x25->t23); in x25_start_t23timer()
93 return x25->timer.expires - jiffies; in x25_display_timer()
/linux-4.4.14/kernel/sched/
Dloadavg.c171 if (!time_before(jiffies, calc_load_update)) in calc_load_write_idx()
206 if (time_before(jiffies, this_rq->calc_load_update)) in calc_load_exit_idle()
215 if (time_before(jiffies, this_rq->calc_load_update + 10)) in calc_load_exit_idle()
312 if (!time_before(jiffies, calc_load_update + 10)) { in calc_global_nohz()
316 delta = jiffies - calc_load_update - 10; in calc_global_nohz()
356 if (time_before(jiffies, calc_load_update + 10)) in calc_global_load()
389 if (time_before(jiffies, this_rq->calc_load_update)) in calc_global_load_tick()
/linux-4.4.14/drivers/soc/mediatek/
Dmtk-infracfg.c40 expired = jiffies + HZ; in mtk_infracfg_set_bus_protection()
51 if (time_after(jiffies, expired)) in mtk_infracfg_set_bus_protection()
73 expired = jiffies + HZ; in mtk_infracfg_clear_bus_protection()
86 if (time_after(jiffies, expired)) in mtk_infracfg_clear_bus_protection()
Dmtk-scpsys.c241 timeout = jiffies + HZ; in scpsys_power_on()
255 if (time_after(jiffies, timeout)) in scpsys_power_on()
272 timeout = jiffies + HZ; in scpsys_power_on()
283 if (time_after(jiffies, timeout)) in scpsys_power_on()
331 timeout = jiffies + HZ; in scpsys_power_off()
341 if (time_after(jiffies, timeout)) in scpsys_power_off()
361 timeout = jiffies + HZ; in scpsys_power_off()
375 if (time_after(jiffies, timeout)) in scpsys_power_off()
/linux-4.4.14/arch/mips/kernel/
Dbinfmt_elfn32.c99 jiffies_to_compat_timeval(unsigned long jiffies, struct compat_timeval *value) in jiffies_to_compat_timeval() argument
105 u64 nsec = (u64)jiffies * TICK_NSEC; in jiffies_to_compat_timeval()
127 unsigned long jiffies = cputime_to_jiffies(cputime); in cputime_to_compat_timeval() local
129 value->tv_usec = (jiffies % HZ) * (1000000L / HZ); in cputime_to_compat_timeval()
130 value->tv_sec = jiffies / HZ; in cputime_to_compat_timeval()
Dbinfmt_elfo32.c120 jiffies_to_compat_timeval(unsigned long jiffies, struct compat_timeval *value) in jiffies_to_compat_timeval() argument
126 u64 nsec = (u64)jiffies * TICK_NSEC; in jiffies_to_compat_timeval()
146 unsigned long jiffies = cputime_to_jiffies(cputime); in cputime_to_compat_timeval() local
148 value->tv_usec = (jiffies % HZ) * (1000000L / HZ); in cputime_to_compat_timeval()
149 value->tv_sec = jiffies / HZ; in cputime_to_compat_timeval()
Dvmlinux.lds.S27 jiffies = jiffies_64; symbol
29 jiffies = jiffies_64 + 4; symbol
32 jiffies = jiffies_64; symbol
/linux-4.4.14/net/decnet/
Ddn_timer.c41 sk_reset_timer(sk, &sk->sk_timer, jiffies + SLOW_INTERVAL); in dn_start_slow_timer()
57 sk_reset_timer(sk, &sk->sk_timer, jiffies + HZ / 10); in dn_slow_timer()
95 if (time_after_eq(jiffies, scp->stamp + scp->keepalive)) in dn_slow_timer()
99 sk_reset_timer(sk, &sk->sk_timer, jiffies + SLOW_INTERVAL); in dn_slow_timer()
/linux-4.4.14/drivers/watchdog/
Dep93xx_wdt.c62 if (time_before(jiffies, next_heartbeat)) in ep93xx_wdt_timer_ping()
66 mod_timer(&timer, jiffies + WDT_INTERVAL); in ep93xx_wdt_timer_ping()
71 next_heartbeat = jiffies + (timeout * HZ); in ep93xx_wdt_start()
74 mod_timer(&timer, jiffies + WDT_INTERVAL); in ep93xx_wdt_start()
90 next_heartbeat = jiffies + (timeout * HZ); in ep93xx_wdt_keepalive()
Dmachzwd.c225 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_timer_on()
228 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_timer_on()
247 if (time_before(jiffies, next_heartbeat)) { in zf_ping()
248 dprintk("time_before: %ld\n", next_heartbeat - jiffies); in zf_ping()
264 mod_timer(&zf_timer, jiffies + ZF_HW_TIMEO); in zf_ping()
302 next_heartbeat = jiffies + ZF_USER_TIMEO; in zf_write()
303 dprintk("user ping at %ld\n", jiffies); in zf_write()
Dvia_wdt.c93 if (time_before(jiffies, next_heartbeat) || in wdt_timer_tick()
96 mod_timer(&timer, jiffies + WDT_HEARTBEAT); in wdt_timer_tick()
104 next_heartbeat = jiffies + wdd->timeout * HZ; in wdt_ping()
115 mod_timer(&timer, jiffies + WDT_HEARTBEAT); in wdt_start()
219 mod_timer(&timer, jiffies + WDT_HEARTBEAT); in wdt_probe()
Dw83877f_wdt.c116 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping()
124 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping()
160 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup()
163 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup()
183 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
Dsbc60xxwdt.c130 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping()
134 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping()
145 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup()
148 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup()
163 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
Dsc520_wdt.c142 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping()
150 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping()
178 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup()
181 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup()
205 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
Dnuc900_wdt.c102 nuc900_wdt->next_heartbeat = jiffies + heartbeat * HZ; in nuc900_wdt_start()
103 mod_timer(&nuc900_wdt->timer, jiffies + WDT_TIMEOUT); in nuc900_wdt_start()
123 nuc900_wdt->next_heartbeat = jiffies + heartbeat * HZ; in nuc900_wdt_ping()
221 if (time_before(jiffies, nuc900_wdt->next_heartbeat)) { in nuc900_wdt_timer_ping()
223 mod_timer(&nuc900_wdt->timer, jiffies + WDT_TIMEOUT); in nuc900_wdt_timer_ping()
Dpika_wdt.c90 if (time_before(jiffies, pikawdt_private.next_heartbeat) || in pikawdt_ping()
93 mod_timer(&pikawdt_private.timer, jiffies + WDT_TIMEOUT); in pikawdt_ping()
101 pikawdt_private.next_heartbeat = jiffies + heartbeat * HZ; in pikawdt_keepalive()
107 mod_timer(&pikawdt_private.timer, jiffies + WDT_TIMEOUT); in pikawdt_start()
Dalim7101_wdt.c97 if (time_before(jiffies, next_heartbeat)) { in wdt_timer_ping()
116 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_timer_ping()
152 next_heartbeat = jiffies + (timeout * HZ); in wdt_startup()
160 mod_timer(&timer, jiffies + WDT_INTERVAL); in wdt_startup()
176 next_heartbeat = jiffies + (timeout * HZ); in wdt_keepalive()
Ddw_wdt.c96 dw_wdt.next_heartbeat = jiffies + dw_wdt_get_top() * HZ; in dw_wdt_set_next_heartbeat()
162 if (time_before(jiffies, dw_wdt.next_heartbeat) || in dw_wdt_ping()
165 mod_timer(&dw_wdt.timer, jiffies + WDT_TIMEOUT); in dw_wdt_ping()
219 mod_timer(&dw_wdt.timer, jiffies + WDT_TIMEOUT); in dw_wdt_write()
359 mod_timer(&dw_wdt.timer, jiffies + WDT_TIMEOUT); in dw_wdt_drv_probe()
Dgpio_wdt.c58 if (priv->armed && time_after(jiffies, priv->last_jiffies + in gpio_wdt_hwping()
65 mod_timer(&priv->timer, jiffies + priv->hw_margin); in gpio_wdt_hwping()
86 priv->last_jiffies = jiffies; in gpio_wdt_start_impl()
117 priv->last_jiffies = jiffies; in gpio_wdt_ping()
Dat91sam9_wdt.c126 if (time_before(jiffies, wdt->next_heartbeat) || in at91_ping()
129 mod_timer(&wdt->timer, jiffies + wdt->heartbeat); in at91_ping()
139 wdt->next_heartbeat = jiffies + wdd->timeout * HZ; in at91_wdt_start()
234 mod_timer(&wdt->timer, jiffies + min_heartbeat); in at91_wdt_init()
244 wdt->next_heartbeat = jiffies + wdt->wdd.timeout * HZ; in at91_wdt_init()
Dshwdt.c69 #define next_ping_period(cks) (jiffies + msecs_to_jiffies(cks - 4))
96 next_heartbeat = jiffies + (heartbeat * HZ); in sh_wdt_start()
156 next_heartbeat = jiffies + (heartbeat * HZ); in sh_wdt_keepalive()
184 if (time_before(jiffies, next_heartbeat)) { in sh_wdt_ping()
Dmpc8xxx_wdt.c90 mod_timer(&ddata->timer, jiffies + HZ * ddata->wdd.timeout / 2); in mpc8xxx_wdt_timer_ping()
127 mod_timer(&ddata->timer, jiffies); in mpc8xxx_wdt_stop()
205 mod_timer(&ddata->timer, jiffies); in mpc8xxx_wdt_probe()
/linux-4.4.14/drivers/i2c/busses/
Di2c-designware-baytrail.c88 start = jiffies; in baytrail_i2c_acquire()
93 acquired = jiffies; in baytrail_i2c_acquire()
95 jiffies_to_msecs(jiffies - start)); in baytrail_i2c_acquire()
100 } while (time_before(jiffies, end)); in baytrail_i2c_acquire()
127 jiffies_to_msecs(jiffies - acquired)); in baytrail_i2c_release()
Di2c-xlr.c87 stoptime = jiffies + timeout; in xlr_i2c_tx()
101 checktime = jiffies; in xlr_i2c_tx()
111 stoptime = jiffies + timeout; in xlr_i2c_tx()
144 stoptime = jiffies + timeout; in xlr_i2c_rx()
151 checktime = jiffies; in xlr_i2c_rx()
164 stoptime = jiffies + timeout; in xlr_i2c_rx()
Di2c-highlander.c132 timeout = jiffies + msecs_to_jiffies(iic_timeout); in highlander_i2c_wait_for_bbsy()
134 if (time_after(jiffies, timeout)) { in highlander_i2c_wait_for_bbsy()
178 timeout = jiffies + msecs_to_jiffies(iic_timeout); in highlander_i2c_poll()
190 if (time_after(jiffies, timeout)) in highlander_i2c_poll()
239 if (iic_read_delay && time_before(jiffies, dev->last_read_time + in highlander_i2c_read()
242 msecs_to_jiffies(iic_read_delay)) - jiffies)); in highlander_i2c_read()
252 dev->last_read_time = jiffies; in highlander_i2c_read()
400 dev->last_read_time = jiffies; /* initial read jiffies */ in highlander_i2c_probe()
/linux-4.4.14/net/ax25/
Dax25_timer.c54 mod_timer(&ax25->timer, jiffies + 5 * HZ); in ax25_start_heartbeat()
59 mod_timer(&ax25->t1timer, jiffies + ax25->t1); in ax25_start_t1timer()
64 mod_timer(&ax25->t2timer, jiffies + ax25->t2); in ax25_start_t2timer()
70 mod_timer(&ax25->t3timer, jiffies + ax25->t3); in ax25_start_t3timer()
78 mod_timer(&ax25->idletimer, jiffies + ax25->idle); in ax25_start_idletimer()
118 return timer->expires - jiffies; in ax25_display_timer()
/linux-4.4.14/sound/drivers/
Dpcm-indirect2.c262 rec->lastdifftime = jiffies; in snd_pcm_indirect2_playback_transfer()
278 rec->firstzerotime = jiffies; in snd_pcm_indirect2_playback_transfer()
289 if ((jiffies - rec->firstzerotime) < 3750) { in snd_pcm_indirect2_playback_transfer()
290 rec->zero_times[(jiffies - rec->firstzerotime)]++; in snd_pcm_indirect2_playback_transfer()
327 rec->firstbytetime = jiffies; in snd_pcm_indirect2_playback_transfer()
328 rec->lastbytetime = jiffies; in snd_pcm_indirect2_playback_transfer()
424 rec->lastdifftime = jiffies; in snd_pcm_indirect2_capture_transfer()
439 rec->firstzerotime = jiffies; in snd_pcm_indirect2_capture_transfer()
450 if ((jiffies - rec->firstzerotime) < 3750) { in snd_pcm_indirect2_capture_transfer()
451 rec->zero_times[(jiffies - rec->firstzerotime)]++; in snd_pcm_indirect2_capture_transfer()
[all …]
/linux-4.4.14/drivers/gpu/drm/gma500/
Dblitter.c25 unsigned long stop = jiffies + HZ; in gma_blt_wait_idle()
39 } while (busy && !time_after_eq(jiffies, stop)); in gma_blt_wait_idle()
47 } while (busy && !time_after_eq(jiffies, stop)); in gma_blt_wait_idle()
Daccel_2d.c87 unsigned long t = jiffies + HZ; in psb_2d_wait_available()
91 if (time_after(jiffies, t)) { in psb_2d_wait_available()
329 unsigned long _end = jiffies + HZ; in psbfb_sync()
345 } while (busy && !time_after_eq(jiffies, _end)); in psbfb_sync()
356 } while (busy && !time_after_eq(jiffies, _end)); in psbfb_sync()
Dpsb_lid.c66 lid_timer->expires = jiffies + PSB_LID_DELAY; in psb_lid_timer_func()
84 lid_timer->expires = jiffies + PSB_LID_DELAY; in psb_lid_timer_init()
/linux-4.4.14/lib/raid6/
Dalgos.c147 j0 = jiffies; in raid6_choose_gen()
148 while ((j1 = jiffies) == j0) in raid6_choose_gen()
150 while (time_before(jiffies, in raid6_choose_gen()
170 j0 = jiffies; in raid6_choose_gen()
171 while ((j1 = jiffies) == j0) in raid6_choose_gen()
173 while (time_before(jiffies, in raid6_choose_gen()
/linux-4.4.14/drivers/staging/rtl8723au/hal/
Drtl8723a_sreset.c37 current_time = jiffies; in rtl8723a_sreset_xmit_status_check()
41 diff_time = jiffies_to_msecs(jiffies - psrtpriv->last_tx_time); in rtl8723a_sreset_xmit_status_check()
47 diff_time = jiffies_to_msecs(jiffies - psrtpriv->last_tx_complete_time); in rtl8723a_sreset_xmit_status_check()
/linux-4.4.14/tools/lib/traceevent/
Dplugin_jbd2.c44 unsigned long long jiffies = args[0]; in process_jiffies_to_msecs() local
46 trace_seq_printf(s, "%lld", jiffies); in process_jiffies_to_msecs()
47 return jiffies; in process_jiffies_to_msecs()
/linux-4.4.14/net/rose/
Drose_timer.c41 sk->sk_timer.expires = jiffies + 5 * HZ; in rose_start_heartbeat()
54 rose->timer.expires = jiffies + rose->t1; in rose_start_t1timer()
67 rose->timer.expires = jiffies + rose->t2; in rose_start_t2timer()
80 rose->timer.expires = jiffies + rose->t3; in rose_start_t3timer()
93 rose->timer.expires = jiffies + rose->hb; in rose_start_hbtimer()
107 rose->idletimer.expires = jiffies + rose->idle; in rose_start_idletimer()
/linux-4.4.14/net/core/
Dlink_watch.c117 unsigned long delay = linkwatch_nextevent - jiffies; in linkwatch_schedule_work()
182 linkwatch_nextevent = jiffies + HZ; in __linkwatch_run_queue()
184 else if (time_after(linkwatch_nextevent, jiffies + HZ)) in __linkwatch_run_queue()
185 linkwatch_nextevent = jiffies; in __linkwatch_run_queue()
237 __linkwatch_run_queue(time_after(linkwatch_nextevent, jiffies)); in linkwatch_event()
Ddrop_monitor.c98 mod_timer(&data->send_timer, jiffies + HZ / 10); in reset_per_cpu_data()
177 data->send_timer.expires = jiffies + dm_delay * HZ; in trace_drop_common()
209 (time_after(jiffies, new_stat->last_rx + dm_hw_check_delta)) && in trace_napi_poll_hit()
213 new_stat->last_rx = jiffies; in trace_napi_poll_hit()
314 new_stat->last_rx = jiffies; in dropmon_net_event()
/linux-4.4.14/drivers/mtd/chips/
Dcfi_cmdset_0020.c264 timeo = jiffies + HZ; in do_read_onechip()
291 if (time_after(jiffies, timeo)) { in do_read_onechip()
336 if (time_after(jiffies, timeo)) { in do_read_onechip()
356 timeo = jiffies + HZ; in do_read_onechip()
439 timeo = jiffies + HZ; in do_write_buffer()
469 if (time_after(jiffies, timeo)) { in do_write_buffer()
489 timeo = jiffies + HZ; in do_write_buffer()
536 timeo = jiffies + (HZ/2); in do_write_buffer()
546 timeo = jiffies + (HZ / 2); /* FIXME */ in do_write_buffer()
556 if (time_after(jiffies, timeo)) { in do_write_buffer()
[all …]
/linux-4.4.14/arch/arm/mach-tegra/
Dplatsmp.c97 timeout = jiffies + msecs_to_jiffies(50); in tegra30_boot_secondary()
102 } while (time_before(jiffies, timeout)); in tegra30_boot_secondary()
117 timeout = jiffies + msecs_to_jiffies(100); in tegra30_boot_secondary()
119 if (time_after(jiffies, timeout)) in tegra30_boot_secondary()
/linux-4.4.14/drivers/cdrom/
Dgdrom.c155 unsigned long timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_clrbusy()
157 (time_before(jiffies, timeout))) in gdrom_wait_clrbusy()
159 return time_before(jiffies, timeout + 1); in gdrom_wait_clrbusy()
166 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_busy_sleeps()
167 while (!gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_wait_busy_sleeps()
213 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_spicommand()
215 while (!gdrom_data_request() && time_before(jiffies, timeout)) in gdrom_spicommand()
217 if (!time_before(jiffies, timeout + 1)) { in gdrom_spicommand()
624 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma()
625 while (gdrom_is_busy() && time_before(jiffies, timeout)) in gdrom_readdisk_dma()
[all …]
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_pwrctrl.c122 if (time_after_eq(adapter->pwrctrlpriv.ips_deny_time, jiffies)) in rtw_pwr_unassociated_idle()
254 delta_time = jiffies - pwrpriv->DelayLPSLastTimeStamp; in PS_RDY_CHECK()
337 start_time = jiffies; in LPS_RF_ON_check23a()
351 if (time_after(jiffies, end_time)) { in LPS_RF_ON_check23a()
472 pwrpriv->ips_deny_time = jiffies + msecs_to_jiffies(ms); in rtw_set_ips_deny23a()
487 unsigned long start = jiffies; in _rtw_pwr_wakeup23a()
490 new_deny_time = jiffies + msecs_to_jiffies(ips_deffer_ms); in _rtw_pwr_wakeup23a()
498 jiffies_to_msecs(jiffies - start) <= 3000) in _rtw_pwr_wakeup23a()
509 jiffies_to_msecs(jiffies - start) <= 4000) in _rtw_pwr_wakeup23a()
521 (jiffies_to_msecs(jiffies - start) <= 3000)) { in _rtw_pwr_wakeup23a()
[all …]
Drtw_sreset.c183 jiffies + msecs_to_jiffies(2000)); in sreset_start_adapter()
195 unsigned long start = jiffies; in rtw_sreset_reset()
213 jiffies_to_msecs(jiffies - start)); in rtw_sreset_reset()
/linux-4.4.14/sound/soc/tegra/
Dtegra20_ac97.c58 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_reset()
65 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_reset()
87 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_warm_reset()
94 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_warm_reset()
108 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_read()
115 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_read()
134 timeout = jiffies + msecs_to_jiffies(100); in tegra20_ac97_codec_write()
141 } while (!time_after(jiffies, timeout)); in tegra20_ac97_codec_write()
/linux-4.4.14/drivers/media/dvb-frontends/
Dstv0297.c548 timeout = jiffies + msecs_to_jiffies(2000); in stv0297_set_frontend()
549 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
554 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
560 timeout = jiffies + msecs_to_jiffies(500); in stv0297_set_frontend()
561 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
568 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
573 timeout = jiffies + msecs_to_jiffies(delay); in stv0297_set_frontend()
574 while (time_before(jiffies, timeout)) { in stv0297_set_frontend()
581 if (time_after(jiffies, timeout)) { in stv0297_set_frontend()
590 timeout = jiffies + msecs_to_jiffies(20); in stv0297_set_frontend()
[all …]
Ds5h1420.c203 timeout = jiffies + ((100*HZ) / 1000); in s5h1420_send_master_cmd()
204 while(time_before(jiffies, timeout)) { in s5h1420_send_master_cmd()
210 if (time_after(jiffies, timeout)) in s5h1420_send_master_cmd()
236 timeout = jiffies + ((reply->timeout*HZ) / 1000); in s5h1420_recv_slave_reply()
237 while(time_before(jiffies, timeout)) { in s5h1420_recv_slave_reply()
243 if (time_after(jiffies, timeout)) { in s5h1420_recv_slave_reply()
297 timeout = jiffies + ((100*HZ) / 1000); in s5h1420_send_burst()
298 while(time_before(jiffies, timeout)) { in s5h1420_send_burst()
304 if (time_after(jiffies, timeout)) in s5h1420_send_burst()
/linux-4.4.14/lib/
Ddynamic_queue_limits.c54 dql->slack_start_time = jiffies; in dql_completed()
91 if (time_after(jiffies, in dql_completed()
94 dql->slack_start_time = jiffies; in dql_completed()
126 dql->slack_start_time = jiffies; in dql_reset()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dreset.c102 end = jiffies + MLX4_SEM_TIMEOUT_JIFFIES; in mlx4_reset()
109 } while (time_before(jiffies, end)); in mlx4_reset()
125 end = jiffies + MLX4_RESET_TIMEOUT_JIFFIES; in mlx4_reset()
132 } while (time_before(jiffies, end)); in mlx4_reset()
Dcatas.c137 end = msecs_to_jiffies(MLX4_COMM_TIME) + jiffies; in mlx4_reset_slave()
138 while (time_before(jiffies, end)) { in mlx4_reset_slave()
250 round_jiffies(jiffies + MLX4_CATAS_POLL_INTERVAL)); in poll_catas()
292 round_jiffies(jiffies + MLX4_CATAS_POLL_INTERVAL); in mlx4_start_catas_poll()
/linux-4.4.14/drivers/net/wan/lmc/
Dlmc_debug.c58 lmcEventLogBuf[lmcEventLogIndex++] = jiffies; in lmcEventLog()
66 unsigned long j = jiffies + 3; /* Wait for 50 ms */ in lmc_trace()
75 while(time_before(jiffies, j)) in lmc_trace()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dps.c78 start = jiffies; in wl1251_ps_elp_wakeup()
79 timeout = jiffies + msecs_to_jiffies(WL1251_WAKEUP_TIMEOUT); in wl1251_ps_elp_wakeup()
90 if (time_after(jiffies, timeout)) { in wl1251_ps_elp_wakeup()
99 jiffies_to_msecs(jiffies - start)); in wl1251_ps_elp_wakeup()
/linux-4.4.14/arch/mips/sgi-ip22/
Dip22-reset.c96 mod_timer(&blink_timer, jiffies + data); in blink_timeout()
104 debounce_timer.expires = jiffies + (HZ / 20); /* 0.05s */ in debounce()
137 power_timer.expires = jiffies + POWERDOWN_TIMEOUT * HZ; in power_button()
153 debounce_timer.expires = jiffies + 5; in panel_int()
/linux-4.4.14/drivers/usb/host/
Duhci-hub.c146 if (time_after_eq(jiffies, uhci->ports_timeout)) { in uhci_check_ports()
168 uhci->ports_timeout = jiffies + in uhci_check_ports()
177 } else if (time_after_eq(jiffies, in uhci_check_ports()
219 uhci->auto_stop_time = jiffies + HZ; in uhci_hub_status_data()
227 else if (time_after_eq(jiffies, uhci->auto_stop_time) && in uhci_hub_status_data()
341 uhci->ports_timeout = jiffies + in uhci_hub_control()
384 uhci->ports_timeout = jiffies + in uhci_hub_control()
Dohci-spear.c131 if (time_before(jiffies, ohci->next_statechange)) in spear_ohci_hcd_drv_suspend()
133 ohci->next_statechange = jiffies; in spear_ohci_hcd_drv_suspend()
150 if (time_before(jiffies, ohci->next_statechange)) in spear_ohci_hcd_drv_resume()
152 ohci->next_statechange = jiffies; in spear_ohci_hcd_drv_resume()
Dohci-sm501.c225 if (time_before(jiffies, ohci->next_statechange)) in ohci_sm501_suspend()
227 ohci->next_statechange = jiffies; in ohci_sm501_suspend()
243 if (time_before(jiffies, ohci->next_statechange)) in ohci_sm501_resume()
245 ohci->next_statechange = jiffies; in ohci_sm501_resume()
Dohci-da8xx.c392 if (time_before(jiffies, ohci->next_statechange)) in ohci_da8xx_suspend()
394 ohci->next_statechange = jiffies; in ohci_da8xx_suspend()
411 if (time_before(jiffies, ohci->next_statechange)) in ohci_da8xx_resume()
413 ohci->next_statechange = jiffies; in ohci_da8xx_resume()
/linux-4.4.14/drivers/char/
Dnwflash.c372 timeout = jiffies + 10 * HZ; in erase_block()
374 while (!(c1 & 0x80) && time_before(jiffies, timeout)) { in erase_block()
448 timeout = jiffies + 30 * HZ; in write_block()
492 timeout1 = jiffies + 1 * HZ; in write_block()
497 while (!(c1 & 0x80) && time_before(jiffies, timeout1)) in write_block()
503 if (time_after_eq(jiffies, timeout1)) { in write_block()
535 if (time_before(jiffies, timeout)) { in write_block()
Dhangcheck-timer.c161 mod_timer(&hangcheck_ticktock, jiffies + (hangcheck_tick*HZ)); in hangcheck_fire()
175 mod_timer(&hangcheck_ticktock, jiffies + (hangcheck_tick*HZ)); in hangcheck_init()
/linux-4.4.14/net/bridge/
Dbr_stp.c132 mod_timer(&p->forward_delay_timer, jiffies + br->forward_delay); in br_root_port_block()
174 mod_timer(&br->hello_timer, jiffies + br->hello_time); in br_become_root_bridge()
202 bpdu.message_age = (jiffies - root->designated_age) in br_transmit_config()
215 round_jiffies(jiffies + BR_HOLD_TIME)); in br_transmit_config()
227 p->designated_age = jiffies - bpdu->message_age; in br_record_config_information()
229 mod_timer(&p->message_age_timer, jiffies in br_record_config_information()
351 mod_timer(&br->topology_change_timer, jiffies in br_topology_change_detection()
355 mod_timer(&br->tcn_timer, jiffies + br->bridge_hello_time); in br_topology_change_detection()
437 mod_timer(&p->forward_delay_timer, jiffies + br->forward_delay); in br_make_forwarding()
511 jiffies + br->bridge_hello_time); in br_received_config_bpdu()
[all …]
Dbr_stp_timer.c45 round_jiffies(jiffies + br->hello_time)); in br_hello_timer_expired()
94 jiffies + br->forward_delay); in br_forward_delay_timer_expired()
117 mod_timer(&br->tcn_timer, jiffies + br->bridge_hello_time); in br_tcn_timer_expired()
177 ? jiffies_delta_to_clock_t(timer->expires - jiffies) : 0; in br_timer_value()
/linux-4.4.14/net/dccp/
Dtimer.c138 jiffies + (HZ / 20)); in dccp_write_timer()
145 if (time_after(icsk->icsk_timeout, jiffies)) { in dccp_write_timer()
184 jiffies + TCP_DELACK_MIN); in dccp_delack_timer()
191 if (time_after(icsk->icsk_ack.timeout, jiffies)) { in dccp_delack_timer()
229 sk_reset_timer(sk, &dccp_sk(sk)->dccps_xmit_timer, jiffies + 1); in dccp_write_xmitlet()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-mailbox.c162 unsigned long then = jiffies; in get_mailbox()
180 if (time_after(jiffies, in get_mailbox()
248 time_before(jiffies, in ivtv_api_call()
252 itv->api_cache[cmd].last_jiffies = jiffies; in ivtv_api_call()
287 itv->api_cache[cmd].last_jiffies = jiffies; in ivtv_api_call()
295 then = jiffies; in ivtv_api_call()
305 if (time_after(jiffies, then + api_timeout)) { in ivtv_api_call()
317 if (time_after(jiffies, then + msecs_to_jiffies(100))) in ivtv_api_call()
320 jiffies_to_msecs(jiffies - then)); in ivtv_api_call()
/linux-4.4.14/drivers/input/serio/
Dparkbd.c111 if (parkbd_counter && ((parkbd_counter == 11) || time_after(jiffies, parkbd_last + HZ/100))) { in parkbd_interrupt()
130 if ((parkbd_counter == parkbd_mode + 10) || time_after(jiffies, parkbd_last + HZ/100)) { in parkbd_interrupt()
141 parkbd_last = jiffies; in parkbd_interrupt()
163 parkbd_start = jiffies; in parkbd_getport()
Di8042.h69 #define dbg_init() do { i8042_start_time = jiffies; } while (0)
74 (int) (jiffies - i8042_start_time), ##arg); \
/linux-4.4.14/fs/lockd/
Dhost.c113 unsigned long now = jiffies; in nlm_alloc_host()
349 if (time_after_eq(jiffies, ln->next_gc)) in nlmsvc_lookup_host()
433 if (time_after_eq(jiffies, host->h_nextrebind)) { in nlm_bind_host()
435 host->h_nextrebind = jiffies + NLM_HOST_REBIND; in nlm_bind_host()
437 host->h_nextrebind - jiffies); in nlm_bind_host()
493 if (host->h_rpcclnt && time_after_eq(jiffies, host->h_nextrebind)) { in nlm_rebind_host()
495 host->h_nextrebind = jiffies + NLM_HOST_REBIND; in nlm_rebind_host()
507 host->h_expires = jiffies + NLM_HOST_EXPIRE; in nlm_get_host()
611 host->h_expires = jiffies - 1; in nlm_shutdown_hosts_net()
662 || time_before(jiffies, host->h_expires)) { in nlm_gc_hosts()
[all …]
/linux-4.4.14/drivers/clk/mxs/
Dclk.c22 unsigned long timeout = jiffies + msecs_to_jiffies(10); in mxs_clk_wait()
25 if (time_after(jiffies, timeout)) in mxs_clk_wait()
/linux-4.4.14/block/
Dblk-throttle.c510 expires - jiffies, jiffies); in throtl_schedule_pending_timer()
541 if (force || time_after(sq->first_pending_disptime, jiffies)) { in throtl_schedule_next_dispatch()
565 tg->slice_end[rw] = jiffies + throtl_slice; in throtl_start_new_slice_with_credit()
569 tg->slice_end[rw], jiffies); in throtl_start_new_slice_with_credit()
576 tg->slice_start[rw] = jiffies; in throtl_start_new_slice()
577 tg->slice_end[rw] = jiffies + throtl_slice; in throtl_start_new_slice()
581 tg->slice_end[rw], jiffies); in throtl_start_new_slice()
597 tg->slice_end[rw], jiffies); in throtl_extend_slice()
603 if (time_in_range(jiffies, tg->slice_start[rw], tg->slice_end[rw])) in throtl_slice_used()
633 throtl_set_slice_end(tg, rw, jiffies + throtl_slice); in throtl_trim_slice()
[all …]
Dblk-timeout.c116 if (time_after_eq(jiffies, rq->deadline)) { in blk_rq_check_expired()
175 maxt = round_jiffies_up(jiffies + BLK_MAX_TIMEOUT); in blk_rq_timeout()
211 req->deadline = jiffies + req->timeout; in blk_add_timer()
/linux-4.4.14/net/netrom/
Dnr_timer.c56 mod_timer(&nr->t1timer, jiffies + nr->t1); in nr_start_t1timer()
63 mod_timer(&nr->t2timer, jiffies + nr->t2); in nr_start_t2timer()
70 mod_timer(&nr->t4timer, jiffies + nr->t4); in nr_start_t4timer()
78 mod_timer(&nr->idletimer, jiffies + nr->idle); in nr_start_idletimer()
83 mod_timer(&sk->sk_timer, jiffies + 5 * HZ); in nr_start_heartbeat()
Dnr_loopback.c44 mod_timer(&loopback_timer, jiffies + 10); in nr_loopback_queue()
69 mod_timer(&loopback_timer, jiffies + 10); in nr_loopback_timer()
/linux-4.4.14/net/atm/
Dclip.c82 entry->neigh->used = jiffies; in link_vcc()
95 entry->neigh->used = jiffies; in unlink_clip_vcc()
106 entry->expires = jiffies - 1; in unlink_clip_vcc()
130 if (cv->idle_timeout && time_after(jiffies, exp)) { in neigh_check_cb()
137 if (entry->vccs || time_before(jiffies, entry->expires)) in neigh_check_cb()
160 mod_timer(&idle_timer, jiffies + CLIP_CHECK_INTERVAL * HZ); in idle_timer_check()
232 clip_vcc->last_use = jiffies; in clip_push()
304 entry->expires = jiffies - 1; in clip_constructor()
361 if (time_after(jiffies, entry->expires)) { in clip_start_xmit()
363 entry->expires = jiffies + ATMARP_RETRY_DELAY * HZ; in clip_start_xmit()
[all …]
/linux-4.4.14/drivers/dma/ioat/
Ddma.c210 mod_timer(&ioat_chan->timer, jiffies + COMPLETION_TIMEOUT); in __ioat_restart_chan()
229 unsigned long end = jiffies + tmo; in ioat_quiesce()
237 if (tmo && time_after(jiffies, end)) { in ioat_quiesce()
250 unsigned long end = jiffies + tmo; in ioat_reset_sync()
255 if (end && time_after(jiffies, end)) { in ioat_reset_sync()
276 mod_timer(&ioat_chan->timer, jiffies + COMPLETION_TIMEOUT); in ioat_tx_submit_unlock()
525 mod_timer(&ioat_chan->timer, jiffies + COMPLETION_TIMEOUT); in ioat_check_space_lock()
585 mod_timer(&ioat_chan->timer, jiffies + COMPLETION_TIMEOUT); in ioat_cleanup_preamble()
694 mod_timer(&ioat_chan->timer, jiffies + IDLE_TIMEOUT); in __cleanup()
715 mod_timer(&ioat_chan->timer, jiffies + IDLE_TIMEOUT); in ioat_cleanup()
[all …]
/linux-4.4.14/arch/arm/mach-imx/
Dhotplug.c62 unsigned long timeout = jiffies + msecs_to_jiffies(50); in imx_cpu_kill()
65 if (time_after(jiffies, timeout)) in imx_cpu_kill()
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-i2c.c150 start_time = jiffies; in cobalt_tx_bytes()
153 if (time_after(jiffies, start_time + adap->timeout)) in cobalt_tx_bytes()
209 start_time = jiffies; in cobalt_rx_bytes()
212 if (time_after(jiffies, start_time + adap->timeout)) in cobalt_rx_bytes()
339 start_time = jiffies; in cobalt_i2c_init()
341 if (time_after(jiffies, start_time + HZ)) { in cobalt_i2c_init()
/linux-4.4.14/drivers/media/pci/ttpci/
Dav7110_hw.c321 start = jiffies; in av7110_wait_msgstate()
323 err = time_after(jiffies, start + ARM_WAIT_FREE); in av7110_wait_msgstate()
356 start = jiffies; in __av7110_send_fw_cmd()
358 err = time_after(jiffies, start + ARM_WAIT_FREE); in __av7110_send_fw_cmd()
373 start = jiffies; in __av7110_send_fw_cmd()
375 err = time_after(jiffies, start + ARM_WAIT_SHAKE); in __av7110_send_fw_cmd()
413 start = jiffies; in __av7110_send_fw_cmd()
415 err = time_after(jiffies, start + ARM_WAIT_FREE); in __av7110_send_fw_cmd()
448 start = jiffies; in __av7110_send_fw_cmd()
450 err = time_after(jiffies, start + ARM_WAIT_FREE); in __av7110_send_fw_cmd()
[all …]
/linux-4.4.14/drivers/net/ethernet/sfc/
Dqt202x_phy.c78 unsigned long timeout = jiffies + QT2025C_MAX_HEARTB_TIME; in qt2025c_wait_heartbeat()
93 if (time_after(jiffies, timeout)) { in qt2025c_wait_heartbeat()
110 unsigned long timeout = jiffies + QT2025C_MAX_FWSTART_TIME; in qt2025c_wait_fw_status_good()
122 if (time_after(jiffies, timeout)) in qt2025c_wait_fw_status_good()
201 phy_data->bug17190_timer = jiffies + BUG17190_INTERVAL; in qt2025c_bug17190_workaround()
205 if (time_after_eq(jiffies, phy_data->bug17190_timer)) { in qt2025c_bug17190_workaround()
212 phy_data->bug17190_timer = jiffies + BUG17190_INTERVAL; in qt2025c_bug17190_workaround()
/linux-4.4.14/kernel/
Dtorture.c114 starttime = jiffies; in torture_onoff()
128 delta = jiffies - starttime; in torture_onoff()
144 starttime = jiffies; in torture_onoff()
158 delta = jiffies - starttime; in torture_onoff()
430 jiffies_snap = jiffies; in torture_shutdown()
439 jiffies_snap = jiffies; in torture_shutdown()
468 shutdown_time = jiffies + shutdown_secs * HZ; in torture_shutdown_init()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Drecovery.c38 mod_timer(&ar->fw_recovery.hb_timer, jiffies + in ath6kl_recovery_work()
94 mod_timer(&ar->fw_recovery.hb_timer, jiffies + in ath6kl_recovery_hb_timer()
112 mod_timer(&ar->fw_recovery.hb_timer, jiffies + in ath6kl_recovery_init()
159 jiffies + msecs_to_jiffies(ar->fw_recovery.hb_poll)); in ath6kl_recovery_resume()
/linux-4.4.14/net/appletalk/
Daarp.c154 a->last_sent = jiffies; in __aarp_send_query()
264 if (time_after(jiffies, (*n)->expires_at)) { in __aarp_expire_timer()
327 mod_timer(&aarp_timer, jiffies + in aarp_expire_timeout()
426 a->expires_at = jiffies - 1; in aarp_proxy_remove()
535 entry->expires_at = jiffies - 1; /* free the entry */ in aarp_proxy_probe_network()
622 a->expires_at = jiffies + (sysctl_aarp_expiry_time * 10); in aarp_send_ddp()
645 a->expires_at = jiffies + sysctl_aarp_resolve_time; in aarp_send_ddp()
662 mod_timer(&aarp_timer, jiffies + sysctl_aarp_tick_time); in aarp_send_ddp()
707 a->expires_at = jiffies + in __aarp_resolved()
798 jiffies + sysctl_aarp_expiry_time); in aarp_rcv()
[all …]
/linux-4.4.14/drivers/parport/
Dieee1284_ops.c61 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_write_compat()
90 if (!time_before (jiffies, expire)) in parport_ieee1284_write_compat()
112 } while (time_before (jiffies, expire)); in parport_ieee1284_write_compat()
137 if (time_before (jiffies, expire)) in parport_ieee1284_write_compat()
429 unsigned long expire = jiffies + port->cad->timeout; in parport_ieee1284_ecp_write_data()
471 if (time_after_eq (jiffies, expire)) break; in parport_ieee1284_ecp_write_data()
518 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_ecp_read_data()
533 if (!time_before (jiffies, expire)) in parport_ieee1284_ecp_read_data()
665 unsigned long expire = jiffies + port->cad->timeout; in parport_ieee1284_ecp_write_addr()
707 if (time_after_eq (jiffies, expire)) break; in parport_ieee1284_ecp_write_addr()
/linux-4.4.14/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c68 stop_time = jiffies + usecs_to_jiffies(arb->wait_free_us) + 1; in i2c_arbitrator_select()
75 stop_retry = jiffies + usecs_to_jiffies(arb->wait_retry_us) + 1; in i2c_arbitrator_select()
76 while (time_before(jiffies, stop_retry)) { in i2c_arbitrator_select()
91 } while (time_before(jiffies, stop_time)); in i2c_arbitrator_select()
/linux-4.4.14/arch/mips/jazz/
Dreset.c39 unsigned long start = jiffies; in kb_wait()
45 } while (time_before_eq(jiffies, timeout)); in kb_wait()
/linux-4.4.14/arch/arm/plat-versatile/
Dplatsmp.c75 timeout = jiffies + (1 * HZ); in versatile_boot_secondary()
76 while (time_before(jiffies, timeout)) { in versatile_boot_secondary()
/linux-4.4.14/net/netfilter/
Dxt_IDLETIMER.c95 if (time_after(expires, jiffies)) in idletimer_tg_show()
97 jiffies_to_msecs(expires - jiffies) / 1000); in idletimer_tg_show()
151 msecs_to_jiffies(info->timeout * 1000) + jiffies); in idletimer_tg_create()
179 msecs_to_jiffies(info->timeout * 1000) + jiffies); in idletimer_tg_target()
209 msecs_to_jiffies(info->timeout * 1000) + jiffies); in idletimer_tg_checkentry()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_isr.c40 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; in fnic_isr_legacy()
72 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; in fnic_isr_msi()
92 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; in fnic_isr_msix_rq()
109 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; in fnic_isr_msix_wq()
125 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; in fnic_isr_msix_wq_copy()
140 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; in fnic_isr_msix_err_notify()
Dfnic_trace.h92 trace_buf->timestamp.low = jiffies; \
95 trace_buf->timestamp.val = jiffies; \
/linux-4.4.14/drivers/net/ethernet/8390/
Dzorro8390.c90 unsigned long reset_start_time = jiffies; in zorro8390_reset_8390()
93 netif_dbg(ei_local, hw, dev, "resetting - t=%ld...\n", jiffies); in zorro8390_reset_8390()
102 if (time_after(jiffies, reset_start_time + 2 * HZ / 100)) { in zorro8390_reset_8390()
231 dma_start = jiffies; in zorro8390_block_output()
234 if (time_after(jiffies, dma_start + 2 * HZ / 100)) { in zorro8390_block_output()
308 unsigned long reset_start_time = jiffies; in zorro8390_init()
313 if (time_after(jiffies, in zorro8390_init()
Dapne.c222 { unsigned long reset_start_time = jiffies; in apne_probe1()
227 if (time_after(jiffies, reset_start_time + 2*HZ/100)) { in apne_probe1()
362 unsigned long reset_start_time = jiffies; in apne_reset_8390()
367 netif_dbg(ei_local, hw, dev, "resetting the 8390 t=%ld...\n", jiffies); in apne_reset_8390()
376 if (time_after(jiffies, reset_start_time + 2*HZ/100)) { in apne_reset_8390()
521 dma_start = jiffies; in apne_block_output()
524 if (time_after(jiffies, dma_start + 2*HZ/100)) { /* 20ms */ in apne_block_output()
Dne2k-pci.c291 unsigned long reset_start_time = jiffies; in ne2k_pci_init_one()
300 if (jiffies - reset_start_time > 2) { in ne2k_pci_init_one()
457 unsigned long reset_start_time = jiffies; in ne2k_pci_reset_8390()
461 jiffies); in ne2k_pci_reset_8390()
470 if (jiffies - reset_start_time > 2) { in ne2k_pci_reset_8390()
624 dma_start = jiffies; in ne2k_pci_block_output()
627 if (jiffies - dma_start > 2) { /* Avoid clock roll-over. */ in ne2k_pci_block_output()
/linux-4.4.14/arch/alpha/kernel/
Dsmp.c102 unsigned long stop = jiffies + 10*HZ; in wait_boot_cpu_to_stop()
104 while (time_before(jiffies, stop)) { in wait_boot_cpu_to_stop()
183 timeout = jiffies + 10*HZ; in wait_for_txrdy()
184 while (time_before(jiffies, timeout)) { in wait_for_txrdy()
343 timeout = jiffies + 10*HZ; in secondary_cpu_start()
344 while (time_before(jiffies, timeout)) { in secondary_cpu_start()
379 timeout = jiffies + 1*HZ; in smp_boot_one_cpu()
380 while (time_before(jiffies, timeout)) { in smp_boot_one_cpu()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
D3945-rs.c167 if (time_after(jiffies, rs_sta->win[i].stamp + RATE_WIN_FLUSH)) { in il3945_rate_scale_flush_wins()
205 jiffies_to_msecs(jiffies - rs_sta->last_partial_flush); in il3945_bg_rate_scale_flush()
230 jiffies + rs_sta->flush_time); in il3945_bg_rate_scale_flush()
232 rs_sta->last_partial_flush = jiffies; in il3945_bg_rate_scale_flush()
240 rs_sta->last_flush = jiffies; in il3945_bg_rate_scale_flush()
325 win->stamp = jiffies; in il3945_collect_tx_data()
358 rs_sta->last_partial_flush = jiffies; in il3945_rs_rate_init()
359 rs_sta->last_flush = jiffies; in il3945_rs_rate_init()
529 time_after(jiffies, rs_sta->last_flush + rs_sta->flush_time)) { in il3945_rs_tx_status()
531 rs_sta->last_partial_flush = jiffies; in il3945_rs_tx_status()
[all …]
/linux-4.4.14/arch/mips/mti-malta/
Dmalta-display.c48 mod_timer(&mips_scroll_timer, jiffies + HZ); in scroll_display_message()
55 mod_timer(&mips_scroll_timer, jiffies + 1); in mips_scroll_message()
/linux-4.4.14/drivers/scsi/aacraid/
Dcommsup.c592 unsigned long timeout = jiffies + (180 * HZ); /* 3 minutes */ in aac_fib_send()
974 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif()
989 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif()
995 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif()
1016 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif()
1029 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif()
1041 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif()
1046 dev->fsa_dev[container].config_waiting_stamp = jiffies; in aac_handle_aif()
1143 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif()
1149 time_before(jiffies, dev->fsa_dev[container].config_waiting_stamp + AIF_SNIFF_TIMEOUT)) in aac_handle_aif()
[all …]
Dsrc.c248 start = jiffies; in src_sync_cmd()
257 while (time_before(jiffies, start+delay)) { in src_sync_cmd()
683 start = jiffies; in aac_src_init()
691 time_after(jiffies, start+HZ*startup_timeout)) { in aac_src_init()
698 time_after(jiffies, start + HZ * in aac_src_init()
704 start = jiffies; in aac_src_init()
808 start = jiffies; in aac_srcv_init()
811 if (time_after(jiffies, start+HZ*FWUPD_TIMEOUT)) { in aac_srcv_init()
848 start = jiffies; in aac_srcv_init()
857 time_after(jiffies, start+HZ*startup_timeout)) { in aac_srcv_init()
[all …]
Dsa.c185 start = jiffies; in sa_sync_cmd()
187 while(time_before(jiffies, start+30*HZ)) in sa_sync_cmd()
350 start = jiffies; in aac_sa_init()
355 if (time_after(jiffies, start+startup_timeout*HZ)) { in aac_sa_init()
/linux-4.4.14/arch/parisc/kernel/
Dbinfmt_elf32.c99 unsigned long jiffies = cputime_to_jiffies(cputime); in cputime_to_compat_timeval() local
100 value->tv_usec = (jiffies % HZ) * (1000000L / HZ); in cputime_to_compat_timeval()
101 value->tv_sec = jiffies / HZ; in cputime_to_compat_timeval()
Dvmlinux.lds.S39 jiffies = jiffies_64 + 4; symbol
41 jiffies = jiffies_64; symbol
/linux-4.4.14/arch/m68k/mac/
Dmacboing.c209 mac_sound_timer.expires = jiffies + length; in mac_mksound()
261 mac_sound_timer.expires = jiffies + 1; in mac_quadra_start_bell()
295 mac_sound_timer.expires = jiffies + 1; in mac_quadra_ring_bell()
/linux-4.4.14/crypto/
Dxor.c82 j = jiffies; in do_xor_speed()
84 while ((now = jiffies) == j) in do_xor_speed()
86 while (time_before(jiffies, now + 1)) { in do_xor_speed()
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dpnic.c47 dev->trans_start = jiffies; in pnic_do_nway()
68 if (! tp->nwayset || time_after(jiffies, dev_trans_start(dev) + 1*HZ)) { in pnic_lnk_change()
73 dev->trans_start = jiffies; in pnic_lnk_change()
150 dev->trans_start = jiffies; in pnic_timer()
/linux-4.4.14/Documentation/zh_CN/
Dvolatile-considered-harmful.txt86 - Jiffies变量是一种特殊情况,虽然每次引用它的时候都可以有不同的值,但读jiffies
87 变量时不需要任何特殊的加锁保护。所以jiffies变量可以使用volatile,但是不赞成
88 其他跟jiffies相同类型变量使用volatile。Jiffies被认为是一种“愚蠢的遗留物"
/linux-4.4.14/net/mac80211/
Dmesh_hwmp.c248 if (time_before(jiffies, ifmsh->next_perr)) in mesh_path_error_tx()
555 if (time_after(jiffies, ifmsh->last_sn_update + in hwmp_preq_frame_process()
557 time_before(jiffies, ifmsh->last_sn_update)) { in hwmp_preq_frame_process()
559 ifmsh->last_sn_update = jiffies; in hwmp_preq_frame_process()
572 ifmsh->last_sn_update = jiffies; in hwmp_preq_frame_process()
826 (time_after(jiffies, mpath->last_preq_to_root + in hwmp_rann_frame_process()
828 time_before(jiffies, mpath->last_preq_to_root))) && in hwmp_rann_frame_process()
834 mpath->last_preq_to_root = jiffies; in hwmp_rann_frame_process()
967 if (time_after(jiffies, ifmsh->last_preq + min_preq_int_jiff(sdata))) in mesh_queue_preq()
970 else if (time_before(jiffies, ifmsh->last_preq)) { in mesh_queue_preq()
[all …]
Dstatus.c64 info->control.jiffies = jiffies; in ieee80211_handle_filtered_frame()
147 round_jiffies(jiffies + in ieee80211_handle_filtered_frame()
163 !!test_sta_flag(sta, WLAN_STA_PS_STA), jiffies); in ieee80211_handle_filtered_frame()
186 sta->rx_stats.last_rx = jiffies; in ieee80211_frame_acked()
573 time_before(jiffies, in ieee80211_lost_packet()
645 sta->rx_stats.last_rx = jiffies; in ieee80211_tx_status_noskb()
652 sta->status_stats.last_tdls_pkt_time = jiffies; in ieee80211_tx_status_noskb()
868 jiffies; in ieee80211_tx_status()
916 mod_timer(&local->dynamic_ps_timer, jiffies + in ieee80211_tx_status()
/linux-4.4.14/drivers/pps/clients/
Dpps-ktimer.c51 mod_timer(&ktimer, jiffies + HZ); in pps_ktimer_event()
89 mod_timer(&ktimer, jiffies + HZ); in pps_ktimer_init()
/linux-4.4.14/include/linux/netfilter/ipset/
Dip_set_timeout.h58 t = msecs_to_jiffies(value * MSEC_PER_SEC) + jiffies; in ip_set_timeout_set()
69 jiffies_to_msecs(*timeout - jiffies)/MSEC_PER_SEC; in ip_set_timeout_get()
/linux-4.4.14/arch/arm/mach-prima2/
Dplatsmp.c97 timeout = jiffies + (1 * HZ); in sirfsoc_boot_secondary()
98 while (time_before(jiffies, timeout)) { in sirfsoc_boot_secondary()
/linux-4.4.14/drivers/misc/cxl/
Dnative.c27 unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); in afu_control()
39 if (time_after_eq(jiffies, timeout)) { in afu_control()
110 unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); in cxl_psl_purge()
134 if (time_after_eq(jiffies, timeout)) { in cxl_psl_purge()
238 unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); in cxl_tlb_slb_invalidate()
246 if (time_after_eq(jiffies, timeout)) { in cxl_tlb_slb_invalidate()
257 if (time_after_eq(jiffies, timeout)) { in cxl_tlb_slb_invalidate()
270 unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); in cxl_afu_slbia()
275 if (time_after_eq(jiffies, timeout)) { in cxl_afu_slbia()
336 unsigned long timeout = jiffies + (HZ * CXL_TIMEOUT); in do_process_element_cmd()
[all …]
/linux-4.4.14/drivers/staging/speakup/
Dthread.c19 our_sound.jiffies = 0; in speakup_thread()
48 kd_mksound(our_sound.freq, our_sound.jiffies); in speakup_thread()
Dspeakup_apollo.c110 .jiffies = 50,
154 jiff_max = jiffies + jiffy_delta_val; in do_catch_up()
182 if (time_after_eq(jiffies, jiff_max) && (ch == SPACE)) { in do_catch_up()
194 jiff_max = jiffies + jiffy_delta_val; in do_catch_up()
Dspeakup_decext.c128 .jiffies = 50,
172 jiff_max = jiffies + jiffy_delta_val; in do_catch_up()
207 if (time_after_eq(jiffies, jiff_max)) { in do_catch_up()
218 jiff_max = jiffies + jiffy_delta_val; in do_catch_up()
Dspeakup_acntpc.c116 .jiffies = 50,
195 jiff_max = jiffies + jiffy_delta_val; in do_catch_up()
228 if (time_after_eq(jiffies, jiff_max) && ch == SPACE) { in do_catch_up()
241 jiff_max = jiffies+jiffy_delta_val; in do_catch_up()
Dspeakup_keypc.c107 .jiffies = 50,
196 jiff_max = jiffies + jiffy_delta_val; in do_catch_up()
232 if (time_after_eq(jiffies, jiff_max) && (ch == SPACE)) { in do_catch_up()
247 jiff_max = jiffies+jiffy_delta_val; in do_catch_up()
Dspeakup_dectlk.c130 .jiffies = 50,
224 jiff_max = jiffies + jiffy_delta_val; in do_catch_up()
272 if (time_after_eq(jiffies, jiff_max)) { in do_catch_up()
283 jiff_max = jiffies + jiffy_delta_val; in do_catch_up()
/linux-4.4.14/arch/m32r/kernel/
Dvmlinux.lds.S11 jiffies = jiffies_64; symbol
13 jiffies = jiffies_64 + 4; symbol
/linux-4.4.14/drivers/net/ethernet/realtek/
Datp.c443 lp->timer.expires = jiffies + TIMED_CHECKER; in net_open()
547 dev->trans_start = jiffies; /* prevent tx timeout */ in tx_timeout()
672 time_after(jiffies, dev->last_rx + HZ)) { in atp_interrupt()
676 num_tx_since_rx, jiffies - dev->last_rx, status, in atp_interrupt()
693 mod_timer(&lp->timer, jiffies + TIMED_CHECKER); in atp_interrupt()
719 int tickssofar = jiffies - lp->last_rx_time; in atp_timed_checker()
727 lp->last_rx_time = jiffies; in atp_timed_checker()
746 lp->timer.expires = jiffies + TIMED_CHECKER; in atp_timed_checker()
793 dev->last_rx = jiffies; in net_rx()
799 lp->last_rx_time = jiffies; in net_rx()
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/
Drecv_linux.c37 psecuritypriv->last_mic_err_time = jiffies; in rtw_handle_tkip_mic_err23a()
39 cur_time = jiffies; in rtw_handle_tkip_mic_err23a()
46 psecuritypriv->last_mic_err_time = jiffies; in rtw_handle_tkip_mic_err23a()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_lblcr.c125 set->lastmod = jiffies; in ip_vs_dest_set_insert()
146 set->lastmod = jiffies; in ip_vs_dest_set_erase()
377 en->lastuse = jiffies; in ip_vs_lblcr_new()
427 unsigned long now = jiffies; in ip_vs_lblcr_full_check()
465 unsigned long now = jiffies; in ip_vs_lblcr_check_expire()
506 mod_timer(&tbl->periodic_timer, jiffies+CHECK_EXPIRE_INTERVAL); in ip_vs_lblcr_check_expire()
541 mod_timer(&tbl->periodic_timer, jiffies + CHECK_EXPIRE_INTERVAL); in ip_vs_lblcr_init_svc()
659 en->lastuse = jiffies; in ip_vs_lblcr_schedule()
666 time_after(jiffies, en->set.lastmod + in ip_vs_lblcr_schedule()
Dip_vs_lblc.c218 en->lastuse = jiffies; in ip_vs_lblc_new()
264 unsigned long now = jiffies; in ip_vs_lblc_full_check()
301 unsigned long now = jiffies; in ip_vs_lblc_check_expire()
342 mod_timer(&tbl->periodic_timer, jiffies + CHECK_EXPIRE_INTERVAL); in ip_vs_lblc_check_expire()
378 mod_timer(&tbl->periodic_timer, jiffies + CHECK_EXPIRE_INTERVAL); in ip_vs_lblc_init_svc()
496 en->lastuse = jiffies; in ip_vs_lblc_schedule()
/linux-4.4.14/drivers/block/paride/
Dpseudo.h60 ps_timeout = jiffies + timeout; in ps_set_intr()
87 if (!ps_ready || ps_ready() || time_after_eq(jiffies, ps_timeout)) { in ps_tq_int()
Dpg.c296 && time_before(jiffies, tmo)) { in pg_wait()
303 to = time_after_eq(jiffies, tmo); in pg_wait()
445 s = pg_command(dev, id_cmd, 36, jiffies + PG_TMO); in pg_identify()
448 s = pg_completion(dev, buf, jiffies + PG_TMO); in pg_identify()
608 dev->start = jiffies; in pg_write()
609 dev->timeout = hdr.timeout * HZ + HZ / 2 + jiffies; in pg_write()
611 if (pg_command(dev, hdr.packet, hdr.dlen, jiffies + PG_TMO)) { in pg_write()
654 hdr.duration = (jiffies - dev->start + HZ / 2) / HZ; in pg_read()
/linux-4.4.14/drivers/input/
Dff-memless.c127 unsigned long now = jiffies; in ml_schedule_timer()
168 unsigned long now = jiffies; in apply_envelope()
359 if (time_before(jiffies, state->play_at)) in ml_get_combo_effect()
380 time_after_eq(jiffies, state->stop_at)) { in ml_get_combo_effect()
387 state->play_at = jiffies + in ml_get_combo_effect()
394 state->adj_at = jiffies; in ml_get_combo_effect()
457 state->play_at = jiffies + in ml_ff_playback()
487 state->play_at = jiffies + in ml_ff_upload()
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
Drtl_ps.c99 timeout = jiffies + msecs_to_jiffies(MIN_SLEEP_TIME); in rtl92e_enter_sleep()
103 time - jiffies, msecs_to_jiffies(MIN_SLEEP_TIME)); in rtl92e_enter_sleep()
106 timeout = jiffies + msecs_to_jiffies(MAX_SLEEP_TIME); in rtl92e_enter_sleep()
109 time - jiffies, msecs_to_jiffies(MAX_SLEEP_TIME)); in rtl92e_enter_sleep()
113 tmp = time - jiffies; in rtl92e_enter_sleep()
/linux-4.4.14/arch/mips/mti-sead3/
Dsead3-display.c69 mod_timer(&mips_scroll_timer, jiffies + HZ); in scroll_display_message()
76 mod_timer(&mips_scroll_timer, jiffies + 1); in mips_scroll_message()
/linux-4.4.14/arch/arm/mach-spear/
Dplatsmp.c74 timeout = jiffies + (1 * HZ); in spear13xx_boot_secondary()
75 while (time_before(jiffies, timeout)) { in spear13xx_boot_secondary()
/linux-4.4.14/drivers/bcma/
Ddriver_chipcommon_b.c17 unsigned long deadline = jiffies + timeout; in bcma_wait_reg()
26 } while (!time_after_eq(jiffies, deadline)); in bcma_wait_reg()
/linux-4.4.14/drivers/usb/musb/
Dda8xx.c226 mod_timer(&otg_workaround, jiffies + POLL_SECONDS * HZ); in otg_timer()
249 mod_timer(&otg_workaround, jiffies + POLL_SECONDS * HZ); in otg_timer()
264 timeout = jiffies + msecs_to_jiffies(3); in da8xx_musb_try_idle()
272 last_timer = jiffies; in da8xx_musb_try_idle()
284 jiffies_to_msecs(timeout - jiffies)); in da8xx_musb_try_idle()
345 mod_timer(&otg_workaround, jiffies + POLL_SECONDS * HZ); in da8xx_musb_interrupt()
379 mod_timer(&otg_workaround, jiffies + POLL_SECONDS * HZ); in da8xx_musb_interrupt()
Dam35x.c177 mod_timer(&otg_workaround, jiffies + POLL_SECONDS * HZ); in otg_timer()
192 timeout = jiffies + msecs_to_jiffies(3); in am35x_musb_try_idle()
200 last_timer = jiffies; in am35x_musb_try_idle()
212 jiffies_to_msecs(timeout - jiffies)); in am35x_musb_try_idle()
282 mod_timer(&otg_workaround, jiffies + POLL_SECONDS * HZ); in am35x_musb_interrupt()
328 mod_timer(&otg_workaround, jiffies + POLL_SECONDS * HZ); in am35x_musb_interrupt()
Domap2430.c111 unsigned long default_timeout = jiffies + msecs_to_jiffies(3); in omap2430_musb_try_idle()
123 last_timer = jiffies; in omap2430_musb_try_idle()
139 (unsigned long)jiffies_to_msecs(timeout - jiffies)); in omap2430_musb_try_idle()
147 unsigned long timeout = jiffies + msecs_to_jiffies(1000); in omap2430_musb_set_vbus()
171 if (time_after(jiffies, timeout) in omap2430_musb_set_vbus()
450 unsigned long timeout = jiffies + msecs_to_jiffies(1000); in omap2430_musb_enable()
470 if (time_after(jiffies, timeout)) { in omap2430_musb_enable()
/linux-4.4.14/net/rfkill/
Dinput.c146 return time_after(jiffies, last + delay) ? 0 : delay; in rfkill_ratelimit()
153 rfkill_last_scheduled = jiffies; in rfkill_schedule_ratelimited()
166 rfkill_last_scheduled = jiffies; in rfkill_schedule_global_op()
340 jiffies - msecs_to_jiffies(RFKILL_OPS_DELAY) - 1; in rfkill_handler_init()
/linux-4.4.14/kernel/irq/
Dspurious.c173 jiffies + POLL_SPURIOUS_IRQ_INTERVAL); in poll_spurious_irqs()
393 if (time_after(jiffies, desc->last_unhandled + HZ/10)) in note_interrupt()
397 desc->last_unhandled = jiffies; in note_interrupt()
426 jiffies + POLL_SPURIOUS_IRQ_INTERVAL); in note_interrupt()
/linux-4.4.14/net/hsr/
Dhsr_framereg.c148 now = jiffies; in hsr_add_node()
308 node->time_in[port->type] = jiffies; in hsr_register_frame_in()
372 if (time_after(jiffies, time_a + MAX_JIFFY_OFFSET/2)) in hsr_prune_nodes()
374 if (time_after(jiffies, time_b + MAX_JIFFY_OFFSET/2)) in hsr_prune_nodes()
456 tdiff = jiffies - node->time_in[HSR_PT_SLAVE_A]; in hsr_get_node_data()
466 tdiff = jiffies - node->time_in[HSR_PT_SLAVE_B]; in hsr_get_node_data()
/linux-4.4.14/sound/hda/
Dhdac_controller.c216 timeout = jiffies + msecs_to_jiffies(1000); in snd_hdac_bus_get_response()
227 if (time_after(jiffies, timeout)) in snd_hdac_bus_get_response()
258 timeout = jiffies + msecs_to_jiffies(100); in snd_hdac_bus_enter_link_reset()
260 time_before(jiffies, timeout)) in snd_hdac_bus_enter_link_reset()
277 timeout = jiffies + msecs_to_jiffies(100); in snd_hdac_bus_exit_link_reset()
278 while (!snd_hdac_chip_readb(bus, GCTL) && time_before(jiffies, timeout)) in snd_hdac_bus_exit_link_reset()
/linux-4.4.14/drivers/scsi/
Dqlogicfas408.c188 i = jiffies + WATCHDOG; in ql_wai()
189 while (time_before(jiffies, i) && !priv->qabort && in ql_wai()
194 if (time_after_eq(jiffies, i)) in ql_wai()
339 k = jiffies + WATCHDOG; in ql_pcmd()
341 while (time_before(jiffies, k) && !priv->qabort && in ql_pcmd()
345 if (time_after_eq(jiffies, k)) { in ql_pcmd()
/linux-4.4.14/drivers/media/tuners/
Dit913x.c90 timeout = jiffies + msecs_to_jiffies(TIMEOUT); in it913x_init()
91 while (!time_after(jiffies, timeout)) { in it913x_init()
102 jiffies_to_msecs(jiffies) - in it913x_init()
118 timeout = jiffies + msecs_to_jiffies(TIMEOUT); in it913x_init()
119 while (!time_after(jiffies, timeout)) { in it913x_init()
129 jiffies_to_msecs(jiffies) - in it913x_init()
/linux-4.4.14/drivers/ide/
Dide-eh.c180 if (time_before(jiffies, hwif->poll_timeout)) { in atapi_reset_pollfunc()
242 if (time_before(jiffies, hwif->poll_timeout)) { in reset_pollfunc()
357 hwif->poll_timeout = jiffies + WAIT_WORSTCASE; in do_reset1()
369 timeout = jiffies; in do_reset1()
376 now = jiffies; in do_reset1()
417 hwif->poll_timeout = jiffies + WAIT_WORSTCASE; in do_reset1()
/linux-4.4.14/drivers/cpufreq/
Dppc_cbe_cpufreq_pervasive.c69 time = jiffies; in cbe_cpufreq_set_pmode()
94 time = jiffies - time; in cbe_cpufreq_set_pmode()
Dppc_cbe_cpufreq_pmi.c61 time = jiffies; in cbe_cpufreq_set_pmode_pmi()
66 time = jiffies - time; in cbe_cpufreq_set_pmode_pmi()
/linux-4.4.14/Documentation/connector/
Dcn_test.c41 __func__, jiffies, msg->id.idx, msg->id.val, in cn_test_callback()
154 mod_timer(&cn_test_timer, jiffies + msecs_to_jiffies(1000)); in cn_test_timer_func()
172 mod_timer(&cn_test_timer, jiffies + msecs_to_jiffies(1000)); in cn_test_init()
/linux-4.4.14/drivers/net/wan/
Dwanxl.c414 timeout = jiffies + HZ; in wanxl_open()
420 } while (time_after(timeout, jiffies)); in wanxl_open()
441 timeout = jiffies + HZ; in wanxl_close()
445 } while (time_after(timeout, jiffies)); in wanxl_close()
483 unsigned long timeout = jiffies + 5 * HZ; in wanxl_puts_command()
491 }while (time_after(timeout, jiffies)); in wanxl_puts_command()
653 timeout = jiffies + 20 * HZ; in wanxl_pci_init_one()
655 if (time_before(timeout, jiffies)) { in wanxl_pci_init_one()
738 timeout = jiffies + 5 * HZ; in wanxl_pci_init_one()
743 }while (time_after(timeout, jiffies)); in wanxl_pci_init_one()
Dhdlc_cisco.c118 data->time = htonl((jiffies - INITIAL_JIFFIES) * (1000 / HZ)); in cisco_keepalive_send()
228 st->last_poll = jiffies; in cisco_rx()
268 time_after(jiffies, st->last_poll + st->settings.timeout * HZ)) { in cisco_timer()
278 st->timer.expires = jiffies + st->settings.interval * HZ; in cisco_timer()
297 st->timer.expires = jiffies + HZ; /* First poll after 1 s */ in cisco_start()
/linux-4.4.14/drivers/char/tpm/st33zp24/
Dst33zp24.c174 stop = jiffies + chip->vendor.timeout_a; in request_locality()
181 } while (time_before(jiffies, stop)); in request_locality()
216 stop = jiffies + chip->vendor.timeout_d; in get_burstcount()
233 } while (time_before(jiffies, stop)); in get_burstcount()
289 stop = jiffies + timeout; in wait_for_stat()
300 timeout = stop - jiffies; in wait_for_stat()
325 } while (time_before(jiffies, stop)); in wait_for_stat()
/linux-4.4.14/kernel/time/
Djiffies.c64 return (cycle_t) jiffies; in jiffies_read()
94 EXPORT_SYMBOL(jiffies);
Dtimer.c240 unsigned long j0 = jiffies; in __round_jiffies_relative()
317 unsigned long j0 = jiffies; in __round_jiffies_up_relative()
419 base->timer_jiffies = jiffies; in internal_add_timer()
747 base->timer_jiffies = jiffies; in detach_if_pending()
866 long delta = expires - jiffies; in apply_slack()
1211 while (time_after_eq(jiffies, base->timer_jiffies)) { in __run_timers()
1217 base->timer_jiffies = jiffies; in __run_timers()
1436 if (time_after_eq(jiffies, base->timer_jiffies)) in run_timer_softirq()
1527 expire = timeout + jiffies; in schedule_timeout()
1537 timeout = expire - jiffies; in schedule_timeout()
[all …]
/linux-4.4.14/drivers/spi/
Dspi-bcm53xx.c47 deadline = jiffies + msecs_to_jiffies(BCM53XXSPI_SPE_TIMEOUT_MS); in bcm53xxspi_wait()
53 } while (!time_after_eq(jiffies, deadline)); in bcm53xxspi_wait()
59 deadline = jiffies + msecs_to_jiffies(timeout_ms); in bcm53xxspi_wait()
69 } while (!time_after_eq(jiffies, deadline)); in bcm53xxspi_wait()
/linux-4.4.14/arch/m68k/atari/
Datakeyb.c207 self_test_last_rcv = jiffies; in atari_keyboard_interrupt()
225 self_test_last_rcv = jiffies; in atari_keyboard_interrupt()
551 self_test_last_rcv = jiffies; in atari_keyb_init()
552 while (time_before(jiffies, self_test_last_rcv + HZ/4)) in atari_keyb_init()
/linux-4.4.14/arch/arm/mach-sti/
Dplatsmp.c81 timeout = jiffies + (1 * HZ); in sti_boot_secondary()
82 while (time_before(jiffies, timeout)) { in sti_boot_secondary()
/linux-4.4.14/drivers/net/
Dsb1000.c268 timeout = jiffies + TimeOutJiffies; in card_wait_for_busy_clear()
274 if (time_after_eq(jiffies, timeout)) { in card_wait_for_busy_clear()
292 timeout = jiffies + TimeOutJiffies; in card_wait_for_ready()
298 if (time_after_eq(jiffies, timeout)) { in card_wait_for_ready()
370 timeout = jiffies + Sb1000TimeOutJiffies; in sb1000_wait_for_ready()
372 if (time_after_eq(jiffies, timeout)) { in sb1000_wait_for_ready()
378 timeout = jiffies + Sb1000TimeOutJiffies; in sb1000_wait_for_ready()
380 if (time_after_eq(jiffies, timeout)) { in sb1000_wait_for_ready()
396 timeout = jiffies + Sb1000TimeOutJiffies; in sb1000_wait_for_ready_clear()
398 if (time_after_eq(jiffies, timeout)) { in sb1000_wait_for_ready_clear()
[all …]
/linux-4.4.14/arch/arm/mach-zynq/
Dplatsmp.c129 unsigned long timeout = jiffies + msecs_to_jiffies(50); in zynq_cpu_kill()
132 if (time_after(jiffies, timeout)) in zynq_cpu_kill()
/linux-4.4.14/arch/arm/mach-omap2/
Domap_phy_internal.c88 unsigned long timeout = jiffies + msecs_to_jiffies(100); in am35x_musb_phy_power()
107 if (time_after(jiffies, timeout)) { in am35x_musb_phy_power()
/linux-4.4.14/arch/c6x/kernel/
Dvmlinux.lds.S14 jiffies = jiffies_64 + 4; symbol
16 jiffies = jiffies_64; symbol
/linux-4.4.14/arch/m68k/amiga/
Dpcmcia.c28 unsigned long reset_start_time = jiffies; in pcmcia_reset()
32 while (time_before(jiffies, reset_start_time + 1*HZ/100)); in pcmcia_reset()
/linux-4.4.14/drivers/scsi/snic/
Dsnic_isr.c40 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_wq()
58 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_io_cmpl()
75 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_err_notify()
/linux-4.4.14/drivers/net/dsa/
Dmv88e6060.c105 timeout = jiffies + 1 * HZ; in mv88e6060_switch_reset()
106 while (time_before(jiffies, timeout)) { in mv88e6060_switch_reset()
113 if (time_after(jiffies, timeout)) in mv88e6060_switch_reset()
/linux-4.4.14/net/sched/
Dact_connmark.c45 ca->tcf_tm.lastuse = jiffies; in tcf_connmark()
160 t.install = jiffies_to_clock_t(jiffies - ci->tcf_tm.install); in tcf_connmark_dump()
161 t.lastuse = jiffies_to_clock_t(jiffies - ci->tcf_tm.lastuse); in tcf_connmark_dump()
Dact_simple.c36 d->tcf_tm.lastuse = jiffies; in tcf_simp()
152 t.install = jiffies_to_clock_t(jiffies - d->tcf_tm.install); in tcf_simp_dump()
153 t.lastuse = jiffies_to_clock_t(jiffies - d->tcf_tm.lastuse); in tcf_simp_dump()
Dact_skbedit.c38 d->tcf_tm.lastuse = jiffies; in tcf_skbedit()
164 t.install = jiffies_to_clock_t(jiffies - d->tcf_tm.install); in tcf_skbedit_dump()
165 t.lastuse = jiffies_to_clock_t(jiffies - d->tcf_tm.lastuse); in tcf_skbedit_dump()
Dact_vlan.c32 v->tcf_tm.lastuse = jiffies; in tcf_vlan()
172 t.install = jiffies_to_clock_t(jiffies - v->tcf_tm.install); in tcf_vlan_dump()
173 t.lastuse = jiffies_to_clock_t(jiffies - v->tcf_tm.lastuse); in tcf_vlan_dump()
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Drecv_linux.c57 psecuritypriv->last_mic_err_time = jiffies; in rtw_handle_tkip_mic_err()
59 cur_time = jiffies; in rtw_handle_tkip_mic_err()
66 psecuritypriv->last_mic_err_time = jiffies; in rtw_handle_tkip_mic_err()
/linux-4.4.14/drivers/iio/chemical/
Dvz89x.c109 if (!time_after(jiffies, data->last_update + HZ)) in vz89x_get_measurement()
128 data->last_update = jiffies; in vz89x_get_measurement()
218 data->last_update = jiffies - HZ; in vz89x_probe()
/linux-4.4.14/net/tipc/
Ddiscover.c190 mod_timer(&req->timer, jiffies + req->timer_intv); in disc_update()
256 mod_timer(&req->timer, jiffies + req->timer_intv); in disc_timeout()
294 mod_timer(&req->timer, jiffies + req->timer_intv); in tipc_disc_create()
331 mod_timer(&req->timer, jiffies + req->timer_intv); in tipc_disc_reset()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-kthread-out.c141 dev->jiffies_vid_out = jiffies; in vivid_thread_vid_out()
151 cur_jiffies = jiffies; in vivid_thread_vid_out()
196 jiffies_since_start = jiffies - dev->jiffies_vid_out; in vivid_thread_vid_out()
243 dev->jiffies_vid_out = jiffies; in vivid_start_generating_vid_out()
/linux-4.4.14/drivers/clk/samsung/
Dclk-cpu.c66 unsigned long timeout = jiffies + msecs_to_jiffies(10); in wait_until_divider_stable()
71 } while (time_before(jiffies, timeout)); in wait_until_divider_stable()
86 unsigned long timeout = jiffies + msecs_to_jiffies(10); in wait_until_mux_stable()
91 } while (time_before(jiffies, timeout)); in wait_until_mux_stable()
/linux-4.4.14/drivers/power/
Dpda_power.c165 jiffies + msecs_to_jiffies(pdata->wait_for_charger)); in psy_changed()
188 jiffies + msecs_to_jiffies(pdata->wait_for_status)); in power_changed_isr()
215 jiffies + msecs_to_jiffies(pdata->polling_interval)); in polling_timer_func()
254 jiffies + msecs_to_jiffies(pdata->wait_for_status)); in otg_handle_notification()
390 jiffies + msecs_to_jiffies(pdata->polling_interval)); in pda_power_probe()
/linux-4.4.14/include/drm/
Ddrm_os_linux.h46 unsigned long end = jiffies + (timeout); \
53 if (time_after_eq(jiffies, end)) { \
/linux-4.4.14/arch/arc/kernel/
Dvmlinux.lds.S18 jiffies = jiffies_64 + 4; symbol
20 jiffies = jiffies_64; symbol
/linux-4.4.14/arch/sparc/kernel/
Dvmlinux.lds.S27 jiffies = jiffies_64 + 4; symbol
33 jiffies = jiffies_64; symbol
Dled.c40 led_blink_timer.expires = jiffies + in led_blink()
44 led_blink_timer.expires = jiffies + (timeout * HZ); in led_blink()
/linux-4.4.14/drivers/net/slip/
Dslip.c410 sl->dev->trans_start = jiffies;
474 if (time_before(jiffies, dev_trans_start(dev) + 20 * HZ)) {
840 sl->keepalive_timer.expires = jiffies + sl->keepalive * HZ;
844 sl->outfill_timer.expires = jiffies + sl->outfill * HZ;
1132 jiffies + sl->keepalive * HZ);
1157 jiffies + sl->outfill * HZ);
1227 jiffies + sl->keepalive * HZ;
1229 jiffies + sl->keepalive * HZ);
1247 jiffies + sl->outfill * HZ);
1334 unsigned long timeout = jiffies + HZ;
[all …]
/linux-4.4.14/net/sctp/
Dtransport.c76 peer->last_time_ecne_reduced = jiffies; in sctp_transport_init()
200 jiffies + transport->rto)) in sctp_transport_reset_timers()
529 if (time_after(jiffies, transport->last_time_ecne_reduced + in sctp_transport_lower_cwnd()
534 transport->last_time_ecne_reduced = jiffies; in sctp_transport_lower_cwnd()
606 return timeout + jiffies; in sctp_transport_timeout()
653 if (!mod_timer(&t->T3_rtx_timer, jiffies + t->rto)) in sctp_transport_immediate_rtx()
/linux-4.4.14/arch/arm/mach-pxa/
Dsharpsl_pm.c241 && time_after(jiffies, sharpsl_pm.charge_start_time + SHARPSL_CHARGE_ON_TIME_INTERVAL)) in sharpsl_battery_thread()
269 sharpsl_pm.battstat.mainbat_status, sharpsl_pm.battstat.mainbat_percent, jiffies); in sharpsl_battery_thread()
326 dev_dbg(sharpsl_pm.dev, "Toggling Charger at time: %lx\n", jiffies); in sharpsl_charge_toggle()
341 sharpsl_pm.charge_start_time = jiffies; in sharpsl_charge_toggle()
364 mod_timer(&sharpsl_pm.ac_timer, jiffies + msecs_to_jiffies(250)); in sharpsl_ac_isr()
371 dev_dbg(sharpsl_pm.dev, "Charge Full at time: %lx\n", jiffies); in sharpsl_chrg_full_timer()
382 } else if (time_after(jiffies, sharpsl_pm.charge_start_time + SHARPSL_CHARGE_FINISH_TIME)) { in sharpsl_chrg_full_timer()
401 mod_timer(&sharpsl_pm.chrg_full_timer, jiffies + msecs_to_jiffies(500)); in sharpsl_chrg_full_isr()
896 mod_timer(&sharpsl_pm.ac_timer, jiffies + msecs_to_jiffies(250)); in sharpsl_pm_probe()
/linux-4.4.14/fs/nfs/
Dnfs4renewd.c74 now = jiffies; in nfs4_renew_state()
123 - (long)jiffies; in nfs4_schedule_state_renewal()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_stats.c59 t0 = jiffies; in ipath_snap_cntr()
79 t1 = jiffies; in ipath_snap_cntr()
300 && time_after(jiffies, dd->ipath_unmasktime)) { in ipath_get_faststats()
346 mod_timer(&dd->ipath_stats_timer, jiffies + HZ * 5); in ipath_get_faststats()
/linux-4.4.14/arch/ia64/sn/kernel/
Dbte_error.c81 mod_timer(recovery_timer, jiffies + (HZ * 5)); in shub1_bte_error_handler()
98 mod_timer(recovery_timer, jiffies + (HZ * 5)); in shub1_bte_error_handler()
157 mod_timer(recovery_timer, jiffies + (HZ * 5)); in shub2_bte_error_handler()
Dmca.c78 mod_timer(&sn_cpei_timer, jiffies + CPEI_INTERVAL); in sn_cpei_timer_handler()
84 sn_cpei_timer.expires = jiffies + CPEI_INTERVAL; in sn_init_cpei_timer()
/linux-4.4.14/drivers/char/hw_random/
Diproc-rng200.c105 unsigned long idle_endtime = jiffies + MAX_IDLE_TIME; in iproc_rng200_read()
107 while ((num_remaining > 0) && time_before(jiffies, idle_endtime)) { in iproc_rng200_read()
141 idle_endtime = jiffies + MAX_IDLE_TIME; in iproc_rng200_read()
/linux-4.4.14/drivers/net/wimax/i2400m/
Di2400m-usb.h100 edc->timestart = jiffies; in edc_init()
133 now = jiffies; in edc_inc()
/linux-4.4.14/drivers/isdn/sc/
Dtimer.c73 mod_timer(&sc_adapter[card]->reset_timer, jiffies + CHECKRESET_TIME); in sc_check_reset()
116 mod_timer(&sc_adapter[card]->stat_timer, jiffies + CHECKSTAT_TIME); in check_phystat()
/linux-4.4.14/drivers/bluetooth/
Dhci_qca.c141 diff = jiffies_to_msecs(jiffies - qca->vote_last_jif); in serial_clock_vote()
187 diff = jiffies_to_msecs(jiffies - qca->vote_last_jif); in serial_clock_vote()
196 qca->vote_last_jif = jiffies; in serial_clock_vote()
247 mod_timer(&qca->wake_retrans_timer, jiffies + retrans_delay); in qca_wq_awake_device()
368 mod_timer(&qca->wake_retrans_timer, jiffies + retrans_delay); in hci_ibs_wake_retrans_timeout()
429 qca->vote_last_jif = jiffies; in qca_open()
650 mod_timer(&qca->tx_idle_timer, jiffies + idle_delay); in device_woke_up()
699 mod_timer(&qca->tx_idle_timer, jiffies + idle_delay); in qca_enqueue()
/linux-4.4.14/fs/
Dfs-writeback.c1000 inode->dirtied_when = jiffies; in redirty_tail()
1033 ret = ret && time_before_eq(inode->dirtied_when, jiffies); in inode_dirtied_after()
1061 expire_time = jiffies - (dirtytime_expire_interval * HZ); in move_expired_inodes()
1208 inode->dirtied_when = jiffies; in requeue_inode()
1245 inode->dirtied_when = jiffies; in requeue_inode()
1296 unlikely(time_after(jiffies, in __writeback_single_inode()
1455 unsigned long start_time = jiffies; in writeback_sb_inodes()
1586 unsigned long start_time = jiffies; in __writeback_inodes_wb()
1657 unsigned long wb_start = jiffies; in wb_writeback()
1664 oldest_jif = jiffies; in wb_writeback()
[all …]
/linux-4.4.14/arch/microblaze/kernel/
Dvmlinux.lds.S19 jiffies = jiffies_64; symbol
21 jiffies = jiffies_64 + 4; symbol
/linux-4.4.14/arch/mips/sgi-ip32/
Dip32-reset.c77 mod_timer(&blink_timer, jiffies + data); in blink_timeout()
106 power_timer.expires = jiffies + POWERDOWN_TIMEOUT * HZ; in ip32_prepare_poweroff()
/linux-4.4.14/arch/arm/mach-zx/
Dplatsmp.c151 unsigned long timeout = jiffies + msecs_to_jiffies(2000); in zx_cpu_kill()
156 if (time_after(jiffies, timeout)) { in zx_cpu_kill()
/linux-4.4.14/fs/afs/
Dvolume.c320 server->fs_act_jif = jiffies; in afs_volume_release_fileserver()
327 server->fs_act_jif = jiffies; in afs_volume_release_fileserver()
376 server->fs_dead_jif = jiffies + HZ * 10; in afs_volume_release_fileserver()
385 server->fs_act_jif = jiffies; in afs_volume_release_fileserver()
/linux-4.4.14/drivers/input/keyboard/
Dlocomokbd.c162 if (!time_after(jiffies, in locomokbd_scankeyboard()
170 locomokbd->suspend_jiffies = jiffies; in locomokbd_scankeyboard()
182 mod_timer(&locomokbd->timer, jiffies + SCAN_INTERVAL); in locomokbd_scankeyboard()
271 locomokbd->suspend_jiffies = jiffies; in locomokbd_probe()
/linux-4.4.14/fs/xfs/
Dxfs_mru_cache.c206 unsigned long now = jiffies; in _xfs_mru_cache_list_insert()
288 next = _xfs_mru_cache_migrate(mru, jiffies); in _xfs_mru_cache_reap()
293 now = jiffies; in _xfs_mru_cache_reap()
404 _xfs_mru_cache_migrate(mru, jiffies + mru->grp_count * mru->grp_time); in xfs_mru_cache_flush()
/linux-4.4.14/arch/x86/ia32/
Dia32_aout.c336 time_after(jiffies, error_time2 + 5*HZ)) { in load_aout_binary()
338 error_time2 = jiffies; in load_aout_binary()
342 time_after(jiffies, error_time + 5*HZ)) { in load_aout_binary()
347 error_time = jiffies; in load_aout_binary()
429 if (time_after(jiffies, error_time + 5*HZ)) { in load_aout_library()
434 error_time = jiffies; in load_aout_library()
/linux-4.4.14/fs/autofs4/
Dexpire.c62 ino->last_used = jiffies; in autofs4_mount_busy()
200 ino->last_used = jiffies; in autofs4_direct_busy()
240 top_ino->last_used = jiffies; in autofs4_tree_busy()
255 top_ino->last_used = jiffies; in autofs4_tree_busy()
309 now = jiffies; in autofs4_expire_direct()
440 now = jiffies; in autofs4_expire_indirect()
/linux-4.4.14/drivers/misc/eeprom/
Dat24.c228 timeout = jiffies + msecs_to_jiffies(write_timeout); in at24_eeprom_read()
230 read_time = jiffies; in at24_eeprom_read()
240 count, offset, status, jiffies); in at24_eeprom_read()
348 timeout = jiffies + msecs_to_jiffies(write_timeout); in at24_eeprom_write()
350 write_time = jiffies; in at24_eeprom_write()
371 count, offset, status, jiffies); in at24_eeprom_write()
/linux-4.4.14/drivers/char/tpm/
Dtpm_i2c_infineon.c323 stop = jiffies + chip->vendor.timeout_a; in request_locality()
328 } while (time_before(jiffies, stop)); in request_locality()
365 stop = jiffies + chip->vendor.timeout_d; in get_burstcount()
377 } while (time_before(jiffies, stop)); in get_burstcount()
391 stop = jiffies + timeout; in wait_for_stat()
399 } while (time_before(jiffies, stop)); in wait_for_stat()
/linux-4.4.14/sound/oss/
Dpss.c157 limit = jiffies + HZ/10; /* The timeout is 0.1 seconds */ in pss_write()
166 for (i = 0; i < 5000000 && time_before(jiffies, limit); i++) in pss_write()
269 unsigned long i, limit = jiffies + HZ/10; in pss_reset_dsp()
272 for (i = 0; i < 32768 && time_after_eq(limit, jiffies); i++) in pss_reset_dsp()
321 limit = jiffies + HZ/10; in pss_download_boot()
322 for (i = 0; i < 32768 && time_before(jiffies, limit); i++) in pss_download_boot()
372 limit = jiffies + HZ/10; in pss_download_boot()
373 for (i = 0; i < 32768 && time_after_eq(limit, jiffies); i++) in pss_download_boot()
376 limit = jiffies + HZ/10; in pss_download_boot()
377 for (i = 0; i < 32768 && time_after_eq(limit, jiffies); i++) in pss_download_boot()
/linux-4.4.14/Documentation/RCU/
Dstallwarn.txt42 the number of jiffies specified by RCU_STALL_RAT_DELAY, then
44 two jiffies. (This is a cpp macro, not a kernel configuration
52 in jiffies. An RCU-tasks stall warning starts wtih the line:
62 INFO: rcu_sched_state detected stall on CPU 5 (t=2500 jiffies)
75 INFO: rcu_bh_state detected stalls on CPUs/tasks: { 3 5 } (detected by 2, 2502 jiffies)
89 INFO: rcu_bh_state detected stalls on CPUs/tasks: { } (detected by 4, 2502 jiffies)
102 (t=65000 jiffies)
108 (t=65000 jiffies)
138 low-order 16 bits (in hex) of the jiffies counter when this CPU last
150 rcu_preempt kthread starved for 2023 jiffies!
[all …]
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe_ctlr.c438 fip->sol_time = jiffies; in fcoe_ctlr_solicit()
826 unsigned long next_timer = jiffies + msecs_to_jiffies(FIP_VN_KA_PERIOD); in fcoe_ctlr_age_fcfs()
839 if (time_after(jiffies, deadline)) { in fcoe_ctlr_age_fcfs()
851 if (time_after_eq(jiffies, deadline)) { in fcoe_ctlr_age_fcfs()
1087 fcf->time = jiffies; in fcoe_ctlr_recv_adv()
1105 if (first && time_after(jiffies, fip->sol_time + sol_tov)) in fcoe_ctlr_recv_adv()
1122 fip->sel_time = jiffies + in fcoe_ctlr_recv_adv()
1623 fip->port_ka_time = jiffies + in fcoe_ctlr_select()
1625 fip->ctlr_ka_time = jiffies + best->fka_period; in fcoe_ctlr_select()
1788 if (time_after_eq(jiffies, fip->sel_time)) { in fcoe_ctlr_timer_work()
[all …]
/linux-4.4.14/drivers/net/ethernet/hp/
Dhp100.c1109 dev->trans_start = jiffies; /* prevent tx timeout */ in hp100_open()
1516 if (time_before(jiffies, dev_trans_start(dev) + HZ)) in hp100_start_xmit_bm()
1667 if (time_before(jiffies, dev_trans_start(dev) + HZ)) { in hp100_start_xmit()
2509 time = jiffies + (HZ / 4); in hp100_down_vg_link()
2515 } while (time_after(time, jiffies)); in hp100_down_vg_link()
2517 if (time_after_eq(jiffies, time)) /* no signal->no logout */ in hp100_down_vg_link()
2526 time = jiffies + (HZ / 2); in hp100_down_vg_link()
2532 } while (time_after(time, jiffies)); in hp100_down_vg_link()
2535 if (time_after_eq(jiffies, time)) in hp100_down_vg_link()
2565 time = jiffies + (HZ * 5); in hp100_down_vg_link()
[all …]
/linux-4.4.14/drivers/net/cris/
Deth_v10.c386 speed_timer.expires = jiffies + NET_LINK_UP_CHECK_INTERVAL; in etrax_ethernet_init()
395 duplex_timer.expires = jiffies + NET_DUPLEX_CHECK_INTERVAL; in etrax_ethernet_init()
412 led_next_time = jiffies; in etrax_ethernet_init()
714 speed_timer.expires = jiffies + NET_LINK_UP_CHECK_INTERVAL; in e100_check_speed()
820 duplex_timer.expires = jiffies + NET_DUPLEX_CHECK_INTERVAL; in e100_check_duplex()
1109 dev->trans_start = jiffies; /* NETIF_F_LLTX driver :( */ in e100_send_packet()
1237 if (!led_active && time_after(jiffies, led_next_time)) { in e100_rx()
1242 led_next_time = jiffies + NET_FLASH_TIME; in e100_rx()
1244 mod_timer(&clear_led_timer, jiffies + HZ/10); in e100_rx()
1642 if (!led_active && time_after(jiffies, led_next_time)) { in e100_hardware_send_packet()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-crypto.c209 for (start = jiffies, end = start + sec * HZ, bcount = 0; in cfs_crypto_performance_test()
210 time_before(jiffies, end); bcount++) { in cfs_crypto_performance_test()
217 end = jiffies; in cfs_crypto_performance_test()

12345678910>>...13